U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2019-12520 Detail

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.


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://www.squid-cache.org/Versions/v4/ Release Notes  Vendor Advisory 
http://www.squid-cache.org/Versions/v4/ Release Notes  Vendor Advisory 
http://www.squid-cache.org/Versions/v4/changesets/ Release Notes  Vendor Advisory 
http://www.squid-cache.org/Versions/v4/changesets/ Release Notes  Vendor Advisory 
https://github.com/squid-cache/squid/commits/v4 Patch  Third Party Advisory 
https://github.com/squid-cache/squid/commits/v4 Patch  Third Party Advisory 
https://gitlab.com/jeriko.one/security/-/blob/master/squid/CVEs/CVE-2019-12520.txt Third Party Advisory 
https://gitlab.com/jeriko.one/security/-/blob/master/squid/CVEs/CVE-2019-12520.txt Third Party Advisory 
https://lists.debian.org/debian-lts-announce/2020/07/msg00009.html Mailing List  Third Party Advisory 
https://lists.debian.org/debian-lts-announce/2020/07/msg00009.html Mailing List  Third Party Advisory 
https://security.netapp.com/advisory/ntap-20210205-0006/ Third Party Advisory 
https://security.netapp.com/advisory/ntap-20210205-0006/ Third Party Advisory 
https://usn.ubuntu.com/4446-1/ Third Party Advisory 
https://usn.ubuntu.com/4446-1/ Third Party Advisory 
https://www.debian.org/security/2020/dsa-4682 Third Party Advisory 
https://www.debian.org/security/2020/dsa-4682 Third Party Advisory 

Weakness Enumeration

CWE-ID CWE Name Source
CWE-20 Improper Input Validation cwe source acceptance level NIST  

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

8 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2019-12520
NVD Published Date:
04/15/2020
NVD Last Modified:
11/20/2024
Source:
MITRE