If Squid is configured to use the NTLM authentication helper, a remote attacker could potentially execute arbitrary code by sending a lengthy password.

Red Hat Security Advisory
Synopsis: Updated squid package fixes security vulnerability
Advisory ID: RHSA-2004:242-01
Issue date: 2004-06-09
Updated on: 2004-06-09
Product: Red Hat Enterprise Linux
Keywords:
Cross references:
Obsoletes: RHSA-2004:133
CVE Names: CAN-2004-0541
- ---------------------------------------------------------------------
1. Topic:
An updated squid package that fixes a security vulnerability in
the NTLM authentication helper is now available.
2. Relevant releases/architectures:
Red Hat Enterprise Linux AS version 3 - i386, ia64, ppc, ppc64, s390, s390x, x86_64
Red Hat Desktop version 3 - i386, x86_64
Red Hat Enterprise Linux ES version 3 - i386, ia64, x86_64
Red Hat Enterprise Linux WS version 3 - i386, ia64, x86_64
3. Problem description:
Squid is a full-featured Web proxy cache.
A buffer overflow was found within the NTLM authentication helper
routine. If Squid is configured to use the NTLM authentication helper,
a remote attacker could potentially execute arbitrary code by sending a
lengthy password. The Common Vulnerabilities and Exposures project
(cve.mitre.org) has assigned the name CAN-2004-0541 to this issue.
Note: The NTLM authentication helper is not enabled by default in Red Hat
Enterprise Linux 3. Red Hat Enterprise Linux 2.1 is not vulnerable to this
issue as it shipped with a version of Squid which did not contain the helper.
Users of Squid should update to this errata package which contains a
backported patch that is not vulnerable to this issue.
4. Solution:
Before applying this update, make sure all previously released errata
relevant to your system have been applied.
To update all RPMs for your particular architecture, run:
rpm -Fvh [filenames]
where [filenames] is a list of the RPMs you wish to upgrade. Only those
RPMs which are currently installed will be updated. Those RPMs which are
not installed but included in the list will not be updated. Note that you
can also use wildcards (*.rpm) if your current directory *only* contains the
desired RPMs.
Please note that this update is also available via Red Hat Network. Many
people find this an easier way to apply updates. To use Red Hat Network,
launch the Red Hat Update Agent with the following command:
up2date
This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.
If up2date fails to connect to Red Hat Network due to SSL
Certificate Errors, you need to install a version of the
up2date client with an updated certificate. The latest version of
up2date is available from the Red Hat FTP site and may also be
downloaded directly from the RHN website:
https://rhn.redhat.com/help/latest-up2date.pxt
5. Bug IDs fixed (http://bugzilla.redhat.com/bugzilla for more info):
125507 - CAN-2004-0541 Squid NTLM authentication helper overflow
6. RPMs required:
Red Hat Enterprise Linux AS version 3:
SRPMS:
ftp://updates.redhat.com/enterprise/3AS/en/os/SRPMS/squid-2.5.STABLE3-6.3E.src.rpm
i386:
Available from Red Hat Network: squid-2.5.STABLE3-6.3E.i386.rpm
ia64:
Available from Red Hat Network: squid-2.5.STABLE3-6.3E.ia64.rpm
ppc:
Available from Red Hat Network: squid-2.5.STABLE3-6.3E.ppc.rpm
ppc64:
Available from Red Hat Network: squid-2.5.STABLE3-6.3E.ppc64.rpm
s390:
Available from Red Hat Network: squid-2.5.STABLE3-6.3E.s390.rpm
s390x:
Available from Red Hat Network: squid-2.5.STABLE3-6.3E.s390x.rpm
x86_64:
Available from Red Hat Network: squid-2.5.STABLE3-6.3E.x86_64.rpm
Red Hat Desktop version 3:
SRPMS:
ftp://updates.redhat.com/enterprise/3desktop/en/os/SRPMS/squid-2.5.STABLE3-6.3E.src.rpm
i386:
Available from Red Hat Network: squid-2.5.STABLE3-6.3E.i386.rpm
x86_64:
Available from Red Hat Network: squid-2.5.STABLE3-6.3E.x86_64.rpm
Red Hat Enterprise Linux ES version 3:
SRPMS:
ftp://updates.redhat.com/enterprise/3ES/en/os/SRPMS/squid-2.5.STABLE3-6.3E.src.rpm
i386:
Available from Red Hat Network: squid-2.5.STABLE3-6.3E.i386.rpm
ia64:
Available from Red Hat Network: squid-2.5.STABLE3-6.3E.ia64.rpm
x86_64:
Available from Red Hat Network: squid-2.5.STABLE3-6.3E.x86_64.rpm
Red Hat Enterprise Linux WS version 3:
SRPMS:
ftp://updates.redhat.com/enterprise/3WS/en/os/SRPMS/squid-2.5.STABLE3-6.3E.src.rpm
i386:
Available from Red Hat Network: squid-2.5.STABLE3-6.3E.i386.rpm
ia64:
Available from Red Hat Network: squid-2.5.STABLE3-6.3E.ia64.rpm
x86_64:
Available from Red Hat Network: squid-2.5.STABLE3-6.3E.x86_64.rpm
7. Verification:
MD5 sum Package Name
- --------------------------------------------------------------------------
90890ecfae7b1ec7eed00f7c8aaef784 squid-2.5.STABLE3-6.3E.i386.rpm
4e92fc8d282ba0facf5351917eabc39a squid-2.5.STABLE3-6.3E.ia64.rpm
66d562d99fde548adb74b20496b7c7dd squid-2.5.STABLE3-6.3E.ppc.rpm
d0dfd950a6b606482c612807b611dedf squid-2.5.STABLE3-6.3E.ppc64.rpm
f95a05ab1ecc6d26283ad358b287f5b6 squid-2.5.STABLE3-6.3E.s390.rpm
adad7b44a928f2faeea523c21affd678 squid-2.5.STABLE3-6.3E.s390x.rpm
e94efd7bc32ae23263d64c84a1bf54d2 squid-2.5.STABLE3-6.3E.src.rpm
31fa3552c7b731b1d4a21d31fa2fcb93 squid-2.5.STABLE3-6.3E.x86_64.rpm
These packages are GPG signed by Red Hat for security. Our key is
available from https://www.redhat.com/security/team/key.html
You can verify each package with the following command:
rpm --checksig -v
If you only wish to verify that each package has not been corrupted or
tampered with, examine only the md5sum with the following command:
md5sum
8. References:
http://www.idefense.com/application/poi/display?id=107http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0541
9. Contact:
The Red Hat security contact is <secalert@redhat.com>. More contact
details at https://www.redhat.com/security/team/contact.html
Copyright 2004 Red Hat, Inc.