CVE-2015-5400

NameCVE-2015-5400
DescriptionSquid before 3.5.6 does not properly handle CONNECT method peer responses when configured with cache_peer, which allows remote attackers to bypass intended restrictions and gain access to a backend proxy via a CONNECT request.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-286-1, DSA-3327-1
NVD severitymedium (attack range: remote)
Debian Bugs793128

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
squid (PTS)wheezy2.7.STABLE9-4.1+deb7u1vulnerable
wheezy (security)2.7.STABLE9-4.1+deb7u2vulnerable
squid3 (PTS)wheezy3.1.20-2.2+deb7u4fixed
wheezy (security)3.1.20-2.2+deb7u7fixed
jessie (security), jessie3.4.8-6+deb8u4fixed
buster, sid, stretch3.5.23-5fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
squidsource(unstable)(unfixed)medium
squid3source(unstable)3.5.6-1medium793128
squid3sourcejessie3.4.8-6+deb8u1mediumDSA-3327-1
squid3sourcesqueeze3.1.6-1.2+squeeze5mediumDLA-286-1
squid3sourcewheezy3.1.20-2.2+deb7u3mediumDSA-3327-1

Notes

[wheezy] - squid <no-dsa> (Fix is hard to backport and default configuration is not affected)
[squeeze] - squid <no-dsa> (Fix is hard to backport and default configuration is not affected)
http://www.squid-cache.org/Versions/v3/3.5/changesets/squid-3.5-13856.patch (3.5)
http://www.squid-cache.org/Versions/v3/3.4/changesets/squid-3.4-13225.patch (3.4)
http://www.squid-cache.org/Advisories/SQUID-2015_2.txt
http://www.openwall.com/lists/oss-security/2015/07/06/8
In squeeze's squid3 the code is structured differently but the bug still appears to be present.
For squid 2.x all versions are affected, cf. comment by upstream in
https://bugs.debian.org/793128#12

Search for package or bug name: Reporting problems