CVE-2019-12520
Summary
| CVE | CVE-2019-12520 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2020-04-15 20:15:00 UTC |
| Updated | 2021-02-11 14:42:00 UTC |
| 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. |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| [SECURITY] [DLA 2278-1] squid3 security update |
MLIST |
lists.debian.org |
Mailing List, Third Party Advisory |
| January 2021 Squid Vulnerabilities in NetApp Products | NetApp Product Security |
CONFIRM |
security.netapp.com |
Third Party Advisory |
| squid : Optimising Web Delivery |
MISC |
www.squid-cache.org |
Release Notes, Vendor Advisory |
| Squid 4 changes |
MISC |
www.squid-cache.org |
Release Notes, Vendor Advisory |
| USN-4446-1: Squid vulnerabilities | Ubuntu security notices | Ubuntu |
UBUNTU |
usn.ubuntu.com |
Third Party Advisory |
| Debian -- Security Information -- DSA-4682-1 squid |
DEBIAN |
www.debian.org |
Third Party Advisory |
| squid/CVEs/CVE-2019-12520.txt · master · Jeriko One / Security · GitLab |
MISC |
gitlab.com |
Third Party Advisory |
| Commits · squid-cache/squid · GitHub |
MISC |
github.com |
Patch, Third Party Advisory |
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 159658 Oracle Enterprise Linux Security Update for squid:4 (ELSA-2020-4743)
- 160118 Oracle Enterprise Linux Security Update for squid (ELSA-2022-22254)
- 356199 Amazon Linux Security Advisory for squid : ALASSQUID4-2023-009
- 356609 Amazon Linux Security Advisory for squid : ALAS2SQUID4-2023-010
- 377360 Alibaba Cloud Linux Security Update for squid:4 (ALINUX3-SA-2022:0124)
- 671714 EulerOS Security Update for squid (EulerOS-SA-2022-1766)
- 940034 AlmaLinux Security Update for squid:4 (ALSA-2020:4743)
- 960867 Rocky Linux Security Update for squid:4 (RLSA-2020:4743)