RULE(RULE ID:322860)

Rule General Information
Release Date: 2019-08-13
Rule Name: Squid Proxy HttpHeader getAuth Heap Buffer Overflow Vulnerability -2 (CVE-2019-12527)
Severity:
CVE ID:
Rule Protection Details
Description: An issue was discovered in Squid 4.0.23 through 4.7. When checking Basic Authentication with HttpHeader::getAuth, Squid uses a global buffer to store the decoded data. Squid does not check that the decoded length isn't greater than the buffer, leading to a heap-based buffer overflow with user controlled data.
Impact: A buffer overflow vulnerability can be triggered by an attacker in the context of the vulnerable product. Further attacks includes arbitrary code execution and denial of service.
Affected OS: Windows, Others
Reference: SecurityFocusBID:109143
http://www.squid-cache.org/Versions/v4/changesets/
http://www.squid-cache.org/Versions/v4/changesets/squid-4-7f73e9c5d17664b882ed32590e6af310c247f320.patch
https://github.com/squid-cache/squid/commits/v4
Solutions
The vendors have released upgrade patches to fix vulnerabilities, please visit:
https://github.com/squid-cache/squid/commits/v4