Squid Web Proxy Cache HTTP header cache poisoning
| squid-http-cache-poisoning (19060) |
Description:
Squid Web Proxy Cache could allow a remote attacker to perform cache poisoning, caused by improper handling of HTTP headers. By sending multiple Content-length headers along with specially-crafted requests, a remote attacker could poison the vulnerable Squid server's cache.
Platforms Affected:
- Canonical, Ubuntu 4.10
- Debian, Debian Linux 3.0
- Gentoo, Linux
- MandrakeSoft, Mandrake Linux 10.0
- MandrakeSoft, Mandrake Linux 10.0 AMD64
- MandrakeSoft, Mandrake Linux 10.1 X86_64
- MandrakeSoft, Mandrake Linux 10.1
- MandrakeSoft, Mandrake Linux 9.2 AMD64
- MandrakeSoft, Mandrake Linux 9.2
- MandrakeSoft, Mandrake Linux Corporate Server 2.1
- MandrakeSoft, Mandrake Linux Corporate Server 2.1 X86_64
- MandrakeSoft, Mandrake Linux Corporate Server 3.0
- MandrakeSoft, Mandrake Linux Corporate Server 3.0 X86_64
- RedHat, Enterprise Linux 2.1 AS
- RedHat, Enterprise Linux 2.1 ES
- RedHat, Enterprise Linux 3 WS
- RedHat, Enterprise Linux 3 Desktop
- RedHat, Enterprise Linux 3 ES
- RedHat, Enterprise Linux 3 AS
- RedHat, Enterprise Linux 4 WS
- RedHat, Enterprise Linux 4 Desktop
- RedHat, Enterprise Linux 4 AS
- RedHat, Enterprise Linux 4 ES
- RedHat, Linux Advanced Workstation 2.1 Itanium
- Squid-Cache, Squid 2.5.6
- Squid-Cache, Squid 2.5.STABLE1
- Squid-Cache, Squid 2.5.STABLE2
- Squid-Cache, Squid 2.5.STABLE3
- Squid-Cache, Squid 2.5.STABLE4
- Squid-Cache, Squid 2.5.STABLE5
- Squid-Cache, Squid 2.5.STABLE6
- Squid-Cache, Squid 2.5.STABLE7
- Squid-Cache, Squid 2.5.STABLE9
- SuSE, Linux Enterprise Server 8
- SuSE, SuSE Linux 8.1
- SuSE, SuSE Linux 8.2
- SuSE, SuSE Linux 9.0
- SuSE, SuSE Linux 9.1
- SuSE, SuSE Linux 9.2
- Turbolinux, Turbolinux 10 Server
- Turbolinux, Turbolinux 7 Server
- Turbolinux, Turbolinux 7 Workstation
- Turbolinux, Turbolinux 8 Server
- Turbolinux, Turbolinux 8 Workstation
- Turbolinux, Turbolinux Appliance Server 1.0 Hosting Ed
- Turbolinux, Turbolinux Appliance Server 1.0 Workgroup Ed
Remedy:
Apply the squid-2.5.STABLE7-header_parsing patch, available from the Squid Web Proxy Cache Web site. See References.
For Gentoo Linux:
Upgrade to the latest version of squid (2.5.7-r5 or later), as listed in GLSA 200502-04. See References.
For Red Hat Linux:
Upgrade to the latest squid package, as listed below. Refer to RHSA-2005:061-19 and RHSA-2005:060-20 for more information. See References.
Red Hat Enterprise Linux AS, ES, WS (v. 3) and Desktop 3: 2.5.STABLE3-6.3E.7 or later
Red Hat Enterprise Linux AS, ES, WS (v. 2.1) and Red Hat Linux Advanced Workstation 2.1: 2.4.STABLE7-1.21as.4 or later
For Debian GNU/Linux 3.0(woody):
Upgrade to the latest version of squid (2.4.6-2woody6 or later), as listed in DSA-667-1. See References.
For Ubuntu Linux:
Refer to USN-77-1 for patch, upgrade, or suggested workaround information. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
Consequences:
Bypass Security
References:
- CIAC Information Bulletin P-138, Updated Squid Package Fixes Security Issues at http://www.ciac.org/ciac/bulletins/p-138.shtml.
- SGI Security Advisory 20050502-01-U, SGI Advanced Linux Environment 3 Security Update #37 at ftp://patches.sgi.com/support/free/security/advisories/20050502-01-U.asc.
- Squid Web Proxy Cache Web site, header_parsing patch at http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE7-header_parsing.patch.
- BID-12412: Squid Proxy Oversize HTTP Headers Unspecified Remote Vulnerability
- BID-12433: Squid Proxy Malformed HTTP Header Parsing Cache Poisoning Vulnerability
- CVE-2005-0175: Squid 2.5 up to 2.5.STABLE7 allows remote attackers to poison the cache via an HTTP response splitting attack.
- DSA-667: squid -- several vulnerabilities
- GLSA-200502-04: Squid: Multiple vulnerabilities
- MDKSA-2005:034: Updated squid packages fix multiple vulnerabilities
- RHSA-2005-060: squid security update
- RHSA-2005-061: squid security update
- SECTRACK ID: 1012992: Squid Error in Parsing HTTP Content-Length Headers May Let Remote Users Poison the Cache
- SUSE-SA:2005:006: squid: remote command execution
- SUSE-SR:2005:003: SUSE Security Summary Report
Reported:
Jan 25, 2005
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. 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 author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
