CVE-2023-50269
SQUID-2023:10 Denial of Service in HTTP Request parsing
In short
Squid proxy has a bug where specially crafted HTTP requests with large X-Forwarded-For headers can crash the server, making it unavailable. This happens when a specific feature (follow_x_forwarded_for) is enabled.
Technical detail
An uncontrolled recursion vulnerability (CWE-674) in Squid's HTTP request parsing allows remote attackers to trigger a Denial of Service by sending oversized X-Forwarded-For headers when follow_x_forwarded_for is configured. The attack vector is network-based and requires no authentication; exploitation causes the proxy to exhaust resources and become unavailable.
Summary generated and translated by AI from the official description.
Squid is a caching proxy for the Web. Due to an Uncontrolled Recursion bug in versions 2.6 through 2.7.STABLE9, versions 3.1 through 5.9, and versions 6.0.1 through 6.5, Squid may be vulnerable to a Denial of Service attack against HTTP Request parsing. This problem allows a remote client to perform Denial of Service attack by sending a large X-Forwarded-For header when the follow_x_forwarded_for feature is configured. This bug is fixed by Squid version 6.6. In addition, patches addressing this problem for the stable releases can be found in Squid's patch archives.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H
Affected products
squid-cache · squidWant to know if your infrastructure is exposed to this?
Talk to TrueHacking →References
https://github.com/squid-cache/squid/security/advisories/GHSA-wgq4-4cfg-c4x3https://lists.debian.org/debian-lts-announce/2024/01/msg00003.htmlhttps://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/A5QASTMCUSUEW3UOMKHZJB3FTONWSRXS/https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MEV66D3PAAY6K7TWDT3WZBLCPLASFJDC/https://security.netapp.com/advisory/ntap-20240119-0005/http://www.squid-cache.org/Versions/v5/SQUID-2023_10.patchhttp://www.squid-cache.org/Versions/v6/SQUID-2023_10.patch