__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN Squid - NTLM Authentication Buffer Overflow Vulnerability [Red Hat Advisory: RHSA-2004:242] June 22, 2004 19:00 GMT Number O-168 ______________________________________________________________________________ PROBLEM: Squid is a fully-featured Web Proxy Cache designed to run on UNIX systems and supports NTLM authentication. A buffer overflow vulnerability has been found in the NTLM authentication helper routine, ntlm_check_auth(). PLATFORM: Red Hat Enterprise Linux AS, ES, and WS (v.3) * NOTE: The NTLM authentication helper is not enabled by default in v.3 SGI ProPack 3 for SGI Altix systems DAMAGE: If Squid is configured to use the NTLM authentication helper routine, and if a remote attacker successfully exploits this vulnerability, arbitrary code could be executed. SOLUTION: Apply appropriate vendor patches. ______________________________________________________________________________ VULNERABILITY The risk is MEDIUM. A remote attacker could execute arbitrary ASSESSMENT: code by sending a lengthy password. ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/o-168.shtml ORIGINAL BULLETIN: https://rhn.redhat.com/errata/RHSA-2004-242.html ADDITIONAL LINK: SGI Security Advisory #20040604-01-U ftp://patches.sgi.com/support/free/security/advisories/ 20040604-01-U.asc CVE/CAN: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name= CAN-2004-0541 ______________________________________________________________________________ [***** Start Red Hat Advisory: RHSA-2004:242 *****] Updated squid package fixes security vulnerability Advisory: RHSA-2004:242-06 Last updated on: 2004-06-09 Affected Products: Red Hat Desktop (v. 3) Red Hat Enterprise Linux AS (v. 3) Red Hat Enterprise Linux ES (v. 3) Red Hat Enterprise Linux WS (v. 3) CVEs (cve.mitre.org): CAN-2004-0541 Security Advisory Details: An updated squid package that fixes a security vulnerability in the NTLM authentication helper is now available. 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. Updated packages: Red Hat Desktop (v. 3) ------------------------------------------------------------------------------ AMD64: squid-2.5.STABLE3-6.3E.x86_64.rpm 31fa3552c7b731b1d4a21d31fa2fcb93 SRPMS: squid-2.5.STABLE3-6.3E.src.rpm e94efd7bc32ae23263d64c84a1bf54d2 i386: squid-2.5.STABLE3-6.3E.i386.rpm 90890ecfae7b1ec7eed00f7c8aaef784 Red Hat Enterprise Linux AS (v. 3) ------------------------------------------------------------------------------ AMD64: squid-2.5.STABLE3-6.3E.x86_64.rpm 31fa3552c7b731b1d4a21d31fa2fcb93 SRPMS: squid-2.5.STABLE3-6.3E.src.rpm e94efd7bc32ae23263d64c84a1bf54d2 i386: squid-2.5.STABLE3-6.3E.i386.rpm 90890ecfae7b1ec7eed00f7c8aaef784 ia64: squid-2.5.STABLE3-6.3E.ia64.rpm 4e92fc8d282ba0facf5351917eabc39a ppc: squid-2.5.STABLE3-6.3E.ppc.rpm 66d562d99fde548adb74b20496b7c7dd ppc64: squid-2.5.STABLE3-6.3E.ppc64.rpm d0dfd950a6b606482c612807b611dedf s390: squid-2.5.STABLE3-6.3E.s390.rpm f95a05ab1ecc6d26283ad358b287f5b6 s390x: squid-2.5.STABLE3-6.3E.s390x.rpm adad7b44a928f2faeea523c21affd678 Red Hat Enterprise Linux ES (v. 3) ------------------------------------------------------------------------------ AMD64: squid-2.5.STABLE3-6.3E.x86_64.rpm 31fa3552c7b731b1d4a21d31fa2fcb93 SRPMS: squid-2.5.STABLE3-6.3E.src.rpm e94efd7bc32ae23263d64c84a1bf54d2 i386: squid-2.5.STABLE3-6.3E.i386.rpm 90890ecfae7b1ec7eed00f7c8aaef784 ia64: squid-2.5.STABLE3-6.3E.ia64.rpm 4e92fc8d282ba0facf5351917eabc39a Red Hat Enterprise Linux WS (v. 3) ------------------------------------------------------------------------------ AMD64: squid-2.5.STABLE3-6.3E.x86_64.rpm 31fa3552c7b731b1d4a21d31fa2fcb93 SRPMS: squid-2.5.STABLE3-6.3E.src.rpm e94efd7bc32ae23263d64c84a1bf54d2 i386: squid-2.5.STABLE3-6.3E.i386.rpm 90890ecfae7b1ec7eed00f7c8aaef784 ia64: squid-2.5.STABLE3-6.3E.ia64.rpm 4e92fc8d282ba0facf5351917eabc39a (The unlinked packages above are only available from the Red Hat Network) 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 Bugs fixed: (see bugzilla for more information) 125507 - CAN-2004-0541 Squid NTLM authentication helper overflow References: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0541 http://www.idefense.com/application/poi/display?id=107 ------------------------------------------------------------------------------ The listed packages are GPG signed by Red Hat, Inc. for security. Our key is available at: http://www.redhat.com/solutions/security/news/publickey/#key You can verify each package and see who signed it with the following command: rpm --checksig -v filename 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 filename The Red Hat security contact is security@redhat.com. More contact details at http://www.redhat.com/solutions/security/news/contact.html Copyright © 2002 Red Hat, Inc. All rights reserved. Search by Google [***** End Red Hat Advisory: RHSA-2004:242 *****] _______________________________________________________________________________ CIAC wishes to acknowledge the contributions of Red Hat for the information contained in this bulletin. _______________________________________________________________________________ CIAC, the Computer Incident Advisory Capability, is the computer security incident response team for the U.S. Department of Energy (DOE) and the emergency backup response team for the National Institutes of Health (NIH). CIAC is located at the Lawrence Livermore National Laboratory in Livermore, California. CIAC is also a founding member of FIRST, the Forum of Incident Response and Security Teams, a global organization established to foster cooperation and coordination among computer security teams worldwide. CIAC services are available to DOE, DOE contractors, and the NIH. CIAC can be contacted at: Voice: +1 925-422-8193 (7x24) FAX: +1 925-423-8002 STU-III: +1 925-423-2604 E-mail: ciac@ciac.org Previous CIAC notices, anti-virus software, and other information are available from the CIAC Computer Security Archive. World Wide Web: http://www.ciac.org/ Anonymous FTP: ftp.ciac.org PLEASE NOTE: Many users outside of the DOE, ESnet, and NIH computing communities receive CIAC bulletins. If you are not part of these communities, please contact your agency's response team to report incidents. Your agency's team will coordinate with CIAC. The Forum of Incident Response and Security Teams (FIRST) is a world-wide organization. A list of FIRST member organizations and their constituencies can be obtained via WWW at http://www.first.org/. This document was prepared as an account of work sponsored by an agency of the United States Government. Neither the United States Government nor the University of California nor any of their employees, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any information, apparatus, product, or process disclosed, or represents that its use would not infringe privately owned rights. Reference herein to any specific commercial products, process, or service by trade name, trademark, manufacturer, or otherwise, does not necessarily constitute or imply its endorsement, recommendation or favoring by the United States Government or the University of California. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or the University of California, and shall not be used for advertising or product endorsement purposes. LAST 10 CIAC BULLETINS ISSUED (Previous bulletins available from CIAC) O-158: FTP Client Improperly handles Pipe Character in File Names O-159: NETGEAR WG602 Wireless Access Point Default Backdoor Account Vulnerability O-160: Microsoft Windows 2000 Advanced Server Security Bypass O-161: RealPlayer Security Vulnerabilities O-162: Red Hat Updated Tripwire Packages Fix Security Flaw O-163: Cisco IOS Malformed BGP Packet Causes Reload O-164: Red Hat Updated Kernel Packages Fix Security Vulnerabilities O-165: Red Hat Updated libpng Packages Fix Security Issue O-166: Sun StorEdge Enterprise Storage Manager (ESM) 2.1 Vulnerability O-167: SGI - System Call SGI_IOPROBE Vulnerability