__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN Squid Security Update [Red Hat RHSA-2005:489-05] June 13, 2005 18:00 GMT Number P-220 [REVISED 15 Jun 2005] [REVISED 11 Jul 2005] [REVISED 13 Jul 2005] ______________________________________________________________________________ PROBLEM: There are several security issues with Squid: 1) A bug was found in the way Squid handles PUT and POST requests; 2) A bug was found in the way Squid handles access to the cachemgr.cgi script; 3) A bug was found in the way Squid handles DNS replies; and 4) Squid fails in the unpacking of squid-2.4.STABLE7-1.2as.5src.rpm. PLATFORM: Red Hat Enterprise Linux AS, ES (v. 2.1), (v. 3), & (v. 4) Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor Red Hat Desktop (v. 3), & (v. 4) Debian GNU/Linux 3.0 (woody) SGI ProPack 3 Service Pack 5 for SGI Altix family of systems DAMAGE: It is possible for: 1) an authorized remote user to cause a failed PUT or POST request which can cause Squid to crash; 2) an authorized remote user can bypass access control lists; 3) a remote attacker to spoof DNS replies, possibly redirecting a user to spoofed or malicious content. SOLUTION: Upgrade to the appropriate version. ______________________________________________________________________________ VULNERABILITY The risk is LOW. A remote attacker could cause a DoS or bypass ASSESSMENT: access control list settings. ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/p-220.shtml ORIGINAL BULLETIN: Red Hat RHSA-2005:489-05 https://rhn.redhat.com/errata/RHSA-2005-489.html ADDITIONAL LINKS: Red Hat RHSA-2005:415-16 https://rhn.redhat.com/errata/RHSA-2005-415.html Debian Security Advisory DSA-751 http://www.debian.org/security/2005/dsa-751 SGI Security Advisory Number 20050605-01-U ftp://patches.sgi.com/support/free/security/advisories/ 20050605-01-U.asc CVE/CAN: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name= CAN-2005-0718 CAN-2005-1519 CVE-1999-0710 ______________________________________________________________________________ REVISION HISTORY: 06/15/2005 - added a link to Red Hat RHSA-2005:415-16 for for Red Hat Desktop (v. 3) & (v. 4), and Red Hat Enterprise Linux AS, ES, WS (v. 3) & (v. 4). 07/11/2005 - added a link to Debian Security Advisory DSA-751 that provides updated squid packages. 07/13/2005 - added link to SGI Security Update #41, 20050605-01-U that provides patches for SGI ProPack 3 Service Pack 5 for SGI Altix family of systems. [***** Start Red Hat RHSA-2005:489-05 *****] Low: squid security update Advisory: RHSA-2005:489-05 Type: Security Advisory Issued on: 2005-06-13 Last updated on: 2005-06-13 Affected Products: Red Hat Enterprise Linux AS (v. 2.1) Red Hat Enterprise Linux ES (v. 2.1) Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor CVEs (cve.mitre.org): CAN-2005-0718 CAN-2005-1519 CVE-1999-0710 Details An updated squid package that fixes several security issues is now available. This update has been rated as having low security impact by the Red Hat Security Response Team. Squid is a full-featured Web proxy cache. A bug was found in the way Squid handles PUT and POST requests. It is possible for an authorised remote user to cause a failed PUT or POST request which can cause Squid to crash. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2005-0718 to this issue. A bug was found in the way Squid handles access to the cachemgr.cgi script. It is possible for an authorised remote user to bypass access control lists with this flaw. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-1999-0710 to this issue. A bug was found in the way Squid handles DNS replies. If the port Squid uses for DNS requests is not protected by a firewall, it is possible for a remote attacker to spoof DNS replies, possibly redirecting a user to spoofed or malicious content. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2005-1519 to this issue. Additionally, this update fixes the following bugs: - squid fails in the unpacking of squid-2.4.STABLE7-1.21as.5.src.rpm Users of Squid should upgrade to this updated package, which contains backported patches to correct these issues. 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/ Updated packages Red Hat Enterprise Linux AS (v. 2.1) -------------------------------------------------------------------------------- SRPMS: squid-2.4.STABLE7-1.21as.8.src.rpm 94a0e2ba3779a229af1d161555341cc2 IA-32: squid-2.4.STABLE7-1.21as.8.i386.rpm 08c0d416b59e426120c9f7932e974f9d IA-64: squid-2.4.STABLE7-1.21as.8.ia64.rpm 9e15091928dd05b3f8dcf9f2285bd608 Red Hat Enterprise Linux ES (v. 2.1) -------------------------------------------------------------------------------- SRPMS: squid-2.4.STABLE7-1.21as.8.src.rpm 94a0e2ba3779a229af1d161555341cc2 IA-32: squid-2.4.STABLE7-1.21as.8.i386.rpm 08c0d416b59e426120c9f7932e974f9d Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor -------------------------------------------------------------------------------- SRPMS: squid-2.4.STABLE7-1.21as.8.src.rpm 94a0e2ba3779a229af1d161555341cc2 IA-64: squid-2.4.STABLE7-1.21as.8.ia64.rpm 9e15091928dd05b3f8dcf9f2285bd608 (The unlinked packages above are only available from the Red Hat Network) Bugs fixed (see bugzilla for more information) 125007 - insecure permissions for squid.conf 151423 - CAN-2005-0718 Segmentation fault on failed PUT/POST request 153960 - It fails in the unpacking of squid-2.4.STABLE7-1.21as.5.src.rpm 156161 - CVE-1999-0710 cachemgr.cgi access control bypass 157455 - CAN-2005-1519 DNS lookups unreliable on untrusted networks References http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0718 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-1519 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-1999-0710 -------------------------------------------------------------------------------- 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:489-05 *****] _______________________________________________________________________________ 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-210: bzip2 P-211: PostgreSQL Security Vulnerabilities P-212: HP OpenView Radia Notify Daemon Security Vulnerabilities P-213: GNU “mailutils” Contains Several Vulnerabilities P-214: rpc.mountd security issues in IRIX 6.5.25-6.5.27 P-215: Apple Security Update 2005-006 P-216: Potential Security Risk with Macromedia eLicensing Client Activation Code P-217: gzip Security Update P-218: gEdit Security Update P-219: tcpdump Security Update