Nagios Core 3.4.3 history.cgi process_cgivars host_name/scv_description memory corruption

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.
6.5$0-$5k0.00

Summaryinfo

A vulnerability marked as problematic has been reported in Nagios Core 3.4.3. This vulnerability affects the function process_cgivars of the file history.cgi. The manipulation of the argument host_name/scv_description leads to memory corruption. This vulnerability is traded as CVE-2012-6096. Furthermore, there is an exploit available. It is suggested to upgrade the affected component.

Detailsinfo

A vulnerability was found in Nagios Core 3.4.3 (Log Management Software). It has been rated as critical. This issue affects the function process_cgivars of the file history.cgi. The manipulation of the argument host_name/scv_description with an unknown input leads to a memory corruption vulnerability. Using CWE to declare the problem leads to CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. Impacted is confidentiality, integrity, and availability. The summary by CVE is:

Multiple stack-based buffer overflows in the get_history function in history.cgi in Nagios Core before 3.4.4, and Icinga 1.6.x before 1.6.2, 1.7.x before 1.7.4, and 1.8.x before 1.8.4, might allow remote attackers to execute arbitrary code via a long (1) host_name variable (host parameter) or (2) svc_description variable.

The weakness was shared 12/09/2012 by temp66 as 1076350 as confirmed mailinglist post (Full-Disclosure). The advisory is shared at seclists.org. The public release happened without involvement of Nagios. The identification of this vulnerability is CVE-2012-6096 since 12/06/2012. The exploitation is known to be difficult. An attack has to be approached locally. A simple authentication is needed for exploitation. Technical details as well as a public exploit are known.

A public exploit has been developed by blasty and been published immediately after the advisory. The exploit is available at pastebin.com. It is declared as highly functional. The vulnerability scanner Nessus provides a plugin with the ID 75020 (openSUSE Security Update : icinga (openSUSE-SU-2013:0169-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 175245 (Debian Security Update for Nagios3 (DSA-2616)).

Upgrading to version 3.4.4 eliminates this vulnerability. A possible mitigation has been published 2 months after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (80618), Exploit-DB (24084), Tenable (75020), SecurityFocus (BID 56879†) and OSVDB (88322†). The entry VDB-7023 is related to this item. 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

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.0
VulDB Meta Temp Score: 6.5

VulDB Base Score: 7.0
VulDB Temp Score: 6.5
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: Yes

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

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 75020
Nessus Name: openSUSE Security Update : icinga (openSUSE-SU-2013:0169-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 892616
OpenVAS Name: Debian Security Advisory DSA 2616-1 (nagios3 - buffer overflow in CGI scripts
OpenVAS File: 🔍
OpenVAS Family: 🔍

Saint ID: exploit_info/nagios3_history_cgi_cmd_injection
Saint Name: Nagios 3 history.cgi Command Injection

Qualys ID: 🔍
Qualys Name: 🔍

MetaSploit ID: nagios3_history_cgi.rb
MetaSploit Name: Nagios3 history.cgi Host Command Execution
MetaSploit File: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Exploit Delay Time: 🔍

Upgrade: Core 3.4.4
ISS Proventia IPS: 🔍
PaloAlto IPS: 🔍
Fortigate IPS: 🔍

Timelineinfo

12/06/2012 🔍
12/09/2012 +3 days 🔍
12/09/2012 +0 days 🔍
12/09/2012 +0 days 🔍
12/10/2012 +1 days 🔍
12/13/2012 +3 days 🔍
12/19/2012 +6 days 🔍
01/12/2013 +24 days 🔍
01/13/2013 +1 days 🔍
01/14/2013 +1 days 🔍
01/22/2013 +8 days 🔍
01/24/2013 +2 days 🔍
06/13/2014 +505 days 🔍
12/29/2024 +3851 days 🔍

Sourcesinfo

Advisory: 1076350
Researcher: temp66
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2012-6096 (🔍)
GCVE (CVE): GCVE-0-2012-6096
GCVE (VulDB): GCVE-100-7109

OVAL: 🔍

X-Force: 80618 - Nagios Core history.cgi buffer overflow, High Risk
SecurityFocus: 56879
Secunia: 51537 - Nagios history.cgi "get_history()" Buffer Overflow Vulnerability, Highly Critical
OSVDB: 88322
Vulnerability Center: 38162 - Nagios Core Before 3.4.4 and Icinga 1.6.x, 1.7.x and 1.8.x Remote Code Execution Vulnerability, High

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

Entryinfo

Created: 12/13/2012 10:15
Updated: 12/29/2024 00:28
Changes: 12/13/2012 10:15 (60), 04/24/2017 09:50 (47), 04/20/2021 08:25 (3), 10/27/2024 13:25 (14), 12/29/2024 00:28 (2)
Complete: 🔍
Committer: olku
Cache ID: 216:FB8:103

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!