CVE-2019-12520
7.5 · HIGHOverview
CVE-2019-12520 is a high-severity vulnerability affecting squid-cache squid. It was published on April 15, 2020 and has a CVSS 3.1 base score of 7.5 (HIGH).
This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.
Technical 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.
Remediation
Check the references section for vendor advisories and patches from squid-cache. Update squid to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.
Affected Products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| squid-cache | squid | 0 | Affected |
References
Frequently Asked Questions
What is CVE-2019-12520?
CVE-2019-12520 is a high-severity vulnerability affecting squid-cache squid. It was published on April 15, 2020 and has a CVSS 3.1 base score of 7.5 (HIGH).
How severe is CVE-2019-12520?
This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.
How do I fix or remediate CVE-2019-12520?
Check the references section for vendor advisories and patches from squid-cache. Update squid to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.
How can CyberStrike help with CVE-2019-12520?
CyberStrike's AI-powered security agents can automatically detect CVE-2019-12520 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.
How CyberStrike Helps
AI agents map your attack surface to find vulnerabilities like this one.
Automated penetration testing that runs continuously, not just quarterly.
AI-driven PR review catches vulnerable dependencies before they ship.
Browser-based exploitation validates findings with real proof-of-concept.
Related HIGH CVEs from 2019
View all →An exploitable SQL injection vulnerability exist in YouPHPTube 7.7. When the "VideoTags" plugin is e
A file-upload vulnerability exists in Rukovoditel 2.3.1. index.php?module=configuration/save allows
A use-after-free issue was found in the way the Linux kernel's KVM hypervisor processed posted inter
An error-based SQL injection vulnerability in product/card.php in Dolibarr version 8.0.2 allows remo
SQL injection vulnerability in user/card.php in Dolibarr version 8.0.2 allows remote authenticated u
SAP Enterprise Financial Services (fixed in SAPSCORE 1.13, 1.14, 1.15; S4CORE 1.01, 1.02, 1.03; EA-F
Under some circumstances, masterdata maintenance in SAP BW/4HANA (fixed in DW4CORE version 1.0 (SP08
A remote code execution vulnerability exists in the way that the MSHTML engine inproperly validates
An elevation of privilege exists in Windows COM Desktop Broker, aka "Windows COM Elevation of Privil
An elevation of privilege vulnerability exists in Microsoft Edge Browser Broker COM object, aka "Mic
A remote code execution vulnerability exists in Microsoft Word software when it fails to properly ha
D-Link DIR-822 C1 before v3.11B01Beta, DIR-822-US C1 before v3.11B01Beta, DIR-850L A* before v1.21B0