module

Nagios Remote Plugin Executor Arbitrary Command Execution

Disclosed
2013-02-21
Created
2018-05-30

Description

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.

Authors

Rudolph Pereir
jwpari jwpari@beersec.org

Platform

Unix

Architectures

cmd

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

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.