Nagios Remote Plugin Executor up to 2.13 Shell nrpc.c $() input validation

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
9.4$0-$5k0.00

Summaryinfo

A vulnerability identified as critical has been detected in Nagios Remote Plugin Executor up to 2.13. Affected by this vulnerability is an unknown functionality of the file nrpc.c of the component Shell. Performing a manipulation of the argument $() results in input validation. This vulnerability is identified as CVE-2013-1362. Additionally, an exploit exists. You should upgrade the affected component.

Detailsinfo

A vulnerability classified as very critical has been found in Nagios Remote Plugin Executor up to 2.13 (Log Management Software). This affects some unknown functionality of the file nrpc.c of the component Shell. The manipulation of the argument $() with an unknown input leads to a input validation vulnerability. CWE is classifying the issue as CWE-20. The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:

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.

The weakness was released 02/21/2013 by Rudolph Pereir with OccamSec as File 120507/Nag as confirmed advisory (Packetstorm). The advisory is shared at packetstormsecurity.com. The public release was coordinated with Nagios. This vulnerability is uniquely identified as CVE-2013-1362 since 01/14/2013. The exploitability is told to be easy. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details and a public exploit are known. The price for an exploit might be around USD $0-$5k at the moment (estimation calculated on 12/28/2024).

A public exploit has been developed by metasploit and been published 2 months after the advisory. The exploit is shared for download at exploit-db.com. It is declared as highly functional. The vulnerability scanner Nessus provides a plugin with the ID 67386 (Fedora 19 : nrpe-2.14-3.fc19 (2013-9829)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Fedora Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 350541 (Amazon Linux Security Advisory for nrpe: ALAS-2013-203).

Upgrading to version 2.14 eliminates this vulnerability. A possible mitigation has been published before and not just after the disclosure of the vulnerability. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 12993.

The vulnerability is also documented in the databases at X-Force (82425), Exploit-DB (24955), Tenable (67386), SecurityFocus (BID 58142†) and OSVDB (90582†). If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Productinfo

Type

Vendor

Name

Version

License

CPE 2.3info

CPE 2.2info

Video

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 9.8
VulDB Meta Temp Score: 9.4

VulDB Base Score: 9.8
VulDB Temp Score: 9.4
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Input validation
CWE: CWE-20
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Highly functional
Author: metasploit
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 67386
Nessus Name: Fedora 19 : nrpe-2.14-3.fc19 (2013-9829)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 865756
OpenVAS Name: Fedora Update for nrpe FEDORA-2013-9836
OpenVAS File: 🔍
OpenVAS Family: 🔍

Saint ID: exploit_info/nagios_nrpe_addon_metacharacter_filtering
Saint Name: Nagios Remote Plugin Executor Metacharacter Filtering Omission

Qualys ID: 🔍
Qualys Name: 🔍

MetaSploit ID: nagios_nrpe_arguments.rb
MetaSploit Name: Nagios Remote Plugin Executor Arbitrary Command Execution
MetaSploit File: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍
Exploit Delay Time: 🔍

Upgrade: Remote Plugin Executor 2.14
TippingPoint: 🔍

McAfee IPS: 🔍
McAfee IPS Version: 🔍

ISS Proventia IPS: 🔍
Fortigate IPS: 🔍

Timelineinfo

12/21/2012 🔍
01/14/2013 +24 days 🔍
02/21/2013 +38 days 🔍
02/21/2013 +0 days 🔍
02/21/2013 +0 days 🔍
02/26/2013 +5 days 🔍
04/12/2013 +45 days 🔍
04/12/2013 +0 days 🔍
04/25/2013 +13 days 🔍
07/09/2013 +75 days 🔍
07/12/2013 +3 days 🔍
12/28/2024 +4186 days 🔍

Sourcesinfo

Advisory: File 120507/Nag
Researcher: Rudolph Pereir
Organization: OccamSec
Status: Confirmed
Confirmation: 🔍
Coordinated: 🔍

CVE: CVE-2013-1362 (🔍)
GCVE (CVE): GCVE-0-2013-1362
GCVE (VulDB): GCVE-100-7821

OVAL: 🔍

X-Force: 82425
SecurityFocus: 58142 - NRPE 'nrpc.c' Arbitrary Command Execution Vulnerability
OSVDB: 90582
Vulnerability Center: 39359 - NRPE 2.13 Remote Command Execution Vulnerability, Medium

scip Labs: https://www.scip.ch/en/?labs.20161013

Entryinfo

Created: 02/26/2013 17:27
Updated: 12/28/2024 00:09
Changes: 02/26/2013 17:27 (98), 04/28/2017 09:59 (4), 05/05/2021 14:44 (3), 12/03/2024 06:35 (14), 12/28/2024 00:09 (2)
Complete: 🔍
Committer:
Cache ID: 216:36A:103

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!