CWE
79 20
Advisory Published
CVE Published
Updated

CVE-2011-2179: XSS

First published: Wed Jun 01 2011(Updated: )

It was reported [1],[2] that an XSS vulnerability exists in Nagios when viewing the configuration and using command expansion, as there is no input validation for "expand" in config.c(gi): View Config -&gt; Command Expansion -&gt; To expand -&gt; &lt;script&gt;alert(String.fromCharCode(88,83,83))&lt;/script&gt; View Config -&gt; Command Expansion -&gt; To expand -&gt; &lt;body onload=alert(666)&gt; or <a href="http://www.example.com/nagios/cgi-bin/config.cgi?type=command&amp;expand">http://www.example.com/nagios/cgi-bin/config.cgi?type=command&amp;expand</a>=&lt;script&gt;alert(String.fromCharCode(88,83,83))&lt;/script&gt; [^] <a href="http://www.example.com/nagios/cgi-bin/config.cgi?type=command&amp;expand">http://www.example.com/nagios/cgi-bin/config.cgi?type=command&amp;expand</a>=&lt;body [^] onload=alert(666)&gt; [1] <a href="http://tracker.nagios.org/view.php?id=224">http://tracker.nagios.org/view.php?id=224</a> [2] <a href="http://seclists.org/bugtraq/2011/Jun/17">http://seclists.org/bugtraq/2011/Jun/17</a>

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
Icinga Icinga Web 2=0.8.1
Icinga Icinga Web 2=0.8.4
Icinga Icinga Web 2=1.0.2
Icinga Icinga Web 2=1.2.1
Icinga Icinga Web 2=0.8.3
Icinga Icinga Web 2=0.8.0
Icinga Icinga Web 2=1.3.0
Icinga Icinga Web 2=0.8.2
Icinga Icinga Web 2=1.0.3
Icinga Icinga Web 2=1.3.1
Icinga Icinga Web 2=1.0
Icinga Icinga Web 2<=1.4.0
Icinga Icinga Web 2=1.0-rc1
Nagios Plugins=3.2.3
Icinga Icinga Web 2=1.2.0
Icinga Icinga Web 2=1.0.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2011-2179?

    CVE-2011-2179 has been classified as a medium severity vulnerability due to its potential for cross-site scripting (XSS) attacks.

  • How do I fix CVE-2011-2179?

    To fix CVE-2011-2179, update the Nagios or Icinga software to versions that contain the necessary input validation for command expansion.

  • What software is affected by CVE-2011-2179?

    CVE-2011-2179 affects Nagios versions 3.2.3 and Icinga versions up to 1.4.0, including specific older versions of Icinga.

  • What type of vulnerability is CVE-2011-2179?

    CVE-2011-2179 is classified as a cross-site scripting (XSS) vulnerability that allows attackers to inject malicious scripts.

  • How can CVE-2011-2179 be exploited?

    CVE-2011-2179 can be exploited when an attacker uses command expansion in the Nagios or Icinga configuration view to execute arbitrary JavaScript.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203