Squid Proxy up to 3.3.01 tools/cachemgr.cc cachemgr.cgi 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.
6.7$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as problematic, has been found in Squid Proxy up to 3.3.01. Affected by this vulnerability is an unknown functionality of the file cachemgr.cgi of the component tools/cachemgr.cc. This manipulation causes input validation. This vulnerability appears as CVE-2012-5643. In addition, an exploit is available. It is advisable to upgrade the affected component.

Detailsinfo

A vulnerability classified as critical was found in Squid Proxy up to 3.3.01 (Firewall Software). Affected by this vulnerability is an unknown functionality of the file cachemgr.cgi of the component tools/cachemgr.cc. The manipulation with an unknown input leads to a input validation vulnerability. The CWE definition for the vulnerability is 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. As an impact it is known to affect availability. The summary by CVE is:

Multiple memory leaks in tools/cachemgr.cc in cachemgr.cgi in Squid 2.x and 3.x before 3.1.22, 3.2.x before 3.2.4, and 3.3.x before 3.3.0.2 allow remote attackers to cause a denial of service (memory consumption) via (1) invalid Content-Length headers, (2) long POST requests, or (3) crafted authentication credentials.

The weakness was presented 12/17/2012 with Coverity Scan as SQUID-2012_1 as confirmed advisory (Website). It is possible to read the advisory at squid-cache.org. This vulnerability is known as CVE-2012-5643 since 10/24/2012. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details and also a private exploit are known.

It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 75011 (openSUSE Security Update : squid3 (openSUSE-SU-2013:0162-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 169027 (SUSE Enterprise Linux Security Update for squid3 (SUSE-SU-2016:1996-1)).

Upgrading to version 3.3.0.2, 3.2.4 or 3.1.22 eliminates this vulnerability. The upgrade is hosted for download at squid-cache.org. A possible mitigation has been published immediately after the disclosure of the vulnerability. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 13303.

The vulnerability is also documented in the databases at X-Force (80685), Tenable (75011), SecurityFocus (BID 56957†), OSVDB (88492†) and Secunia (SA51545†). See VDB-4435, VDB-9526, VDB-67519 and VDB-67520 for similar entries. Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.5
VulDB Meta Temp Score: 6.7

VulDB Base Score: 7.5
VulDB Temp Score: 6.7
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: Private
Status: Proof-of-Concept

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 75011
Nessus Name: openSUSE Security Update : squid3 (openSUSE-SU-2013:0162-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 892631
OpenVAS Name: Debian Security Advisory DSA 2631-1 (squid3 - denial of service
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

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

Upgrade: Proxy 3.3.0.2/3.2.4/3.1.22
TippingPoint: 🔍

McAfee IPS: 🔍
McAfee IPS Version: 🔍

ISS Proventia IPS: 🔍
PaloAlto IPS: 🔍
Fortigate IPS: 🔍

Timelineinfo

10/24/2012 🔍
12/17/2012 +54 days 🔍
12/17/2012 +0 days 🔍
12/17/2012 +0 days 🔍
12/17/2012 +0 days 🔍
12/17/2012 +0 days 🔍
12/17/2012 +0 days 🔍
12/17/2012 +0 days 🔍
12/19/2012 +2 days 🔍
12/20/2012 +1 days 🔍
01/03/2013 +14 days 🔍
06/13/2014 +526 days 🔍
04/20/2021 +2503 days 🔍

Sourcesinfo

Vendor: squid-cache.org

Advisory: SQUID-2012_1
Researcher: http://Coverity Scan Project
Organization: Coverity Scan
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2012-5643 (🔍)
GCVE (CVE): GCVE-0-2012-5643
GCVE (VulDB): GCVE-100-7183

OVAL: 🔍

X-Force: 80685
SecurityFocus: 56957 - Squid 'cachemgr.cgi' Remote Denial of Service Vulnerability
Secunia: 51545 - Squid cachemgr.cgi Memory Leak Denial of Service Vulnerability, Less Critical
OSVDB: 88492
SecurityTracker: 1027890 - Squid Input Validation Bug in 'cachemgr.cgi' Lets Remote Users Deny Service
Vulnerability Center: 37899 - Squid 2.x and 3.x cachemgr.cgi Multiple Memory Leaks Allow Remote DoS Vulnerability, High

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

Entryinfo

Created: 12/19/2012 10:48
Updated: 04/20/2021 12:06
Changes: 12/19/2012 10:48 (91), 04/23/2017 13:58 (10), 04/20/2021 12:06 (3)
Complete: 🔍
Committer:
Cache ID: 216:12E:103

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!