__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN Security Vulnerability in the Xsun(1) and Xprt(1) Commands [Sun Alert ID: 101800] September 27, 2005 17:00 GMT Number P-315 [REVISED 01 Dec 2005] ______________________________________________________________________________ PROBLEM: There is a security vulnerability which affects the Xsun(1) and Xprt(1) commands. PLATFORM: Solaris 7, 8, 9, 10 Operating Systems DAMAGE: May allow a local unprivileged user the ability to execute arbitrary code with the privileges of either the Xsun(1) and Xprt(1) command. SOLUTION: Upgrade to the appropriate version. ______________________________________________________________________________ VULNERABILITY The risk is MEDIUM. May allow a local unprivileged user the ASSESSMENT: ability to execute arbitrary code with the privileges of either the Xsun(1) and Xprt(1) command. ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/p-315.shtml ORIGINAL BULLETIN: Sun Alert ID: 101800 http://www.sunsolve.sun.com/search/document.do?assetkey=1 -26-101800-1&searchclause=%22category:security%22%20%22 availability,%20security%22%20category:security ______________________________________________________________________________ REVISION HISTORY: 12/01/2005 - revised to reflect Sun's updates to the Contributing Factors and Relief/Workaround sections of Sun Alert ID: 101800. [***** Start Sun Alert ID: 101800 *****] Document Audience: PUBLIC Document ID: 101800 Title: Security Vulnerability in the Xsun(1) and Xprt(1) Commands Copyright Notice: Copyright © 2005 Sun Microsystems, Inc. All Rights Reserved Update Date: Wed Nov 30 00:00:00 MST 2005 Status Issued Description Top Sun(sm) Alert Notification * Sun Alert ID: 101800 * Synopsis: Security Vulnerability in the Xsun(1) and Xprt(1) Commands * Category: Security * Product: Solaris 9 Operating System, Solaris 10 Operating System, Solaris 7 Operating System, Solaris 8 Operating System * BugIDs: 6265045 * Avoidance: Patch, Workaround * State: Workaround * Date Released: 26-Sep-2005 * Date Closed: * Date Modified: 30-Nov-2005 1. Impact A security vulnerability which affects the Xsun(1) and Xprt(1) commands may allow a a local unprivileged user the ability to execute arbitrary code with the privileges of either the Xsun(1) or Xprt(1) command. Sun acknowledges, with thanks, Eric Sheridan of Towson University for bringing this issue to our attention. 2. Contributing Factors This issue can occur in the following releases: SPARC Platform * Solaris 7 without patch 108376-46 * Solaris 8 without patch 108652-93 * Solaris 9 without patch 112785-50 * Solaris 10 without patch 119059-05 x86 Platform * Solaris 7 * Solaris 8 without patch 108653-82 * Solaris 9 without patch 112786-39 * Solaris 10 without patch 119060-05 3. Symptoms There are no predictable symptoms that would indicate the described issue has been exploited. Solution Summary Top 4. Relief/Workaround To work around the described issue, remove the setuid(2) and/or setgid(2) bit from Xsun(1) and Xprt(1). Note: Performing the above procedure will disable the following: 1. The ability to run Xsun on Solaris x86. 2. Power management and Interactive Process Priority control on Solaris SPARC. 3. Xsun(1) and Xprt(1) ability to open Unix domain sockets and named pipe transports in the protected "/tmp/.X11-*" directories. Note: These features will still be available if Xsun(1) is started via display managers such as dtlogin(1) or gdm(1), however, the system would still be vulnerable to this issue. 5. Resolution This issue is addressed in the following releases: SPARC Platform * Solaris 7 with patch 108376-46 or later * Solaris 8 with patch 108652-93 or later * Solaris 9 with patch 112785-50 or later * Solaris 10 with patch 119059-05 or later x86 Platform * Solaris 8 with patch 108653-82 or later * Solaris 9 with patch 112786-39 or later * Solaris 10 with patch 119060-05 or later A final resolution is pending completion. Change History 30-Nov-2005: * Updated Contributing Factors and Relief/Workaround sections 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: 101800 *****] _______________________________________________________________________________ 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-305: Sun JAR File Contents Disclosure P-306: Apple Java Security Updates P-307: TWiki History Function Vulnerability P-308: 'kcheckpass' Vulnerability P-309: VERITAS Storage Exec DCOM Server Buffer Overflows P-310: Firefox Security Update P-311: Mozilla Security Update P-312: Apple Security Update 2005-008 P-313: Courier P-314: RealPlayer and HelixPlayer Security Update