CVE-2019-12520
Squid Prototype Code Injection Vulnerability
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.
INFO
Published Date :
April 15, 2020, 8:15 p.m.
Last Modified :
Feb. 11, 2021, 2:42 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
3.9
Affected Products
The following products are affected by CVE-2019-12520
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2019-12520
.
URL | Resource |
---|---|
http://www.squid-cache.org/Versions/v4/ | 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://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://security.netapp.com/advisory/ntap-20210205-0006/ | Third Party Advisory |
https://usn.ubuntu.com/4446-1/ | Third Party Advisory |
https://www.debian.org/security/2020/dsa-4682 | Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2019-12520
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2019-12520
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Modified Analysis by [email protected]
Feb. 11, 2021
Action Type Old Value New Value Changed Reference Type https://lists.debian.org/debian-lts-announce/2020/07/msg00009.html No Types Assigned https://lists.debian.org/debian-lts-announce/2020/07/msg00009.html Mailing List, Third Party Advisory Changed Reference Type https://security.netapp.com/advisory/ntap-20210205-0006/ No Types Assigned https://security.netapp.com/advisory/ntap-20210205-0006/ Third Party Advisory Changed Reference Type https://usn.ubuntu.com/4446-1/ No Types Assigned https://usn.ubuntu.com/4446-1/ Third Party Advisory Changed Reference Type https://www.debian.org/security/2020/dsa-4682 No Types Assigned https://www.debian.org/security/2020/dsa-4682 Third Party Advisory Changed CPE Configuration OR *cpe:2.3:a:squid-cache:squid:*:*:*:*:*:*:*:* versions from (including) 3.0 up to (including) 3.5.28 *cpe:2.3:a:squid-cache:squid:*:*:*:*:*:*:*:* versions from (including) 4.0 up to (including) 4.7 *cpe:2.3:a:squid-cache:squid:*:*:*:*:*:*:*:* versions from (including) 5.0 up to (including) 5.0.1 OR *cpe:2.3:a:squid-cache:squid:*:*:*:*:*:*:*:* versions up to (including) 4.7 Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Feb. 05, 2021
Action Type Old Value New Value Added Reference https://security.netapp.com/advisory/ntap-20210205-0006/ [No Types Assigned] -
CVE Modified by [email protected]
Aug. 05, 2020
Action Type Old Value New Value Added Reference https://usn.ubuntu.com/4446-1/ [No Types Assigned] -
CVE Modified by [email protected]
Jul. 11, 2020
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2020/07/msg00009.html [No Types Assigned] -
CVE Modified by [email protected]
May. 09, 2020
Action Type Old Value New Value Added Reference https://www.debian.org/security/2020/dsa-4682 [No Types Assigned] -
Initial Analysis by [email protected]
Apr. 29, 2020
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:N/A:N) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Changed Reference Type http://www.squid-cache.org/Versions/v4/ No Types Assigned http://www.squid-cache.org/Versions/v4/ Release Notes, Vendor Advisory Changed Reference Type http://www.squid-cache.org/Versions/v4/changesets/ No Types Assigned http://www.squid-cache.org/Versions/v4/changesets/ Release Notes, Vendor Advisory Changed Reference Type https://github.com/squid-cache/squid/commits/v4 No Types Assigned https://github.com/squid-cache/squid/commits/v4 Patch, Third Party Advisory Changed Reference Type https://gitlab.com/jeriko.one/security/-/blob/master/squid/CVEs/CVE-2019-12520.txt No Types Assigned https://gitlab.com/jeriko.one/security/-/blob/master/squid/CVEs/CVE-2019-12520.txt Third Party Advisory Added CWE NIST CWE-20 Added CPE Configuration OR *cpe:2.3:a:squid-cache:squid:*:*:*:*:*:*:*:* versions from (including) 3.0 up to (including) 3.5.28 *cpe:2.3:a:squid-cache:squid:*:*:*:*:*:*:*:* versions from (including) 4.0 up to (including) 4.7 *cpe:2.3:a:squid-cache:squid:*:*:*:*:*:*:*:* versions from (including) 5.0 up to (including) 5.0.1
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2019-12520
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2019-12520
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
1.87 }} 0.53%
score
0.88594
percentile