OS Command Injection in Nagios-NRPE - CVE-2013-1362

 

OS Command Injection in Nagios-NRPE - CVE-2013-1362

Published: August 14, 2020 / Updated: August 14, 2020


Vulnerability identifier: #VU45691
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2013-1362
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.

Incomplete blacklist vulnerability in nrpc.c in Nagios Remote Plug-In Executor (NRPE) before 2.14 might allow remote attackers to execute arbitrary shell commands via "$()" shell metacharacters, which are processed by bash.


Affected software

Nagios-NRPE
Amazon Linux AMI
Gentoo Linux
Arch Linux
Fedora
SUSE Linux
nrpe (Alpine package)
nrpe
net-analyzer/nrpe

How to mitigate CVE-2013-1362

Install updates from vendor's website.

nrpe (Alpine package) - update to 2.14-r0
nrpe - addressed in versions 2.14-3.el5, 2.14-3.el6
net-analyzer/nrpe - update to 2.15
nrpe - update to 3.2.1-3

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins