Vulnerability & Exploit Database

Back to search

Nagios Remote Plugin Executor Arbitrary Command Execution

The Nagios Remote Plugin Executor (NRPE) is installed to allow a central Nagios server to actively poll information from the hosts it monitors. NRPE has a configuration option dont_blame_nrpe which enables command-line arguments to be provided remote plugins. When this option is enabled, even when NRPE makes an effort to sanitize arguments to prevent command execution, it is possible to execute arbitrary commands.

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name

exploit/linux/misc/nagios_nrpe_arguments

Authors

  • Rudolph Pereir
  • jwpari <jwpari [at] beersec.org>

References

Targets

  • Nagios Remote Plugin Executor prior to 2.14

Platforms

  • unix

Architectures

  • cmd

Reliability

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/linux/misc/nagios_nrpe_arguments msf exploit(nagios_nrpe_arguments) > show targets ...targets... msf exploit(nagios_nrpe_arguments) > set TARGET <target-id> msf exploit(nagios_nrpe_arguments) > show options ...show and set options... msf exploit(nagios_nrpe_arguments) > exploit

Related Vulnerabilities