CVE & CISA-KEV Catalog

CVE-2019-12520

HIGHEPSS 89th pctl
7.5
CVSS v3
NVD

Description

An issue was discovered in Squid through 4.7 and 5. When receiving a request, Squid checks its cache to see if it can serve up a response. It does this by making a MD5 hash of the absolute URL of the request. If found, it servers the request. The absolute URL can include the decoded UserInfo (username and password) for certain protocols. This decoded info is prepended to the domain. This allows an attacker to provide a username that has special characters to delimit the domain, and treat the rest of the URL as a path or query string. An attacker could first make a request to their domain using an encoded username, then when a request for the target domain comes in that decodes to the exact URL, it will serve the attacker's HTML instead of the real HTML. On Squid servers that also act as reverse proxies, this allows an attacker to gain access to features that only reverse proxies can use, such as ESI.

How to fix

Remediation Available
squidDebian
Fixed in:4.8-1CVE-2019-12520
Fixed in:4.8-1CVE-2019-12520
Fixed in:4.8-1CVE-2019-12520
Fixed in:4.8-1CVE-2019-12520
squidUbuntu
Fixed in:3.5.12-1ubuntu7.12USN-4446-1
Fixed in:3.5.27-1ubuntu1.7USN-4446-1
squid3Ubuntu
Fixed in:3.5.12-1ubuntu7.12USN-4446-1
Fixed in:3.5.27-1ubuntu1.7USN-4446-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityNone
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Exploit Intelligence

3.94%probability of exploitation in 30 days
89thpercentile

Elevated risk: more likely to be exploited than 89% of all known CVEs.

References

Related Vulnerabilities

Other CWE-20 (Improper Input Validation) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-3400Critical10.0100%KEV + Ransom-
CVE-2021-45105Medium5.9100%-Fix
CVE-2021-44228Critical10.0100%KEV + RansomFix
CVE-2021-21985Critical9.8100%KEV + RansomFix
CVE-2018-7600Critical9.8100%KEV + RansomFix
CVE-2020-3452High7.5100%KEVFix
Embed a live status badge for CVE-2019-12520
CVE-2019-12520 severity badge

Markdown

[![CVE-2019-12520](https://tridentstack.com/cve/badge/CVE-2019-12520.svg)](https://tridentstack.com/cve/CVE-2019-12520)

HTML

<a href="https://tridentstack.com/cve/CVE-2019-12520"><img src="https://tridentstack.com/cve/badge/CVE-2019-12520.svg" alt="CVE-2019-12520"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.