__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN linux-kernel-2.4.17, 2.4.18, and 2.4.19 Unauthorized Privileges and Information Leakage Vulnerabilities [DSA-479-1 through DSA-482-1, DSA-489-1, DSA-491-1] April 15, 2004 22:00 GMT Number O-121 [REVISED 16 Apr 2004] [REVISED 19 Apr 2004] [REVISED 4 Aug 2004] [REVISED 19 Aug 2004] [REVISED 30 Aug 2004] [REVISED 21 Dec 2004] ______________________________________________________________________________ PROBLEM: Debian linux-kernel 2.4.17, 2.4.18, and 2.4.19 contain security vulnerabilities for gaining unauthorized privileges and for information leakage. PLATFORM: kernel-source-2.4.17 kernel-patch-2.4.17-apus kernel-patch-2.4.17-s390 kernel-image-2.4.17-s390 kernel-image-2.4.17-ia64 kernel-image-2.4.17-hppa kernel-source-2.4.18 kernel-image-2.4.18-1 alpha kernel-image-2.4.18-1 i386 kernel-image 2.4.18-i386bf kernel-patch-2.4.18-powerpc kernel-image-2.4.18-hppa kernel-source-2.4.17 kernel-patch-2.4.17-mips + mipsel kernel-source-2.4.19 kernel-patch-2.4.19-mips Red Hat Enterprise Linux AS, ES, and WS (v.3) Red Hat Enterprise Linux AS, ES, and WS (v.2.1) Red Hat Linux Advanced Workstation 2.1 for the Itanium SGI ProPack 3 DAMAGE: Vulnerabilities are listed as follows: - The R128 drive in the Linux kernel that could potentially lead an attacker to gain unauthorized privileges. - A stack-based buffer overflow in the ncp_lookup function for ncpfs in the Linux kernel could lead an attacker to gain unauthorized privileges. - A buffer overflow vulnerability in the ISO9660 filesystem component of Linux kernel could be abused by an attacker to gain unauthorised root access. - An information leak may exist in the ext3 code of Linux that would allow an authorized user to read sensitive data. - Soundblaster driver may cause denial of service. SOLUTION: Apply updated packages. ______________________________________________________________________________ VULNERABILITY The risk is MEDIUM. The most severe vulnerability may ASSESSMENT: allow an unauthorized user to gain root access. ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/o-121.shtml ORIGINAL BULLETIN: http://www.debian.org/security/2004/dsa-479 http://www.debian.org/security/2004/dsa-480 http://www.debian.org/security/2004/dsa-481 http://www.debian.org/security/2004/dsa-482 http://www.debian.org/security/2004/dsa-489 http://www.debian.org/security/2004/dsa-491 ADDITIONAL LINK: Red Hat - RHSA-2004:413-07 https://rhn.redhat.com/errata/RHSA-2004-413.html Red Hat - RHSA-2004:437-02 https://rhn.redhat.com/errata/RHSA-2004-437.html Red Hat - RHSA-2004:504-13 https://rhn.redhat.com/errata/RHSA-2004-504.html Red Hat - RHSA-2004:505-14 https://rhn.redhat.com/errata/RHSA-2004-505.html SGI 20040804-01-U http://www.sgi.com/support/security/advisories.html CVE/CAN: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name= CAN-2004-0003, CAN-2004-0010, CAN-2004-0109, CAN-2004-0177, CAN-2004-0178 ______________________________________________________________________________ REVISION HISTORY: 04/16/04 - added link to Debian Security Advisory DSA 479-2 that provides links to newly released Linux 2.4.18 packages for i386 architecture. 04/19/04 - added link to Debian Security Advisories DSA 489-1 and DSA 491-1 which provide patches for 2.4.17-mips+misel and 2.4.19-mips. 08/4/04 - added link to Red Hat advisory RHSA-2004:413-07 for their updated packages. 08/19/04 - added a link to Red Hat RHSA-2004:437-02 for Red Hat Enterprise Linux AS, ES, WS (v.2.1). 08/30/04 - added link to SGI Security Advisory 20040804-01-U. 12/21/04 - added link information to Red Hat Advisories: RHSA-2004:504-13 / Itanium packages RHSA-2004:505-14 / kernel packages [***** Start Debian Security Advisories DSA-479-1 *****] Debian Security Advisory DSA-479-1 linux-kernel-2.4.18-alpha+i386+powerpc -- several vulnerabilities Date Reported: 14 Apr 2004 Affected Packages: kernel-source-2.4.18 kernel-image-2.4.18-1-alpha kernel-image-2.4.18-1-i386 kernel-image-2.4.18-i386bf kernel-patch-2.4.18-powerpc Vulnerable: Yes Security database references: In Mitre's CVE dictionary: CAN-2004-0003, CAN-2004-0010, CAN-2004-0109, CAN-2004-0177, CAN-2004-0178. More information: Several serious problems have been discovered in the Linux kernel. This update takes care of Linux 2.4.18 for the alpha, i386 and powerpc architectures. The Common Vulnerabilities and Exposures project identifies the following problems that will be fixed with this update: CAN-2004-0003 A vulnerability has been discovered in the R128 drive in the Linux kernel which could potentially lead an attacker to gain unauthorised privileges. Alan Cox and Thomas Biege developed a correction for this CAN-2004-0010 Arjan van de Ven discovered a stack-based buffer overflow in the ncp_lookup function for ncpfs in the Linux kernel, which could lead an attacker to gain unauthorised privileges. Petr Vandrovec developed a correction for this. CAN-2004-0109 zen-parse discovered a buffer overflow vulnerability in the ISO9660 filesystem component of Linux kernel which could be abused by an attacker to gain unauthorised root access. Sebastian Krahmer and Ernie Petrides developed a correction for this. CAN-2004-0177 Solar Designer discovered an information leak in the ext3 code of Linux. In a worst case an attacker could read sensitive data such as cryptographic keys which would otherwise never hit disk media. Theodore Ts'o developed a correction for this. CAN-2004-0178 Andreas Kies discovered a denial of service condition in the Sound Blaster driver in Linux. He also developed a correction. These problems will also be fixed by upstream in Linux 2.4.26 and future versions of 2.6. The following security matrix explains which kernel versions for which architecture are already fixed. Kernel images in the unstable Debian distribution (sid) will be fixed soon. Architecture stable (woody) unstable (sid) removed in sid source 2.4.18-14.3 2.4.25-3 — alpha 2.4.18-15 soon — i386 2.4.18-13 soon — i386bf 2.4.18-5woody8 soon — powerpc 2.4.18-1woody5 2.4.25-8 2.4.22 We recommend that you upgrade your kernel packages immediately, either with a Debian provided kernel or with a self compiled one. Fixed in: Debian GNU/Linux 3.0 (woody) Source: http://security.debian.org/pool/updates/main/k/kernel-source-2.4.18/kernel- source-2.4.18_2.4.18-14.3.dsc http://security.debian.org/pool/updates/main/k/kernel-source-2.4.18/kernel- source-2.4.18_2.4.18-14.3.diff.gz http://security.debian.org/pool/updates/main/k/kernel-source-2.4.18/kernel- source-2.4.18_2.4.18.orig.tar.gz http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-1-alpha/ kernel-image-2.4.18-1-alpha_2.4.18-15.dsc http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-1-alpha/ kernel-image-2.4.18-1-alpha_2.4.18-15.tar.gz http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-1-i386/ kernel-image-2.4.18-1-i386_2.4.18-13.dsc http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-1-i386/ kernel-image-2.4.18-1-i386_2.4.18-13.tar.gz http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-i386bf/ kernel-image-2.4.18-i386bf_2.4.18-5woody8.dsc http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-i386bf/ kernel-image-2.4.18-i386bf_2.4.18-5woody8.tar.gz http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.18-powerpc/ kernel-patch-2.4.18-powerpc_2.4.18-1woody5.dsc http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.18-powerpc/ kernel-patch-2.4.18-powerpc_2.4.18-1woody5.tar.gz Architecture-independent component: http://security.debian.org/pool/updates/main/k/kernel-source-2.4.18/kernel- doc-2.4.18_2.4.18-14.3_all.deb http://security.debian.org/pool/updates/main/k/kernel-source-2.4.18/kernel- source-2.4.18_2.4.18-14.3_all.deb http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.18-powerpc/ kernel-patch-2.4.18-powerpc_2.4.18-1woody5_all.deb Alpha: http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-1-alpha/ kernel-headers-2.4.18-1_2.4.18-15_alpha.deb http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-1-alpha/ kernel-headers-2.4.18-1-generic_2.4.18-15_alpha.deb http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-1-alpha/ kernel-headers-2.4.18-1-smp_2.4.18-15_alpha.deb http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-1-alpha/ kernel-image-2.4.18-1-generic_2.4.18-15_alpha.deb http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-1-alpha/ kernel-image-2.4.18-1-smp_2.4.18-15_alpha.deb Intel IA-32: http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-1-i386/ kernel-headers-2.4.18-1_2.4.18-13_i386.deb http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-1-i386/ kernel-headers-2.4.18-1-386_2.4.18-13_i386.deb http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-1-i386/ kernel-headers-2.4.18-1-586tsc_2.4.18-13_i386.deb http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-1-i386/ kernel-headers-2.4.18-1-686_2.4.18-13_i386.deb http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-1-i386/ kernel-headers-2.4.18-1-686-smp_2.4.18-13_i386.deb http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-1-i386/ kernel-headers-2.4.18-1-k6_2.4.18-13_i386.deb http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-1-i386/ kernel-headers-2.4.18-1-k7_2.4.18-13_i386.deb http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-1-i386/ kernel-image-2.4.18-1-386_2.4.18-13_i386.deb http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-1-i386/ kernel-image-2.4.18-1-586tsc_2.4.18-13_i386.deb http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-1-i386/ kernel-image-2.4.18-1-686_2.4.18-13_i386.deb http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-1-i386/ kernel-image-2.4.18-1-686-smp_2.4.18-13_i386.deb http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-1-i386/ kernel-image-2.4.18-1-k6_2.4.18-13_i386.deb http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-1-i386/ kernel-image-2.4.18-1-k7_2.4.18-13_i386.deb http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-1-i386/ kernel-pcmcia-modules-2.4.18-1-386_2.4.18-13_i386.deb http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-1-i386/ kernel-pcmcia-modules-2.4.18-1-586tsc_2.4.18-13_i386.deb http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-1-i386/ kernel-pcmcia-modules-2.4.18-1-686_2.4.18-13_i386.deb http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-1-i386/ kernel-pcmcia-modules-2.4.18-1-686-smp_2.4.18-13_i386.deb http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-1-i386/ kernel-pcmcia-modules-2.4.18-1-k6_2.4.18-13_i386.deb http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-1-i386/ kernel-pcmcia-modules-2.4.18-1-k7_2.4.18-13_i386.deb http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-i386bf/ kernel-headers-2.4.18-bf2.4_2.4.18-5woody8_i386.deb http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-i386bf/ kernel-image-2.4.18-bf2.4_2.4.18-5woody8_i386.deb PowerPC: http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.18-powerpc/ kernel-headers-2.4.18_2.4.18-1woody5_powerpc.deb http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.18-powerpc/ kernel-image-2.4.18-newpmac_2.4.18-1woody5_powerpc.deb http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.18-powerpc/ kernel-image-2.4.18-powerpc_2.4.18-1woody5_powerpc.deb http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.18-powerpc/ kernel-image-2.4.18-powerpc-smp_2.4.18-1woody5_powerpc.deb MD5 checksums of the listed files are available in the original advisory. [***** End Debian Security Advisories DSA-479-1 through DSA-482-1 *****] _______________________________________________________________________________ CIAC wishes to acknowledge the contributions of Debian 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-112: Cisco IPSec VPN Services Module Malformed IKE Packet Vulnerability O-113: Debian tcpdump Denial of Service O-114: Microsoft Security Update for Microsoft Windows O-115: Microsoft Cumulative Update for RPC/DCOM O-116: Microsoft Cumulative Security Update for Outlook Express O-117: Microsoft Jet Database Engine Buffer Overrun O-118: HP OpenView Operations Remote Unauthorized Access O-119: HP Tru64 UNIX WU-FTPD Security Vulnerabilities O-120: HP Web Jetadmin Security Vulnerabilities