Gentoo Logo

Squid: NTLM authentication helper buffer overflow


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200406-13 / squid
Release Date June 17, 2004
Latest Revision September 02, 2004: 02
Impact high
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
net-proxy/squid <= 2.5.5-r1 >= 2.5.5-r2 All supported architectures

Related bugreports: #53367


Squid contains a bug where it fails to properly check bounds of the 'pass' variable.

2.  Impact Information


Squid contains a bug in the function ntlm_check_auth(). It fails to do proper bounds checking on the values copyied to the 'pass' variable.


Squid is a full-featured Web Proxy Cache designed to run on Unix systems. It supports proxying and caching of HTTP, FTP, and other URLs, as well as SSL support, cache hierarchies, transparent caching, access control lists and many other features.


If Squid is configured to use NTLM authentication, an attacker could exploit this vulnerability by sending a very long password. This could lead to arbitrary code execution with the permissions of the user running Squid.

3.  Resolution Information


There is no known workaround at this time. All users are encouraged to upgrade to the latest available version.


All Squid users should upgrade to the latest stable version:

Code Listing 3.1: Resolution

# emerge sync
# emerge -pv ">=net-proxy/squid-2.5.5-r2"
# emerge ">=net-proxy/squid-2.5.5-r2"

4.  References


Page updated June 17, 2004

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.