Rapid7 Vulnerability & Exploit Database

Nagios3 statuswml.cgi Ping Command Execution

Back to Search

Nagios3 statuswml.cgi Ping Command Execution

Disclosed
06/22/2009
Created
05/30/2018

Description

This module abuses a metacharacter injection vulnerability in the Nagios3 statuswml.cgi script. This flaw is triggered when shell metacharacters are present in the parameters to the ping and traceroute commands.

Author(s)

  • hdm <x@hdm.io>

Platform

Unix

Architectures

cmd

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/unix/webapp/nagios3_statuswml_ping
msf exploit(nagios3_statuswml_ping) > show targets
    ...targets...
msf exploit(nagios3_statuswml_ping) > set TARGET < target-id >
msf exploit(nagios3_statuswml_ping) > show options
    ...show and set options...
msf exploit(nagios3_statuswml_ping) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;