Missing Authentication for Critical Function in Squid - CVE-2019-12524

 

Missing Authentication for Critical Function in Squid - CVE-2019-12524

Published: May 11, 2020 / Updated: August 6, 2025


Vulnerability identifier: #VU27669
CSH Severity: Low
CVSS v4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-12524
CWE-ID: CWE-306
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to bypass certain security restrictions.

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.


Affected software

Squid
squid (Debian package)
libecap
libecap-devel
squid (Ubuntu package)
squid
Red Hat Enterprise Linux for x86_64
Anolis OS
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Ubuntu

How to mitigate CVE-2019-12524

Install updates from vendor's website.

Squid - update to 4.8
squid (Debian package) - update to 4.6-1+deb10u2
libecap - update to 1.0.1-2
libecap-devel - update to 1.0.1-2
squid (Ubuntu package) - addressed in versions 3.5.12-1ubuntu7.12, 3.5.12-1ubuntu7.13, 3.5.27-1ubuntu1.7, 3.5.27-1ubuntu1.8
squid - update to 4.11-4

External References

Related Security Bulletins