Nagios XI Network Monitor – OS Command Injection
Name: Nagios XI Network Monitor – OS Command Injection
Release Date: 30 November 2012
Discoverer: Daniel Compton <firstname.lastname@example.org>
Vendor Reference: 0000283
Systems Affected: Nagios XI Network Monitor 2011R1.9
Discovered: 30 January 2012
Released: 31 January 2012
Approved: 31 January 2012
Reported: 31 January 2012
Fixed: 23 May 2012
Published: 30 November 2012
Nagios XI Network Monitor 2011R1.9 – OS Command Injection/Execution within the administrator/monitoring interface. This is a commertical product for monitoring severs and network monitoring equipment.
Nagios XI Network Monitor 2011R1.9 suffers from OS command injection in several pages and parameters. This is exploitable as an authenticated user.
Nagios provide enterprise level network and server monitor software.
OS command injection has been found and exploited/confirmed within the software as an authenticated user. This is the latest version of Nagios XI.
IV. PROOF OF CONCEPT
The following URL and parameters have been confirmed to all suffer from OS command injection.
/nagiosxi/includes/components/graphexplorer/visApi.php (GET parameters:
host, service, opt, end, start)
http://192.168.1.121/nagiosxi/includes/components/graphexplorer/visApi.php?type=stack host=localhost`cat%20/etc/passwd%20>%20/tmp/passwd.txt` service=Swap_Usage div=visContainer1566841654 opt=days
Result: creates a new file with /etc/passwd contents.
Resolved in SVN 1.3 of Graph Explorer
- Fixed shell vulnerabilities (reported by Daniel Compton from NGS Secure)