Description
An issue was discovered in Squid 3.3.9 through 3.5.28 and 4.x through 4.7. When Squid is configured to use Digest authentication, it parses the header Proxy-Authorization. It searches for certain tokens such as domain, uri, and qop. Squid checks if this token's value starts with a quote and ends with one. If so, it performs a memcpy of its length minus 2. Squid never checks whether the value is just a single quote (which would satisfy its requirements), leading to a memcpy of its length minus 1.
Remediation
References
Related Vulnerabilities
PHP unspecified remote arbitrary file upload vulnerability
WordPress Cryptographic Issues Vulnerability (CVE-2009-3622)
WordPress Plugin SyntaxHighlighter Evolved Cross-Site Scripting (3.1.9)
Apache HTTP Server Numeric Errors Vulnerability (CVE-2006-3747)
WordPress Plugin Royal PrettyPhoto Cross-Site Scripting (1.2)