Missing Authentication for Critical Function in Squid - CVE-2019-12524
Published: May 11, 2020 / Updated: August 6, 2025
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 (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
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