__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN Red Hat Updated libxml2 Packages Fix Security Vulnerability [RHSA-2004:091-03] March 1, 2004 16:00 GMT Number O-086 [REVISED 04 Mar 2004] [REVISED 20 Dec 2004] [REVISED 19 Jan 2005] [REVISED 26 May 2005] [REVISED 23 Jun 2005] ______________________________________________________________________________ PROBLEM: A flaw in libxml2 versions prior to 2.6.6 when fetching a remote resource via FTP or HTTP, libxml2 uses special parsing routines. These routines can overflow a buffer if passed a very long URL. PLATFORM: Red Hat Linux 9 Red Hat Linux Advanced Workstation 2.1 - ia64 Red Hat Enterprise Linux ES version 2.1 - i386 Red Hat Enterprise Linux WS version 2.1 - i386 Red Hat Enterprise Linux AS version 3 - i386, ia64, ppc, s390, s390x, x86_64 Red Hat Enterprise Linux ES version 3 - i386 Red Hat Enterprise Linux WS version 3 - i386, ia64, x86_64 SGI ProPack v2.4 and SGI ProPack v2.3 SGI ProPack 3 Service Pack 3 for SGI Altix family of systems Debian GNU/Linux 3.0 (woody) Red Hat Desktop (v. 3) Red Hat Enterprise Linux AS, ES, WS (v. 2.1) & (v. 3) Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor SGI ProPack 3 Service Pack 5 for SGI Altix family of systems DAMAGE: If an attacker is able to find an application using libxml2 that parses remote resources and allows them to influence the URL, then this flaw could be used to execute arbitrary code. SOLUTION: Upgrade to the appropriate patch. ______________________________________________________________________________ VULNERABILITY The risk is MEDIUM. An attacker could execute arbitrary code. ASSESSMENT: ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/o-086.shtml ORIGINAL BULLETIN: Red Hat RHSA-2004:091-03 https://rhn.redhat.com/errata/RHSA-2004-091.html ADDITIONAL LINKS: Red Hat RHSA-2004:090-01 https://rhn.redhat.com/errata/RHSA-2004-090.html Red Hat RHSA-2004:650-03 (See also CIAC P-073) https://rhn.redhat.com/errata/RHSA-2004-650.html SGI Advanced Linux Environment security update #13 Number: 20040301-01-U http://www.sgi.com/support/security/advisories.html SGI Advanced Linux Environment security update #21 Number: 20050101-01-U ftp://patches.sgi.com/support/free/security/advisories/ 20050101-01-U.asc Debian Security Advisory DSA 455-1 http://www.debian.org/security/ Red Hat RHSA-2004:650-08 https://rhn.redhat.com/errata/RHSA-2004-650.html SGI Advanced Linux Environment security update #39 Number: 20050602-01-U ftp://patches.sgi.com/support/free/security/advisories/ 20050602-01-U.asc CVE/CAN: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name= CAN-2004-0110 ______________________________________________________________________________ REVISION HISTORY: 03/04/2004 - (1) Added a link to Red Hat Security Advisory RHSA-2004:090-01 that includes the Red Hat Enterprise versions and Linux Advanced Workstation 2.1, and (2) Add a link to SGI Advanced Linux Environment Security Update #13, Number: 20040301-01-U that provides patches. (3) Add a link to Debian Security Advisory DSA 455-1 that contains patches. 12/20/2004 - added link information to Red Hat's RHSA-2004:650-03 announcing fixes for this vulnerability and others. (See also CIAC Bulletin P-073). 01/19/2005 - added link to SGI Advanced Linux Environment security update #21, Number: 20050101-01-U that provides patches for SGI ProPack 3 Service Pack 3 for SGI Altix family of systems. 05/26/2005 - added a link to Red Hat RHSA-2004:650-08 for Red Hat Desktop (v. 3), Red Hat Enterprise Linux AS, ES, WS (v.2.1) * (v. 3), and Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor. 06/23/2005 - added link to SGI Advanced Linux Environment security update #39, Number: 20050602-01-U that provides patches for SGI ProPack 3 Service Pack 5 for SGI Altix family of systems. [***** Start RHSA-2004:091-03 *****] Updated libxml2 packages fix security vulnerability Advisory: RHSA-2004:091-03 Last updated on: 2004-02-26 Affected Products: Red Hat Linux 9 CVEs (cve.mitre.org): CAN-2004-0110 back Security Advisory Details: Updated libxml2 packages that fix an overflow when parsing remote resources are now available. libxml2 is a library for manipulating XML files. Yuuichi Teranishi discovered a flaw in libxml2 versions prior to 2.6.6. When fetching a remote resource via FTP or HTTP, libxml2 uses special parsing routines. These routines can overflow a buffer if passed a very long URL. If an attacker is able to find an application using libxml2 that parses remote resources and allows them to influence the URL, then this flaw could be used to execute arbitrary code. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2004-0110 to this issue. All users are advised to upgrade to these updated packages, which contain a backported fix and are not vulnerable to this issue. Updated packages: Red Hat Linux 9 -------------------------------------------------------------------------------- SRPMS: libxml2-2.5.4-2.src.rpm [ via FTP ] [ via HTTP ] 7a1834ebc511ce8752dab9265ed0e3dd i386: libxml2-2.5.4-2.i386.rpm [ via FTP ] [ via HTTP ] f9663aacd4980f9e2805f90ea6f8fd93 libxml2-devel-2.5.4-2.i386.rpm [ via FTP ] [ via HTTP ] ef2c2b5b8644ac165529a45d34029d3d libxml2-python-2.5.4-2.i386.rpm [ via FTP ] [ via HTTP ] 1c269ed922321b3cce101408767de3ad 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 References: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0110 http://mail.gnome.org/archives/xml/2004-February/msg00070.html -------------------------------------------------------------------------------- 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 [***** End RHSA-2004:091-03 *****] _______________________________________________________________________________ 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-078: Samba - Unauthorized Access to SMB Accounts O-079: SGI - Userland Binary Vulnerabilities O-080: Novell iChain Telnet Service Vulnerability O-081: Red Hat Updated XFree86 Packages Fix Privilege Escalation Vulnerability O-082: Red Hat Updated Kernel Packages Resolve Security Vulnerabilities O-083: Red Hat Updated Metamail Packages Fix Vulnerabilities O-084: Zone Labs SMTP Processing Vulnerability CIACITech04-001: Operation of the Hacker Defender Rootkit O-085: Vulnerability in SMB Parsing in ISS Products O-087: Red Hat Updated util-linux Packages Fix Information Leak