__________________________________________________________________ Squid Proxy Cache Security Update Advisory SQUID-2019:6 __________________________________________________________________ Advisory ID: SQUID-2019:6 Date: July 12, 2019 Summary: Multiple Cross-Site Scripting issues in cachemgr.cgi. Affected versions: Squid 2.x all releases Squid 3.x -> 3.5.28 Squid 4.x -> 4.7 Fixed in version: Squid 4.8 __________________________________________________________________ http://www.squid-cache.org/Advisories/SQUID-2019_6.txt http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-13345 __________________________________________________________________ Problem Description: Due to incorrect input handling Squid cachemgr.cgi tool is vulnerable to multiple cross-site scripting attacks. __________________________________________________________________ Severity: This allows a malicious server to embed URLs in its content such that user credentials and other information can be extracted from a client or administrator with access to the Squid cachemgr.cgi tool URL. __________________________________________________________________ Updated Packages: This bug is fixed by Squid version 4.8. In addition, patches addressing this problem for the stable releases can be found in our patch archives: Squid 3.x: Squid 4: If you are using a prepackaged version of Squid then please refer to the package vendor for availability information on updated packages. __________________________________________________________________ Determining if your version is vulnerable: Squid proxy is not vulnerable. The problem is isolated to the manager CGI interface tool. cachemgr.cgi tool displays its version number in the HTML page footer: All 2.x versions up to and including 2.7.STABLE9 are vulnerable. All 3.x versions up to and including 3.5.28 are vulnerable. All 4.x versions up to and including 4.7 are vulnerable. If your cachemgr.cgi does not display a version it is likely to be one of the older vulnerable versions. __________________________________________________________________ Workarounds: Either; Remove use of the cachemgr.cgi tool. It is only necessary for older proxy management. Modern Squid proxies management reports can be accessed directly. Or, Add CORS protection to the web server running the CGI tool such that remote requests to the cachemgr.cgi tool cannot use query-string parameters. __________________________________________________________________ Contact details for the Squid project: For installation / upgrade support on binary packaged versions of Squid: Your first point of contact should be your binary package vendor. If your install and build Squid from the original Squid sources then the squid-users@lists.squid-cache.org mailing list is your primary support point. For subscription details see . For reporting of non-security bugs in the latest STABLE release the squid bugzilla database should be used . For reporting of security sensitive bugs send an email to the squid-bugs@lists.squid-cache.org mailing list. It's a closed list (though anyone can post) and security related bug reports are treated in confidence until the impact has been established. __________________________________________________________________ Credits: This vulnerability was discovered by Anil Pazvant. Fixed by Amos Jeffries of Treehouse Networks Ltd. __________________________________________________________________ Revision history: 2019-05-27 13:38:06 UTC Initial Report 2019-06-05 15:52:17 UTC CVE Assignment 2019-07-04 01:17:48 UTC Patches Released 2019-07-12 13:00:00 UTC Advisory Released __________________________________________________________________ END