__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN "nfs-utils" Package Vulnerabilities [RHSA-2004:583-09] December 21, 2004 19:00 GMT Number P-076 [REVISED 14 Jan 2005] ______________________________________________________________________________ PROBLEM: Vulnerabilities were found in the nfs-utils package. This package provides a daemon for the kernel NFS server and related tools and also contains the showmount program. PLATFORM: Red Hat Desktop (v.3) Red Hat Enterprise Linux AS, ES, WS (v. 2.1) and (v.3) Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor DAMAGE: A misconfigured or malicious peer may cause statd to crash, leading to a denial of service. Also, On 64-bit architectures, an improper integer conversion can lead to a buffer overflow. An attacker must first have access to an NFS share and send a specially crafted request to execute arbitrary code as root. SOLUTION: Install the security patch. ______________________________________________________________________________ VULNERABILITY The risk is MEDIUM. An attacker may cause a denial of service. ASSESSMENT: Also, a local attacker with access to an NFS share may execute arbitrary code. ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/p-076.shtml ORIGINAL BULLETIN: http://rhn.redhat.com/errata/RHSA-2004-583.html ADDITIONAL LINK: Red Hat RHSA-2005:014-04 https://rhn.redhat.com/errata/RHSA-2005-014.html CVE/CAN: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name= CAN-2004-0946, CAN-2004-1014 ______________________________________________________________________________ REVISION HISTORY: 01/14/2005 - added a link to Red Hat RHSA-2005:014-04 for Red Hat Enterprise Linux AS, ES, WS (v. 2.1) and Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor. [***** Start RHSA-2004:583-09 *****] Updated nfs-utils package fixes security vulnerabilities Advisory: RHSA-2004:583-09 Last updated on: 2004-12-20 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-0946, CAN-2004-1014 back Security Advisory Security Advisory Details: An updated nfs-utils package that fixes various security issues is now available. The nfs-utils package provides a daemon for the kernel NFS server and related tools, providing a much higher level of performance than the traditional Linux NFS server used by most users. This package also contains the showmount program. Showmount queries the mount daemon on a remote host for information about the NFS (Network File System) server on the remote host. SGI reported that the statd daemon did not properly handle the SIGPIPE signal. A misconfigured or malicious peer could cause statd to crash, leading to a denial of service. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2004-1014 to this issue. Arjan van de Ven discovered a buffer overflow in rquotad. On 64-bit architectures, an improper integer conversion can lead to a buffer overflow. An attacker with access to an NFS share could send a specially crafted request which could lead to the execution of arbitrary code. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2004-0946 to this issue. Additionally, this updated package addresses the following issues: - The UID of the nfsnobody account has been fixed for 32-bit and 64-bit machines. Because the st_uid field of the stat structure is an unsigned integer, an actual value of -2 cannot be used when creating the account, so the decimal value of -2 is used. On a 32-bit machine, the decimal value of -2 is 65534 but on a 64-bit machine it is 4294967294. This errata enables the nfs-utils post-install script to detect the target architecture, so an appropriate decimal value is used. All users of nfs-utils should upgrade to this updated package, which resolves these issues. Updated packages: Red Hat Desktop (v. 3) SRPMS: nfs-utils-1.0.6-33EL.src.rpm 3c07aefe1af032508a92e4189d9e2cd2 IA-32: nfs-utils-1.0.6-33EL.i386.rpm e17d5bce62acddfa0de2b9b77b9b67db x86_64: nfs-utils-1.0.6-33EL.x86_64.rpm 6dcf9bd7e53e6780c37d8cc28fecdca5 Red Hat Enterprise Linux AS (v. 3) SRPMS: nfs-utils-1.0.6-33EL.src.rpm 3c07aefe1af032508a92e4189d9e2cd2 IA-32: nfs-utils-1.0.6-33EL.i386.rpm e17d5bce62acddfa0de2b9b77b9b67db IA-64: nfs-utils-1.0.6-33EL.ia64.rpm 1fe59525701f2bb8c4e5f039a8e613d9 PPC: nfs-utils-1.0.6-33EL.ppc.rpm d88d00c954fb90e1d8f30c04ec714d8c s390: nfs-utils-1.0.6-33EL.s390.rpm a498b1aa5b7f6aa9a829d8cb23331c82 s390x: nfs-utils-1.0.6-33EL.s390x.rpm 15279ec8935e525ebac1b488f012597c x86_64: nfs-utils-1.0.6-33EL.x86_64.rpm 6dcf9bd7e53e6780c37d8cc28fecdca5 Red Hat Enterprise Linux ES (v. 3) SRPMS: nfs-utils-1.0.6-33EL.src.rpm 3c07aefe1af032508a92e4189d9e2cd2 IA-32: nfs-utils-1.0.6-33EL.i386.rpm e17d5bce62acddfa0de2b9b77b9b67db IA-64: nfs-utils-1.0.6-33EL.ia64.rpm 1fe59525701f2bb8c4e5f039a8e613d9 x86_64: nfs-utils-1.0.6-33EL.x86_64.rpm 6dcf9bd7e53e6780c37d8cc28fecdca5 Red Hat Enterprise Linux WS (v. 3) SRPMS: nfs-utils-1.0.6-33EL.src.rpm 3c07aefe1af032508a92e4189d9e2cd2 IA-32: nfs-utils-1.0.6-33EL.i386.rpm e17d5bce62acddfa0de2b9b77b9b67db IA-64: nfs-utils-1.0.6-33EL.ia64.rpm 1fe59525701f2bb8c4e5f039a8e613d9 x86_64: nfs-utils-1.0.6-33EL.x86_64.rpm 6dcf9bd7e53e6780c37d8cc28fecdca5 (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) 123900 - LTC5609-Wrong uid/gid for anonuid in nfs mount 138062 - CAN-2004-0946 buffer overflow in rquotad 139611 - CAN-2004-1014 DoS in statd References: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0946 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1014 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:583-09 *****] _______________________________________________________________________________ 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-066: Veritas Backup Exec Buffer Overflow Vulnerability P-067: PHP Multiple Vulnerabilities P-068: Sun Webmail Vulnerability P-069: Sun - Multiple Mozilla Vulnerabilities P-070: Updated Samba Packages P-071: Updated "gd" Packages P-072: Updated ZIP Packages P-073: Updated "libxml" Packages for Versions Prior to 2.6.14 P-074: “newgrp(1)” Local Privilege Escalation p-075: "libkadm5srv" Heap Buffer Overflow