Nagios NRPE Command Argument Processing Enabled

This script is Copyright (C) 2014-2016 Tenable Network Security, Inc.


Synopsis :

The monitoring service running on the remote host may be affected by
an arbitrary command execution vulnerability.

Description :

The version of Nagios Remote Plugin Executor (NRPE) running on the
remote host has command argument processing enabled and accepts the
newline character. An unauthenticated, remote attacker can exploit
this issue to execute arbitrary commands within the context of the
vulnerable application by appending those commands via a newline
character in the '-a' option to libexec/check_nrpe.

See also :

http://legalhackers.com/advisories/nagios-nrpe.txt
http://www.nessus.org/u?dd566434

Solution :

Disable command argument processing in the NRPE configuration.

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)
CVSS Temporal Score : 6.8
(CVSS2#E:POC/RL:U/RC:ND)
Public Exploit Available : true

Family: Misc.

Nessus Plugin ID: 73757 ()

Bugtraq ID: 66969

CVE ID: CVE-2014-2913