CWE
79 20
Advisory Published
Updated

REDHAT-BUG-709871: 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>

Affected SoftwareAffected VersionHow to fix
Nagios Plugins

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 REDHAT-BUG-709871?

    The severity of REDHAT-BUG-709871 is classified as high due to its potential for cross-site scripting (XSS) attacks.

  • How do I fix REDHAT-BUG-709871?

    To fix REDHAT-BUG-709871, ensure proper input validation is implemented in the configuration command expansion feature.

  • Who is affected by REDHAT-BUG-709871?

    REDHAT-BUG-709871 affects installations of Nagios that allow command expansion without input validation.

  • What type of vulnerability is REDHAT-BUG-709871?

    REDHAT-BUG-709871 is a cross-site scripting (XSS) vulnerability that arises from improper handling of user input.

  • Can REDHAT-BUG-709871 be exploited remotely?

    Yes, REDHAT-BUG-709871 can be exploited remotely, allowing attackers to execute scripts in the context of the victim's browser.

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