CVE-2011-2179: XSS

Published Jun 1, 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 -> Command Expansion -> To expand -> <script>alert(String.fromCharCode(88,83,83))</script> View Config -> Command Expansion -> To expand -> <body onload=alert(666)>

or

http://www.example.com/nagios/cgi-bin/config.cgi?type=command&expand=<script>alert(String.fromCharCode(88,83,83))</script> [^] http://www.example.com/nagios/cgi-bin/config.cgi?type=command&expand=<body [^] onload=alert(666)>

[1] http://tracker.nagios.org/view.php?id=224 [2] http://seclists.org/bugtraq/2011/Jun/17

Other sources

Multiple cross-site scripting (XSS) vulnerabilities in config.c in config.cgi in (1) Nagios 3.2.3 and (2) Icinga before 1.4.1 allow remote attackers to inject arbitrary web script or HTML via the expand parameter, as demonstrated by an (a) command action or a (b) hosts action.

MITRE

Affected Software

16 affected components
Icinga Icinga=0.8.1
Icinga Icinga=0.8.4
Icinga Icinga=1.0.2
Icinga Icinga=1.2.1
Icinga Icinga=0.8.3
Icinga Icinga=0.8.0
Icinga Icinga=1.3.0
Icinga Icinga=0.8.2
Icinga Icinga=1.0.3
Icinga Icinga=1.3.1
Icinga Icinga=1.0
Icinga Icinga<=1.4.0
Icinga Icinga=1.0-rc1
Nagios nagios=3.2.3
Icinga Icinga=1.2.0
Icinga Icinga=1.0.1

Event History

Jun 1, 2011
Data Sourced
08:14 PM
DescriptionSeverityAffected Software
Jun 14, 2011
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203