Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | nagios-nrpe | 2.13-3 | — |
| Debian 13 | nagios-nrpe | 2.13-3 | — |
| Debian 12 | nagios-nrpe | 2.13-3 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
Nagios Remote Plugin Executor Arbitrary Command Execution
exploit/linux/misc/nagios_nrpe_arguments
Exploit-DB 1
- Nagios Remote Plugin Executor - Arbitrary Command Execution (Metasploit) EDB-24955 · remote · Apr 12, 2013 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.