10675 : Squid Web Proxy Cache asn_parse_header() Function DoS
Printer | http://osvdb.org/10675 | Email This | Edit Vulnerability

Views This Week

1

Views All Time

12

Info

Last Modified

3 months ago

Percent Complete

100%

Disclosure

Oct 05, 2004

Discovery

Sep 15, 2004

Dates

Exploit

Unknown

Solution

Unknown

Description

Squid Web Proxy Cache contains a flaw that may allow a remote denial of service. The issue is triggered due to an ASN1 parsing error where certain header length combinations can bypass the validations performed by the ASN1 parser, eventually resulting in loss of availability for the service.

Classification

Location: Remote/Network Access Required
Attack Type: Denial of Service
Impact: Loss of Availability
Exploit: Exploit Unknown
Disclosure: OSVDB Verified

Technical

The offending code is in the asn_parse_header() routine of snmplib/asn1.c, which under some cases will allow negative length fields to pass validation. This leads to a failed xmalloc(), and the server then assumes there is heap corruption or some other exceptional condition, and restarts.

Successful exploitation requires that SNMP support is enabled. Only a single UDP packet is required to trigger this vulnerability, so the source address can be spoofed.

Solution

Upgrade to version Squid-2.5.STABLE7 or higher, as it has been reported to fix this vulnerability. It is also possible to correct the flaw by implementing the following workaround: disable SNMP support or filter the port that has SNMP processing activated (3401 by default) to allow only SNMP data from trusted hosts.

Products

Team Squid
Watch-list
Squid Web Proxy Cache
Watch-list
2.5-STABLE5

References

Tools & Filters

Nessus

15463 15471 15497 15533 15547 15674 20602

Credit

  • Anonymous - idlabs-advisoriesBrand New Doo Dooidefense.com - iDEFENSE

Blogs

None found at this time

Comments

No Comments.

DONATE NOW!

User Status

Quick Searches

Advertisements

The database information may change without any notice. Use of the information constitutes acceptance for use in an AS IS condition, and there are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the copyright holder or distributor (OSVDB or OSF) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

© Copyright 2008 Open Source Vulnerability Database (OSVDB), All Rights Reserved.
Privacy Statement - Terms of Use