CVE-2019-18860 Cross-site scripting in n/a
Squid proxy server mishandles HTML in the hostname parameter of cachemgr.cgi, allowing attackers to inject scripts via web browsers.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2019-18860?
CVE-2019-18860 is a medium-severity cross-site scripting vulnerability in Canonical Ubuntu Linux, published on 20 Mar 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Squid before 4.9, when certain web browsers are used, mishandles HTML in the host (aka hostname) parameter to cachemgr.cgi.
Weakness: CWE-74
Which versions are affected by CVE-2019-18860?
It affects 4 products.
Products include Canonical Ubuntu Linux, Debian Debian Linux, Opensuse Leap, Squid-Cache Squid.
How do I fix CVE-2019-18860?
Upgrade to a fixed version.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2019-18860 being exploited?
There is no known exploitation of CVE-2019-18860 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as DEBIAN-CVE-2019-18860, GHSA-f3c4-4h69-w2fp, UBUNTU-CVE-2019-18860.