CVE-2020-15811: Input Validation
An issue was discovered in Squid before 4.13 and 5.x before 5.0.4. Due to incorrect data validation, HTTP Request Splitting attacks may succeed against HTTP and HTTPS traffic. This leads to cache poisoning. This allows any client, including browser scripts, to bypass local security and poison the browser cache and any downstream caches with content from an arbitrary source. Squid uses a string search instead of parsing the Transfer-Encoding header to find chunked encoding. This allows an attacker to hide a second request inside Transfer-Encoding: it is interpreted by Squid as chunked and split out into a second request delivered upstream. Squid will then deliver two distinct responses to the client, corrupting any downstream caches.
Other sources
Due to incorrect data validation Squid is vulnerable to HTTP Request Splitting attacks against HTTP and HTTPS traffic. This leads to cache poisoning.
Upstream Advisory:
https://github.com/squid-cache/squid/security/advisories/GHSA-c7p8-xqhm-49wv
Affected Versions: 2.7-3.5.28, 4.0-4.12, 5.0.1-5.0.3 Fixed Versions: 4.13, 5.0.4
— Red Hat
Squid-Cache Squid is vulnerable to HTTP request splitting attacks, caused by improper input validation in HTTP message processing. A remote attacker could exploit this vulnerability to inject arbitrary HTTP request and cause the browser to send 2 HTTP requests, once the URL is clicked. This would allow the attacker to perform further attacks, such as Web cache poisoning or cross-site scripting.
— IBM
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/squidto a version that resolves this vulnerability.Fixed in 4.13-1Fixed in 4.6-1+deb10u4 - Upgrade
Upgrade
debian/squidto a version that resolves this vulnerability.Fixed in 4.13-10+deb11u3Fixed in 4.13-10+deb11u6Fixed in 5.7-2+deb12u5Fixed in 5.7-2+deb12u4Fixed in 6.13-2+deb13u1Fixed in 7.5-1 - Upgrade
Upgrade
redhat/squidto a version that resolves this vulnerability.Fixed in 4.13 - Upgrade
Upgrade
redhat/squidto a version that resolves this vulnerability.Fixed in 5.0.4 - Upgrade
Upgrade
alpine/squidto a version that resolves this vulnerability.Fixed in 4.13-r0 - Upgrade
Upgrade
alpine/squidto a version that resolves this vulnerability.Fixed in 4.13.0-r0 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.13 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 5.0.4
Event History
Frequently Asked Questions
What is the vulnerability ID of this issue?
The vulnerability ID of this issue is CVE-2020-15811.
What is the severity of CVE-2020-15811?
The severity of CVE-2020-15811 is medium.
What is the affected software?
The affected software is Squid-Cache Squid versions before 4.13 and 5.x before 5.0.4.
What is the impact of this vulnerability?
This vulnerability allows HTTP Request Splitting attacks to succeed against HTTP and HTTPS traffic, leading to cache poisoning.
How can I fix CVE-2020-15811?
To fix CVE-2020-15811, upgrade to Squid version 4.13 or 5.0.4 or later.