Cross-site scripting in Squid - CVE-2018-19131

 

Cross-site scripting in Squid - CVE-2018-19131

Published: November 14, 2018


Vulnerability identifier: #VU15896
CSH Severity: Low
CVSS v4: 2.1 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: CVE-2018-19131
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to insufficient sanitization of user-supplied data when processing a specially crafted X.509 certificate during HTTP(S) error page generation for certificate errors. A remote attacker can trick the victim to follow a specially specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.


Affected software

Squid
Opensuse
Fedora
squid

How to mitigate CVE-2018-19131

Install update from vendor's website.

Squid - update to 4.4
squid - addressed in versions 4.4-1.fc28, 4.4-1.fc29

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins