(Gentoo Issues Fix) Squid SNMP Parsing Error Lets Remote Users Restart the Proxy Server
|
|
SecurityTracker Alert ID: 1011780
|
|
SecurityTracker URL: http://securitytracker.com/id?1011780
|
|
CVE Reference: CAN-2004-0918
(Links to External Site)
|
Date: Oct 19 2004
|
Impact: Denial of service via network
|
Fix Available: Yes
Vendor Confirmed: Yes
|
Version(s): 2.5-STABLE6, 3.0-PRE3-20040702; when compiled with SNMP support
|
Description: iDEFENSE reported a vulnerability in Squid in the SNMP service. A remote user can cause denial of service conditions.
It is reported that a remote user can supply a specially crafted SNMP packet to trigger an ASN1 parsing error and cause Squid to
restart, dropping all current connections.
The flaw resides in the asn_parse_header() function in 'snmplib/asn1.c'.
The system
is affected if compiled with SNMP support.
The vendor was notified on September 15, 2004.
The original advisory is available
at:
http://www.idefense.com/application/poi/display?id=152&type=vulnerabilities
|
Impact: A remote user can cause the proxy services to restart.
|
Solution: Gentoo has released a fix and indicates that all Squid users should upgrade to the latest version:
# emerge sync
# emerge -pv ">=www-proxy/squid-2.5.7"
# emerge ">=www-proxy/squid-2.5.7"
|
Vendor URL: www.squid-cache.org/ (Links to External Site)
|
Cause: Exception handling error, Input validation error
|
Underlying OS: Linux (Gentoo)
|
Reported By: Luke Macken <lewk@gentoo.org>
|
Message History:
This archive entry is a follow-up to the message listed below.
|
Source Message Contents
|
Date: Mon, 18 Oct 2004 15:15:28 -0400
From: Luke Macken <lewk@gentoo.org>
Subject: [gentoo-announce] [ GLSA 200410-15 ] Squid: Remote DoS vulnerability
|
--=-ZFBYKqtiRZDP39fNjRGO
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200410-15
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: Normal
Title: Squid: Remote DoS vulnerability
Date: October 18, 2004
Bugs: #67167
ID: 200410-15
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Synopsis
=3D=3D=3D=3D=3D=3D=3D=3D
Squid contains a vulnerability in the SNMP module which may lead to a
denial of service.
Background
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Squid is a full-featured Web proxy cache designed to run on Unix
systems. It supports proxying and caching of HTTP, FTP, and other URLs,
as well as SSL support, cache hierarchies, transparent caching, access
control lists and many other features.
Affected packages
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 www-proxy/squid < 2.5.7 >=3D 2.5.7
Description
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
A parsing error exists in the SNMP module of Squid where a
specially-crafted UDP packet can potentially cause the server to
restart, closing all current connections. This vulnerability only
exists in versions of Squid compiled with the 'snmp' USE flag.
Impact
=3D=3D=3D=3D=3D=3D
An attacker can repeatedly send these malicious UDP packets to the
Squid server, leading to a denial of service.
Workaround
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Disable SNMP support or filter the port that has SNMP processing
(default is 3401) to allow only SNMP data from trusted hosts.
To disable SNMP support put the entry snmp_port 0 in the squid.conf
configuration file.
To allow only the local interface to process SNMP, add the entry
"snmp_incoming_address 127.0.0.1" in the squid.conf configuration file.
Resolution
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
All Squid users should upgrade to the latest version:
# emerge sync
# emerge -pv ">=3Dwww-proxy/squid-2.5.7"
# emerge ">=3Dwww-proxy/squid-2.5.7"
References
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
[ 1 ] iDEFENSE Advisory
http://www.idefense.com/application/poi/display?id=3D152&type=3Dvul=
nerabilities&flashstatus=3Dtrue
Availability
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
http://security.gentoo.org/glsa/glsa-200410-15.xml
Concerns?
=3D=3D=3D=3D=3D=3D=3D=3D=3D
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.
License
=3D=3D=3D=3D=3D=3D=3D
Copyright 2004 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).
The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.
http://creativecommons.org/licenses/by-sa/1.0
--=-ZFBYKqtiRZDP39fNjRGO
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQBBdBZPRsm3eDkOu7kRAgx3AJ0aUG3tYj9m3KMR3QmVPUjBE+Sx2gCfZPjO
e4asz2Cqw/Ftxwh5ZAxicmY=
=QGPm
-----END PGP SIGNATURE-----
--=-ZFBYKqtiRZDP39fNjRGO--
|
|