__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN Security Vulnerability Involving the umount(8) Utility [Sun Alert ID: 101960] October 11, 2005 17:00 GMT Number Q-008 [REVISED 31 Oct 2005] ______________________________________________________________________________ PROBLEM: There is a problem in the remount option (-r) of umount(8). PLATFORM: Linux Platform Sun Java Desktop System (JDS) Release 2 without the updated RPMs (patch-10488) 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 Itanium Processor SGI ProPack3 Service Pack 6 DAMAGE: May allow a local unprivileged user who has privileges to unmount a filesystem the ability to gain additional privileges, such as removing the "nosuid" flag from a filesystem. SOLUTION: Upgrade to the appropriate version. ______________________________________________________________________________ VULNERABILITY The risk is LOW. May allow a local unprivileged user who has ASSESSMENT: privileges to unmount a filesystem the ability to gain additional privileges, such as removing the "nosuid" flag from a filesystem. ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/q-008.shtml ORIGINAL BULLETIN: Sun Alert ID: 101960 http://www.sunsolve.sun.com/search/document.do?assetkey= 1-26-101960-1&searchclause=%22category:security%22%20% 22availability,%20security%22%20category:security ADDITIONAL LINKS: Red Hat Security Advisory RHSA-2005:782 https://rhn.redhat.com/errata/RHSA-2005-782.html SGI Security Advisory Number 20051003-02-U ftp://patches.sgi.com/support/free/security/advisories/20051003-02-U.asc CVE: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name= CVE-2005-2876 ______________________________________________________________________________ REVISION HISTORY: 10/31/2005 - added links to Red Hat Security Advisory RHSA-2005:782 and SGI Advanced Linux Environment 3, Security Update #50, that provide patches for this vulnerability. [***** Start Sun Alert ID: 101960 *****] Sun(sm) Alert Notification Sun Alert ID: 101960 Synopsis: Security Vulnerability Involving the umount(8) Utility Category: Security Product: Sun Java Desktop System Release 2 BugIDs: 6331438 Avoidance: Patch State: Resolved Date Released: 10-Oct-2005 Date Closed: 10-Oct-2005 Date Modified: 1. Impact The remount option (-r) of umount(8) may allow a local unprivileged user who has privileges to unmount a filesystem the ability to gain additional privileges, such as removing the "nosuid" flag from a filesystem. This issue is described in the following document: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2876 2. Contributing Factors This issue can occur in the following releases: Linux Platform * Sun Java Desktop System (JDS) Release 2 without the updated RPMs (patch-10488) Notes: * Sun Java Desktop System (JDS) release 2003 is no longer under entitlement. * The described issue only occurs with util-linux versions util-linux-2.11u-134 or earlier. To determine if unprivileged local users have privileges to umount(8) a filesystem, check the "/etc/fstab" (see fstab(5)) file for the presence of the "user" mount option. For example: $ grep user /etc/fstab /dev/fd0 /media/floppy auto rw,noauto,user,sync 0 0 To determine the release of JDS for Linux installed on a system, the following command can be used: % cat /etc/sun-release Sun Java Desktop System, Release 2 -build 10b (GA) Assembled 30 March 2004 To determine the version of util-linux, the following command can be used: % rpm -qf /bin/umount util-linux-2.11u-135 3. Symptoms There are no predictable symptoms that would indicate the described issue has been exploited. Solution Summary Top 4. Relief/Workaround There is no workaround. Please see the "Resolution" section below. 5. Resolution This issue is addressed in the following releases: Linux Sun Java Desktop System (JDS) Release 2 with the updated RPMs (patch-10488) To download and install the updated RPMs from the update servers select the following from the menu: Launch >> Applications >> System Tools >> Online Update For more information on obtaining updates see: http://wwws.sun.com/software/javadesktopsystem/faq.html#5q5 http://wwws.sun.com/software/javadesktopsystem/faq.html#5q7 This Sun Alert notification is being provided to you on an "AS IS" basis. This Sun Alert notification may contain information provided by third parties. The issues described in this Sun Alert notification may or may not impact your system(s). Sun makes no representations, warranties, or guarantees as to the information contained herein. ANY AND ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE HEREBY DISCLAIMED. BY ACCESSING THIS DOCUMENT YOU ACKNOWLEDGE THAT SUN SHALL IN NO EVENT BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, PUNITIVE, OR CONSEQUENTIAL DAMAGES THAT ARISE OUT OF YOUR USE OR FAILURE TO USE THE INFORMATION CONTAINED HEREIN. This Sun Alert notification contains Sun proprietary and confidential information. It is being provided to you pursuant to the provisions of your agreement to purchase services from Sun, or, if you do not have such an agreement, the Sun.com Terms of Use. This Sun Alert notification may only be used for the purposes contemplated by these agreements. Copyright 2000-2005 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, CA 95054 U.S.A. All rights reserved. [***** End Sun Alert ID: 101960 *****] _______________________________________________________________________________ CIAC wishes to acknowledge the contributions of Sun Microsystems 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-318: Updated Kernel Packages Red Hat Enterprise Linux 3 Update 6 P-319: IBM Security Vulnerabilities in Getconfig Command P-320: MySQL & MySQL-dfsg Q-001: GNU 'mailutils' Format String Vulnerability Q-002: 'apachetop' Insecure Temporary File Q-003: Symantec AV Scan Engine Web Interface Vulnerability Q-004: 'arc' Insecure Temporary File Creation Q-005: Updated Kernel Packages for Red Hat Linux 4 Update 2 Q-006: Tcpdump Q-007: OpenSSL Potential SSL 2.0 Rollback