Squid Proxy 3.4.6 SNMP snmp_core.cc snmpHandleUdp memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.4 | $0-$5k | 0.00 |
Summary
A vulnerability described as critical has been identified in Squid Proxy 3.4.6. This affects the function snmpHandleUdp of the file snmp_core.cc of the component SNMP Handler. Such manipulation leads to memory corruption.
This vulnerability is referenced as CVE-2014-6270. No exploit is available.
Applying a patch is advised to resolve this issue.
Details
A vulnerability, which was classified as critical, has been found in Squid Proxy 3.4.6 (Firewall Software). Affected by this issue is the function snmpHandleUdp of the file snmp_core.cc of the component SNMP Handler. The manipulation 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 weakness was published 09/09/2014 by Sebastian Krahmer as Bug 895773 as confirmed bug report (Bugzilla). The advisory is shared for download at bugzilla.novell.com. This vulnerability is handled as CVE-2014-6270 since 09/09/2014. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for exploitation. There are known technical details, but no exploit is available. The following code is the reason for this vulnerability:
len = recvfrom(sock,
buf,
SNMP_REQUEST_SIZE,
0,
(struct sockaddr *) &from,
&from_len);
if (len > 0) {
buf[len] = '\0';The vulnerability scanner Nessus provides a plugin with the ID 77753 (FreeBSD : squid -- Buffer overflow in SNMP processing (d3324c55-3f11-11e4-ad16-001999f8d30b)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family FreeBSD 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)).
Applying the patch squid-snmp-off-by-one.patch is able to eliminate this problem. The bugfix is ready for download at bugzilla.novell.com. 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 16788.
The vulnerability is also documented in the databases at X-Force (95873), Tenable (77753), SecurityFocus (BID 69686†), SecurityTracker (ID 1030838†) and Vulnerability Center (SBV-46307†). seclists.org is providing further details. Similar entries are available at VDB-4435, VDB-7183, VDB-9526 and VDB-67519. VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Type
Vendor
Name
Version
License
Website
- Vendor: http://www.squid-cache.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 6.4
VulDB Base Score: 7.3
VulDB Temp Score: 6.4
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Unproven
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 77753
Nessus Name: FreeBSD : squid -- Buffer overflow in SNMP processing (d3324c55-3f11-11e4-ad16-001999f8d30b)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍
OpenVAS ID: 867240
OpenVAS Name: Fedora Update for squid FEDORA-2014-10794
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Patch: squid-snmp-off-by-one.patch
TippingPoint: 🔍
Fortigate IPS: 🔍
Timeline
09/09/2014 🔍09/09/2014 🔍
09/09/2014 🔍
09/09/2014 🔍
09/09/2014 🔍
09/11/2014 🔍
09/12/2014 🔍
09/13/2014 🔍
09/19/2014 🔍
10/01/2014 🔍
02/15/2022 🔍
Sources
Vendor: squid-cache.orgAdvisory: Bug 895773
Researcher: Sebastian Krahmer
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2014-6270 (🔍)
GCVE (CVE): GCVE-0-2014-6270
GCVE (VulDB): GCVE-100-67520
X-Force: 95873 - Squid snmpHandleUdp() buffer overflow, High Risk
SecurityFocus: 69686 - Squid 'snmpHandleUdp()' Function Off-By-One Heap Buffer Overflow Vulnerability
SecurityTracker: 1030838 - Squid Off-by-One in snmpHandleUdp() Lets Remote Users Execute Arbitrary Code
Vulnerability Center: 46307 - Squid 2.x and 3.x Remote DoS and Code Execution due to an Error in the snmpHandleUdp Function, High
Misc.: 🔍
See also: 🔍
Entry
Created: 09/11/2014 16:19Updated: 02/15/2022 21:25
Changes: 09/11/2014 16:19 (86), 06/08/2017 08:53 (6), 02/15/2022 21:10 (3), 02/15/2022 21:25 (1)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.