Squid is prone to multiple cross-site scripting vulnerabilities because it fails to sanitize user-supplied input.
An attacker may leverage these issues to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may allow the attacker to steal cookie-based authentication credentials and launch other attacks.
Squid versions through 4.7 are vulnerable.
Information
Squid Squid 4.0.16
Squid Squid 4.0.8
Squid Squid 4.0.6
Squid Squid 4.0.5
Squid Squid 4.0.4
Squid Squid 4.7
Squid Squid 4.6
Squid Squid 4.5
Squid Squid 4.4
Squid Squid 4.0.9
Squid Squid 4.0.7
Squid Squid 4.0.10
Squid Squid 4.0
Exploit
An attacker can exploit these issues by enticing an unsuspecting user to visit a specially crafted URL.
References:
- Squid Homepage (Squid)
- Bug 4957: Multiple XSS issues in cachemgr.cgi #429 (Github)
- USN-4059-1: Squid vulnerabilities (Ubuntu)
- Bug 4957 - Multiple XSS issues in cachemgr.cgi ()
- CVE-2019-13345 (Red Hat)
- CVE-2019-13345 squid: XSS via user_name or auth parameter in cachemgr.cgi (Red Hat Bugzilla)