__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN Security Vulnerability in the hsfs(7FS) File System [Sun Alert ID: 102161] February 27, 2006 21:00 GMT Number Q-133 ______________________________________________________________________________ PROBLEM: There is a security vulnerability in the Solaris file system driver for hsfs(7FS) file system. PLATFORM: Solaris 8, 9, 10 DAMAGE: May allow local unprivileged users the ability to panic the system, creating a Denial of Service (DoS) condition, and/or execute arbitrary code with elevated privileges. SOLUTION: Upgrade to the appropriate version. ______________________________________________________________________________ VULNERABILITY The risk is MEDIUM. Local, unprivileged attacker could execute ASSESSMENT: arbitrary code with elevated privileges. ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/q-133.shtml ORIGINAL BULLETIN: Sun Alert ID: 102161 http://www.sunsolve.sun.com/search/document.do?assetkey=1 -26-102161-1&searchclause=%22category:security%22%2420% 22availability,%2420security%22%2420category:security ______________________________________________________________________________ [***** Start Sun Alert ID: 102161 *****] Sun(sm) Alert Notification Sun Alert ID: 102161 Synopsis: Security Vulnerability in the hsfs(7FS) File System Category: Security Product: Solaris 9 Operating System, Solaris 10 Operating System, Solaris 8 Operating System BugIDs: 6244328 Avoidance: Patch, Workaround State: Resolved Date Released: 24-Feb-2006 Date Closed: 24-Feb-2006 Date Modified: 1. Impact A security vulnerability in the Solaris file system driver for hsfs(7FS) file systems may allow local unprivileged users the ability to panic the system, creating a Denial of Service (DoS) condition, and/or execute arbitrary code with elevated privileges. 2. Contributing Factors This issue can occur in the following releases: SPARC Platform Solaris 8 without patch 109764-06 Solaris 9 without patch 116047-03 Solaris 10 without patch 119596-03 x86 Platform Solaris 8 without patch 109765-06 Solaris 9 without patch 121995-01 Solaris 10 without patch 118813-03 3. Symptoms If the described issue occurs, the system will panic with BAD TRAPs at various locations in the hsfs(7FS) module. There are many potential stack traces, but the most frequent panic has a stack trace similar to the following: genunix:segmap_getmapflt+0x30([ ... ]) genunix:fbread+0x60([ ... ]) hsfs:hs_dirlook+0x1e0() hsfs:hsfs_lookup([ ... ]) genunix:lookuppnvp+0x2ac([ ... ]) genunix:lookuppnat+0x124([ ... ]) genunix:lookupnameat+0xb0([ ... ]) genunix:lookupname([ ... ]) genunix:chdir+0x14([ ... ]) unix:syscall_trap32+0xa8() Note: The above example is only one of several failure modes (the most pervasive) that may be seen. Solution Summary Top 4. Relief/Workaround To work around the described issue, sites may choose to disable the use of CDROM media by removing the references to the hsfs(7FS) file system from "/etc/vold.conf" and commenting out the lines in "/etc/rmmount.conf" referring to the hsfs(7FS) file system. To identify the references to the hsfs(7FS) file system, the following command can be run: $ grep hsfs /etc/vold.conf /etc/rmmount.conf /etc/vold.conf:unsafe ufs hsfs pcfs udfs /etc/rmmount.conf:ident hsfs ident_hsfs.so cdrom /etc/rmmount.conf:mount * hsfs udfs ufs -o nosuid To disallow CDROM access for unprivileged users, do the following: Replace the lines: /etc/vold.conf:unsafe ufs hsfs pcfs udfs /etc/rmmount.conf:ident hsfs ident_hsfs.so cdrom /etc/rmmount.conf:mount * hsfs udfs ufs -o nosuid With: /etc/vold.conf:unsafe ufs pcfs udfs /etc/rmmount.conf:#ident hsfs ident_hsfs.so cdrom /etc/rmmount.conf:#mount * hsfs udfs ufs -o nosuid Note: The example shown above is on an unmodified Solaris 9 system. 5. Resolution This issue is addressed in the following releases: SPARC platform Solaris 8 with patch 109764-06 or later Solaris 9 with patch 116047-03 or later Solaris 10 with patch 119596-03 or later x86 Platform Solaris 8 with patch 109765-06 or later Solaris 9 with patch 121995-01 or later Solaris 10 with patch 118813-03 or later 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-2006 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, CA 95054 U.S.A. All rights reserved. [***** End Sun Alert ID: 102161 *****] _______________________________________________________________________________ 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) Q-123: Vulnerability in Web Client Service Could Allow Remote Code Execution Q-124: ImageMagick security update Q-125: TACACS+ Authentication Bypass in Cisco Anomaly Detection and Mitigation Products Q-126: Security Vulnerability in the in.rexecd(1M) Daemon on Kerberos Systems Q-127: nfs-user-server Q-128: Vulnerability in TCP/IP Q-129: HP-UX Running DNS BIND4/BIND8 as Forwarders: Remote Unauthorized Privileged Access Q-130: HP Systems Insight Manager Remote Unauthorized Access via Directory Traversal Q-131: IBM - Potential Buffer Overflow and Directory Traversal Vulnerabilities Q-132: Heimdal