__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN Updated Squid Package Fixes Security Issues [Red Hat RHSA-2005:061-19] February 11, 2005 18:00 GMT Number P-138 [REVISED 22 Feb 2005] [REVISED 11 Mar 2005] ______________________________________________________________________________ PROBLEM: A buffer overflow bug was found in the WCCP message parser - (CAN-2005-0211). PLATFORM: Red Hat Desktop (v. 3) & (v. 4) Red Hat Enterprise Linux AS, ES, WS (v. 2.1) & (v. 3) & (v. 4) Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor SGI Advanced Linux Environment 3 for Patch 10144 for SGI ProPack 3 Service Pack 4 DAMAGE: An attacker cound send a malformed WCCP message which could crash the Squid server or execute arbitrary code. SOLUTION: Upgrade to the appropriate version. ______________________________________________________________________________ VULNERABILITY The risk is MEDIUM. Could allow a remote attacker to cause a ASSESSMENT: DoS and possibly execute arbitrary code via a long WCCP packet, which is processed by a recvfrom function call that uses an incorrect length parameter. ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/p-138.shtml ORIGINAL BULLETIN: Red Hat RHSA-2005:061-19 https://rhn.redhat.com/errata/RHSA-2005-061.html ADDITIONAL LINKS: Debian Security Advisory DSA-667-1 http://www.debian.org/security/2005/dsa-667 Red Hat RHSA-2005:060-20 https://rhn.redhat.com/errata/RHSA-2005-060.html SGI Security Advisory 20050207-01-U Security Update #27 http://www.sgi.com/support/security/advisories.html CVE/CAN: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name= CAN-2005-0211 CAN-2005-0094 CAN-2005-0095 CAN-2005-0096 CAN-2005-0097 CAN-2005-0173 CAN-2005-0174 CAN-2005-0175 CAN-2005-0241 ______________________________________________________________________________ REVISION HISTORY: 02/22/2005 - added link to Red Hat RHSA-2005:060 that provides updated packages for Red Hat version 4. 03/11/2005 - added a link to SGI Security Advisory 20050207-01-U SGI Advanced Linux Environment 3 Security Update #27 for Patch 10144 for SGI ProPack 3 Service Pack 4. [***** Start Red Hat RHSA-2005:061-19 *****] Updated Squid package fixes security issues Advisory: RHSA-2005:061-19 Last updated on: 2005-02-11 Affected Products: Red Hat Desktop (v. 3) Red Hat Enterprise Linux AS (v. 2.1) Red Hat Enterprise Linux AS (v. 3) Red Hat Enterprise Linux ES (v. 2.1) Red Hat Enterprise Linux ES (v. 3) Red Hat Enterprise Linux WS (v. 3) Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor CVEs (cve.mitre.org): CAN-2005-0094 CAN-2005-0095 CAN-2005-0096 CAN-2005-0097 CAN-2005-0173 CAN-2005-0174 CAN-2005-0175 CAN-2005-0211 CAN-2005-0241 back Security Advisory Details: An updated Squid package that fixes several security issues is now available. Squid is a full-featured Web proxy cache. A buffer overflow flaw was found in the Gopher relay parser. This bug could allow a remote Gopher server to crash the Squid proxy that reads data from it. Although Gopher servers are now quite rare, a malicious web page (for example) could redirect or contain a frame pointing to an attacker's malicious gopher server. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2005-0094 to this issue. An integer overflow flaw was found in the WCCP message parser. It is possible to crash the Squid server if an attacker is able to send a malformed WCCP message with a spoofed source address matching Squid's "home router". The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2005-0095 to this issue. A memory leak was found in the NTLM fakeauth_auth helper. It is possible that an attacker could place the Squid server under high load, causing the NTML fakeauth_auth helper to consume a large amount of memory, resulting in a denial of service. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2005-0096 to this issue. A NULL pointer de-reference bug was found in the NTLM fakeauth_auth helper. It is possible for an attacker to send a malformed NTLM type 3 message, causing the Squid server to crash. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2005-0097 to this issue. A username validation bug was found in squid_ldap_auth. It is possible for a username to be padded with spaces, which could allow a user to bypass explicit access control rules or confuse accounting. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2005-0173 to this issue. The way Squid handles HTTP responses was found to need strengthening. It is possible that a malicious web server could send a series of HTTP responses in such a way that the Squid cache could be poisoned, presenting users with incorrect webpages. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the names CAN-2005-0174 and CAN-2005-0175 to these issues. A bug was found in the way Squid handled oversized HTTP response headers. It is possible that a malicious web server could send a specially crafted HTTP header which could cause the Squid cache to be poisoned, presenting users with incorrect webpages. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2005-0241 to this issue. A buffer overflow bug was found in the WCCP message parser. It is possible that an attacker could send a malformed WCCP message which could crash the Squid server or execute arbitrary code. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2005-0211 to this issue. Users of Squid should upgrade to this updated package, which contains backported patches, and is not vulnerable to these issues. Updated packages: Red Hat Desktop (v. 3) -------------------------------------------------------------------------------- SRPMS: squid-2.5.STABLE3-6.3E.7.src.rpm d8641aa493868a48143ff7ad71fb515a IA-32: squid-2.5.STABLE3-6.3E.7.i386.rpm 3da9a078535a549a941c35dd4efcb07e x86_64: squid-2.5.STABLE3-6.3E.7.x86_64.rpm cd4a5c1528339547803f7784a494ef61 Red Hat Enterprise Linux AS (v. 2.1) -------------------------------------------------------------------------------- SRPMS: squid-2.4.STABLE7-1.21as.4.src.rpm 95b8c52d164e1178ca73d0f7751fe920 IA-32: squid-2.4.STABLE7-1.21as.4.i386.rpm a950517eec9d75e9f9255c22098cb942 IA-64: squid-2.4.STABLE7-1.21as.4.ia64.rpm 223ad64e00405758e505b1412a83ca65 Red Hat Enterprise Linux AS (v. 3) -------------------------------------------------------------------------------- SRPMS: squid-2.5.STABLE3-6.3E.7.src.rpm d8641aa493868a48143ff7ad71fb515a IA-32: squid-2.5.STABLE3-6.3E.7.i386.rpm 3da9a078535a549a941c35dd4efcb07e IA-64: squid-2.5.STABLE3-6.3E.7.ia64.rpm 44ba7d01ebfde6643bbca67ed612f71e PPC: squid-2.5.STABLE3-6.3E.7.ppc.rpm eeabefd918d66aed11cfc1b28403b141 s390: squid-2.5.STABLE3-6.3E.7.s390.rpm 7a2b9540c7b55ee44984f796e39d806d s390x: squid-2.5.STABLE3-6.3E.7.s390x.rpm 372366d5fbaa404527a43e9de8f46cdd x86_64: squid-2.5.STABLE3-6.3E.7.x86_64.rpm cd4a5c1528339547803f7784a494ef61 Red Hat Enterprise Linux ES (v. 2.1) -------------------------------------------------------------------------------- SRPMS: squid-2.4.STABLE7-1.21as.4.src.rpm 95b8c52d164e1178ca73d0f7751fe920 IA-32: squid-2.4.STABLE7-1.21as.4.i386.rpm a950517eec9d75e9f9255c22098cb942 Red Hat Enterprise Linux ES (v. 3) -------------------------------------------------------------------------------- SRPMS: squid-2.5.STABLE3-6.3E.7.src.rpm d8641aa493868a48143ff7ad71fb515a IA-32: squid-2.5.STABLE3-6.3E.7.i386.rpm 3da9a078535a549a941c35dd4efcb07e IA-64: squid-2.5.STABLE3-6.3E.7.ia64.rpm 44ba7d01ebfde6643bbca67ed612f71e x86_64: squid-2.5.STABLE3-6.3E.7.x86_64.rpm cd4a5c1528339547803f7784a494ef61 Red Hat Enterprise Linux WS (v. 3) -------------------------------------------------------------------------------- SRPMS: squid-2.5.STABLE3-6.3E.7.src.rpm d8641aa493868a48143ff7ad71fb515a IA-32: squid-2.5.STABLE3-6.3E.7.i386.rpm 3da9a078535a549a941c35dd4efcb07e IA-64: squid-2.5.STABLE3-6.3E.7.ia64.rpm 44ba7d01ebfde6643bbca67ed612f71e x86_64: squid-2.5.STABLE3-6.3E.7.x86_64.rpm cd4a5c1528339547803f7784a494ef61 Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor -------------------------------------------------------------------------------- SRPMS: squid-2.4.STABLE7-1.21as.4.src.rpm 95b8c52d164e1178ca73d0f7751fe920 IA-64: squid-2.4.STABLE7-1.21as.4.ia64.rpm 223ad64e00405758e505b1412a83ca65 (The unlinked packages above are only available from the Red Hat Network) Solution Before applying this update, make sure that all previously-released errata relevant to your system have been applied. Use Red Hat Network to download and update your packages. To launch the Red Hat Update Agent, use the following command: up2date For information on how to install packages manually, refer to the following Web page for the System Administration or Customization guide specific to your system: http://www.redhat.com/docs/manuals/enterprise/ Bugs fixed: (see bugzilla for more information) 145540 - CAN-2005-0094 Multiple issues with squid (CAN-2005-0095 CAN-2005-0096 CAN-2005-0097) 146159 - CAN-2005-0173 Multiple squid issues (CAN-2005-0174 CAN-2005-0175) 146780 - CAN-2005-0241 Correct handling of oversized reply headers References: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0094 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0095 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0096 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0097 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0173 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0174 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0175 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0211 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0241 http://www.squid-cache.org/Advisories/SQUID-2005_1.txt http://www.squid-cache.org/Advisories/SQUID-2005_2.txt http://www.squid-cache.org/Advisories/SQUID-2005_3.txt http://www.squid-cache.org/Versions/v2/2.5/bugs/#squid-2.5.STABLE7-fakeauth_auth http://www.squid-cache.org/Versions/v2/2.5/bugs/#squid-2.5.STABLE7-ldap_spaces -------------------------------------------------------------------------------- These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from: https://www.redhat.com/security/team/key/#package The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/ [***** End Red Hat RHSA-2005:061-19 *****] _______________________________________________________________________________ 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) P-128: Microsoft Vulnerability in OLE and COM P-129: Microsoft Vulnerability in Server Message Block P-130: Microsoft Vulnerability in Microsoft Office XP P-131: Vulnerability in Windows Shell P-132: Microsoft Vulnerability in the License Logging Service P-133: Symantec UPX Parsing Engine Vulnerability P-134: Microsoft Vulnerability in Windows SharePoint Services and SharePoint Team Services P-135: HP-UX ftpd Remote Privileged Access P-136: Microsoft PNG Processing Vulnerability P-137: Mailman Vulnerabilities