header-logo
Suggest Exploit
vendor:
Nagios
by:
Not provided
7.5
CVSS
HIGH
Cross-Site Scripting (XSS)
79
CWE
Product Name: Nagios
Affected Version From: Nagios 3.2.3
Affected Version To: Not provided
Patch Exists: NO
Related CWE: Not provided
CPE: a:nagios:nagios:3.2.3
Metasploit:
Other Scripts:
Platforms Tested: Not provided
Not provided

Cross-Site Scripting Vulnerability in Nagios

Nagios is prone to a cross-site scripting vulnerability because it fails to sufficiently sanitize user-supplied data. An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may allow the attacker to steal cookie-based authentication credentials and to launch other attacks.

Mitigation:

Apply the latest security patches or updates provided by the vendor. Properly sanitize user-supplied input before using it in web applications.
Source

Exploit-DB raw data:

source: https://www.securityfocus.com/bid/48087/info

Nagios is prone to a cross-site scripting vulnerability because it fails to sufficiently sanitize user-supplied data.

An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may allow the attacker to steal cookie-based authentication credentials and to launch other attacks.

Nagios 3.2.3 is vulnerable; other versions may also be affected. 

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)>