__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN Security Vulnerabilities found in the Xorg(1) X11R6.9 and X11R7.0 Server [Sun Alert ID: 102252] March 31, 2006 22:00 GMT Number Q-161 ______________________________________________________________________________ PROBLEM: Several security vulnerabilities found in the Xorg X server. PLATFORM: Solaris 10 with patch 118966-14 through 118966-16 and without patch 118966-18 DAMAGE: A local unprivileged user may be able to create or overwrite any file on the system or execute arbitrary code with elevated privileges. SOLUTION: Apply current patches. ______________________________________________________________________________ VULNERABILITY The risk is MEDIUM - A local unprivileged user may be able to ASSESSMENT: create or overwrite any file on the system or execute arbitrary code with elevated privileges. ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/q-161.shtml ORIGINAL BULLETIN: http://www.sunsolve.sun.com/search/document.do?assetkey=1 -26-102252-1 CVE: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name= CVE-2006-0745 ______________________________________________________________________________ [***** Start Sun Alert ID: 102252 *****] Sun(sm) Alert Notification Sun Alert ID: 102252 Synopsis: Security Vulnerabilities found in the Xorg(1) X11R6.9 and X11R7.0 Server Category: Security Product: Solaris 10 Operating System BugIDs: 6396593 Avoidance: Workaround, Patch State: Resolved Date Released: 20-Mar-2006, 28-Mar-2006 Date Closed: 28-Mar-2006 Date Modified: 28-Mar-2006 1. Impact The Xorg X server (see Xorg(1)) is one of the X Window System display servers available on the Solaris x86 platform. A local unprivileged user may be able to create or overwrite any file on the system or execute arbitrary code with elevated privileges due to several security vulnerabilities found in the Xorg X server. Sun acknowledges, with thanks, the X.Org Foundation for bringing these issues to our attention. Sun also thanks Coverity for donating their 'Coverity Prevent' product to the X.Org Foundation which uncovered these issues. These issues are referenced in the following document: CVE-2006-0745 at: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-0745 2. Contributing Factors These issues can occur in the following releases: x86 Platform Solaris 10 with patch 118966-14 through 118966-16 and without patch 118966-18 Note: This issue only affects Xorg(1) X server releases 6.9 and 7.0. To determine the version of the Xorg X server the following command can be run: $ /usr/X11/bin/Xorg -version X Window System Version 6.8.0 (Sun Xorg Release 1.1 for Solaris 10) Release Date: 8 September 2004 X Protocol Version 11, Revision 0, Release 6.8 [...] 3. Symptoms There are no predictable symptoms that would show if one of the described vulnerabilities has been exploited to execute arbitrary code with elevated privileges. There also aren't any predicable symptoms which would show a system file had been overwritten as it would depend on which file had been modified. Solution Summary Top 4. Relief/Workaround Either of the following options are valid workarounds until the resolution patch can be installed on the system. 1) Backout patch 118966-14/15/16 if possible (i.e. if not freshbitted and not installed without saving files for backout) using patchrm(1M) as the root user. For example: # patchrm 118966-14 OR 2) Remove the setuid(2) bit from the Xorg server. For example as the root user the following command can be run: # chmod 755 /usr/X11/bin/Xorg Note that removing the setuid bit from the Xorg server will prevent non-root users from being able to start Xorg on Solaris x86 via the command line (typically via xinit(1)). Xorg will still be available when started via a display manager such as dtlogin(1), gdm(1) or xdm(1). 5. Resolution This issue is addressed in the following releases: x86 Platform Solaris 10 with patch 118966-18 or later Change History 28-Mar-2006: Updated Relief/Workaround and Resolution sections State: Resolved 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: 102252 *****] _______________________________________________________________________________ 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-152: snmptrapfmt Q-153: RealPlayer Security Update Q-154: Vulnerability in the way HTML Objects Handle Unexpected Method Calls Q-155: kernel-source-2.6.8 Q-156: kernel-source-2.6.8 Q-157: Flex -- buffer overflow Q-158: kernel-source-2.6.8 Q-159: Exposure of machine account credentials in winbind log files Q-160: TWiki Rdiff and Preview Scripts Ignore Access Control Settings