CVE-2020-15049: XSS
An issue was discovered in http/ContentLengthInterpreter.cc in Squid before 4.12 and 5.x before 5.0.3. A Request Smuggling and Poisoning attack can succeed against the HTTP cache. The client sends an HTTP request with a Content-Length header containing "+\ "-" or an uncommon shell whitespace character prefix to the length field-value.
Other sources
Squid-Cache Squid is vulnerable to HTTP request smuggling, caused by improper input validation. By sending specially crafted HTTP(S) request messages, an attacker could exploit this vulnerability to poison the web cache, bypass web application firewall protection, and conduct XSS attacks.
— IBM
This problem allows a trusted client to perform request smuggling and poison the HTTP cache contents with crafted HTTP(S) request messages. This attack requires an upstream server to participate in the smuggling and generate the poison response sequence. Most popular server software are not vulnerable to participation in this attack.
Reference: https://github.com/squid-cache/squid/security/advisories/GHSA-qf3v-rc95-96j5
— Red Hat
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-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.12 - Upgrade
Upgrade
redhat/squidto a version that resolves this vulnerability.Fixed in 5.0.3 - Upgrade
Upgrade
alpine/squidto a version that resolves this vulnerability.Fixed in 4.12.0-r0 - Upgrade
Upgrade
squid-cache/squidto a version that resolves this vulnerability.Fixed in 4.12 - Upgrade
Upgrade
squid-cache/squidto a version that resolves this vulnerability.Fixed in 5.0.3
Event History
Frequently Asked Questions
What is CVE-2020-15049?
CVE-2020-15049 is a vulnerability in Squid-Cache Squid that allows for HTTP request smuggling due to improper input validation.
What is the severity of CVE-2020-15049?
CVE-2020-15049 has a severity rating of critical, with a CVSS score of 9.9.
How does CVE-2020-15049 affect Squid?
CVE-2020-15049 affects Squid versions before 4.12 and 5.x before 5.0.3.
How can I fix CVE-2020-15049 in Squid?
To fix CVE-2020-15049 in Squid, update to version 4.12 or 5.0.3 or later.
Where can I find more information about CVE-2020-15049?
More information about CVE-2020-15049 can be found at the following references: - [http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00012.html](http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00012.html) - [http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00017.html](http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00017.html) - [http://www.squid-cache.org/Versions/v4/changesets/squid-4-ea12a34d338b962707d5078d6d1fc7c6eb119a22.patch](http://www.squid-cache.org/Versions/v4/changesets/squid-4-ea12a34d338b962707d5078d6d1fc7c6eb119a22.patch)