CVE-2019-12520: canonical ubuntu_linux Improper Input Validation
Vulnerability summary
CVE-2019-12520 is a high (CVSS 7.5) Improper Input Validation vulnerability in canonical ubuntu_linux. EPSS estimates a 3.92% chance of exploitation in the next 30 days, higher than 90.2% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 6 · Related 3Timeline
- 15-04-2020PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
3.92%
Chance of exploitation in the next 30 days
Percentile
90%
Versus all other CVEs
30-day change
0.00 pp
From 3.92% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Debian2 products
- squid< 4.8-1
- debian_linuxEOL9.0 | 10.0
Canonical1 product
- ubuntu_linuxEOL16.04 | 18.04
Squid-cache1 product
- squid≤ 4.7
Ubuntu1 product
- squid3< 3.5.27-1ubuntu1.7
4 vendors · 5 products
References
13 links- gitlab.com/jeriko.one/security/-/blob/master/squid/CVEs/CVE-2019-12520.txtX Refsource MISCThird Party AdvisoryREPORT
- lists.debian.org/debian-lts-announce/2020/07/msg00009.htmlMailing ListX Refsource MLISTThird Party Advisory