OS Command Injection in Nagios-NRPE - CVE-2013-1362
Published: August 14, 2020 / Updated: August 14, 2020
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
Amazon Linux AMI
Gentoo Linux
Arch Linux
Fedora
SUSE Linux
nrpe (Alpine package)
nrpe
net-analyzer/nrpe
How to mitigate CVE-2013-1362
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
- http://lists.opensuse.org/opensuse-security-announce/2013-04/msg00005.html
- http://lists.opensuse.org/opensuse-security-announce/2013-04/msg00006.html
- http://seclists.org/bugtraq/2013/Feb/119
- http://www.exploit-db.com/exploits/24955
- http://www.occamsec.com/vulnerabilities.html#nagios_metacharacter_vulnerability
- https://bugzilla.novell.com/show_bug.cgi?id=807241
Related Security Bulletins
- Remote code execution in Nagios Remote Plug-In Executor (NRPE)
- OS Command Injection in nrpe (Alpine package)
- SUSE Linux update for nagios-nrpe, nagios-plugins-nrpe
- Amazon Linux AMI update for nrpe
- Gentoo update for NRPE
- Arch Linux update for nrpe
- Fedora EPEL 6 update for nrpe
- Fedora EPEL 5 update for nrpe