Bug 1827558 (CVE-2019-12520) - CVE-2019-12520 squid: Improper input validation in request allows for proxy manipulation
Summary: CVE-2019-12520 squid: Improper input validation in request allows for proxy m...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2019-12520
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1828374 1828377
Blocks: 1827553
TreeView+ depends on / blocked
 
Reported: 2020-04-24 08:10 UTC by Marian Rehak
Modified: 2021-03-26 18:39 UTC (History)
5 users (show)

Fixed In Version: squid 4.8
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in squid. The absolute URL of a request can include the decoded UserInfo (username and password) for certain protocols. This decoded info may contain 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.
Clone Of:
Environment:
Last Closed: 2020-11-04 02:25:02 UTC


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:4743 0 None None None 2020-11-04 03:32:03 UTC

Description Marian Rehak 2020-04-24 08:10:58 UTC
The absolute URL of a request can include the decoded UserInfo (username and password) for certain protocols. This decoded info may contain 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.

Comment 3 Stefan Cornelius 2020-04-24 11:59:38 UTC
External References:

http://www.squid-cache.org/Advisories/SQUID-2019_4.txt

Comment 6 Product Security DevOps Team 2020-11-04 02:25:02 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2019-12520

Comment 7 errata-xmlrpc 2020-11-04 03:32:01 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2020:4743 https://access.redhat.com/errata/RHSA-2020:4743


Note You need to log in before you can comment on or make changes to this bug.