Auth bypass in Squid-Cache Squid
CVE-2019-12524
An issue was discovered in Squid through 4.7. When handling requests from users, Squid checks its rules to see if the request should be denied. Squid by default comes with rules to block access to the Cache Manager, which serves detailed server information meant for the maintainer. This rule is implemented via url_regex. The handler for url_regex rules URL decodes an incoming request. This allows an attacker to encode their URL to bypass the url_regex check, and gain access to the blocked resource.
Vulnerability class: Broken Authentication
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.039, 90.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Squid-Cache Squid
- Canonical Ubuntu Linux — versions 16.04, 18.04
- Debian Linux — versions 9.0, 10.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- gitlab.com/jeriko.one/security/-/blob/master/squid/CVEs/CVE-2019-12524.txt (Third Party Advisory)
- DSA-4682 (vendor-advisory, Third Party Advisory)
- [debian-lts-announce] 20200710 [SECURITY] [DLA 2278-1] squid3 security update (mailing-list, Mailing List, Third Party Advisory)
- USN-4446-1 (vendor-advisory, Third Party Advisory)
- security.netapp.com/advisory/ntap-20210205-0006/ (Third Party Advisory)