ZeroHour

CVE-2025-62168

mass

Credential Disclosure in Squid Caching Proxy Error Pages (pre-7.2)

CVSS 3.1
7.5 high
EPSS
63%p99
Published
()
Modified
AI analysis

Squid versions prior to 7.2 fail to redact HTTP authentication credentials in error handling, so credentials can be exposed via the debug data included in the administrator mailto links generated on Squid error pages. A remote client can trigger this to bypass browser security protections and learn the credentials a trusted client uses to authenticate. Attackers can also identify security tokens or credentials used internally by a web application that uses Squid for backend load balancing, notably without needing Squid itself to be configured with HTTP authentication. Any Squid deployment running a version before 7.2 is affected, including forward proxies, caching proxies, and load-balancing setups. No public proof-of-concept or confirmed in-the-wild exploitation is known, but the EPSS score of 62.9% (99th percentile) indicates a high probability of exploitation within 30 days.

What to do: Upgrade Squid to version 7.2 or later, which redacts authentication credentials from error output. Where upgrading is not immediately possible, set 'email_err_data off' in squid.conf to remove debug information from the administrator mailto links on error pages. Operators using Squid for backend load balancing should check what credentials or security tokens the web application sends through the proxy, since those are at risk of disclosure.

Affected
squid-cache Squidall versions prior to 7.2 (fixed in 7.2)
Estimated exposure
masshundreds of thousands of internet-exposed Squid instances, and likely millions of total deployments including internal proxies — Squid is one of the most widely deployed open-source caching and forwarding proxies, bundled in ISP, enterprise, and appliance deployments, and public internet-wide scans consistently show well over 100,000 Squid instances exposed online.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

Squid is a caching proxy for the Web. In Squid versions prior to 7.2, a failure to redact HTTP authentication credentials in error handling allows information disclosure. The vulnerability allows a script to bypass browser security protections and learn the credentials a trusted client uses to authenticate. This potentially allows a remote client to identify security tokens or credentials used internally by a web application using Squid for backend load balancing. These attacks do not require Squid to be configured with HTTP authentication. The vulnerability is fixed in version 7.2. As a workaround, disable debug information in administrator mailto links generated by Squid by configuring squid.conf with email_err_data off.

Vendors
squid-cache
Products
squid
Weakness
CWE-209, CWE-550
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

In the news

No ingested article mentions this CVE yet.