__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN Security Vulnerability With Sun N1 Grid Engine Daemons [Sun Alert ID: 102322] July 28, 2006 17:00 GMT Number Q-260 ______________________________________________________________________________ PROBLEM: A security vulnerability in the Sun N1 Grid Engine daemons may allow local unprivileged users to create a Denial of Service or buffer overflows may be exploited. PLATFORM: Sun N1 Grid Engine 6 Sun Grid Engine 5.3 DAMAGE: A security vulnerability in the Sun N1 Grid Engine daemons may allow local unprivileged users to kill either the qmaster or execd process and shutdown the grid service, creating a Denial of Service (DoS) condition. In certain cases, buffer overflows may be exploited by unprivileged local users to gain elevated privileges. SOLUTION: Apply current patches. ______________________________________________________________________________ VULNERABILITY The risk is MEDIUM. Local users could gain elevated privileges. ASSESSMENT: ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/q-260.shtml ORIGINAL BULLETIN: http://www.sunsolve.sun.com/search/document.do?assetkey=1-26-102322-1&searchclause= %22category:security%22%2420%22availability,%2420security%22%2420category:security ______________________________________________________________________________ [***** Start Sun Alert ID: 102322 *****] Sun(sm) Alert Notification * Sun Alert ID: 102322 * Synopsis: Security Vulnerability With Sun N1 Grid Engine Daemons * Category: Security * Product: Sun N1 Grid Engine 6, Sun Grid Engine 5.3 * BugIDs: 6398008, 6397987, 6365380 * Avoidance: Patch * State: Resolved * Date Released: 28-Jul-2006 * Date Closed: 28-Jul-2006 * Date Modified: 1. Impact A security vulnerability in the Sun N1 Grid Engine daemons may allow local unprivileged users to kill either the qmaster or execd process and shutdown the grid service, creating a Denial of Service (DoS) condition. In certain cases, buffer overflows may be exploited by unprivileged local users to gain elevated privileges. 2. Contributing Factors This issue can occur in the following releases: SPARC Platform * Sun Grid Engine 5.3 (32-bit Solaris) * Sun Grid Engine 5.3 (64-bit Solaris) * Sun Grid Engine 5.3 (32-bit Solaris) NON-Solaris Package format * Sun Grid Engine 5.3 (64-bit Solaris) NON-Solaris Package format * N1 Grid Engine 6.0 (32-bit Solaris) without patch 123037-01 * N1 Grid Engine 6.0 (64-bit Solaris) without patch 123038-01 * N1 Grid Engine 6.0 (32-bit Solaris) NON-Solaris Package format without patch 123041-01 * N1 Grid Engine 6.0 (64-bit Solaris) NON-Solaris Package format without patch 123042-01 x86 Platform * Sun Grid Engine 5.3 * Sun Grid Engine 5.3 NON-Solaris Package format * N1 Grid Engine 6.0 without patch 123039-01 * N1 Grid Engine 6.0 NON-Solaris Package format without patch 123043-01 * N1 Grid Engine 6.0 (x64) without patch 123040-01 * N1 Grid Engine 6.0 (x64) NON-Solaris Package format without patch 123044-01 Linux * Sun Grid Engine 5.3 * N1 Grid Engine 6.0 without patch 123045-01 * N1 Grid Engine 6.0 (x64) without patch 123046-01 Windows * N1 Grid Engine 6.0 without patch 123052-01 HP-UX * N1 Grid Engine 6.0 without patch 123050-01 AIX * N1 Grid Engine 6.0 (for AIX 4.3) without patch 123047-01 * N1 Grid Engine 6.0 (for AIX 5.1) without patch 123048-01 Mac OS * N1 Grid Engine 6.0 without patch 123049-01 IRIX * N1 Grid Engine 6.0 (for IRIX 6.5) without patch 123051-01 3. Symptoms Should the described exploit occur, the 'qmaster' or 'execd' process is shut down and a core file will be created. To verify that your 'qmaster' or 'execd' process is not up and running, search in the process table with the 'ps' command for the process name "sge_qmaster" or "sge_execd". The following examples show a running qmaster: On Mac OS: $ ps ax | grep sge_qmaster 526 ?? S 12:44.97 /gridware/sge/bin/darwin/sge_qmaster all other platforms (including Windows, when using Windows Services for UNIX): $ ps -ef | grep sge_qmaster sgeadmin 13001 1 0 Apr 24 ? 19:17 /gridware/sge/bin/sol-sparc64/sge_qmaster If no 'qmaster' or 'execd' process was found in the process table the cluster may be affeced by this issue. Solution Summary Top 4. Relief/Workaround There is no workaround for this issue. Please see the Resolution section below. 5. Resolution This issue is addressed in the following releases: SPARC Platform * N1 Grid Engine 6.0 (32-bit Solaris) with patch 123037-01 or later * N1 Grid Engine 6.0 (64-bit Solaris) with patch 123038-01 or later * N1 Grid Engine 6.0 (32-bit Solaris) NON-Solaris Package format with patch 123041-01 or later * N1 Grid Engine 6.0 (64-bit Solaris) NON-Solaris Package format with patch 123042-01 or later x86 Platform * N1 Grid Engine 6.0 with patch 123039-01 or later * N1 Grid Engine 6.0 NON-Solaris Package format with patch 123043-01 or later * N1 Grid Engine 6.0 (x64) with patch 123040-01 or later * N1 Grid Engine 6.0 (x64) NON-Solaris Package format with patch 123044-01 or later Linux * N1 Grid Engine 6.0 with patch 123045-01 or later * N1 Grid Engine 6.0 (x64) with patch 123046-01 or later Windows * N1 Grid Engine 6.0 with patch 123052-01 or later HP-UX * N1 Grid Engine 6.0 with patch 123050-01 or later AIX * N1 Grid Engine 6.0 (for AIX 4.3) with patch 123047-01 or later * N1 Grid Engine 6.0 (for AIX 5.1) with patch 123048-01 or later Mac OS * N1 Grid Engine 6.0 with patch 123049-01 or later IRIX * N1 Grid Engine 6.0 (for IRIX 6.5) with patch 123051-01 or later Note: Sun Grid Engine 5.3 will require an upgrade to N1 Grid Engine 6.0 with the appropriate patches to resolve this issue. [***** End Sun Alert ID: 102322 *****] _______________________________________________________________________________ CIAC wishes to acknowledge the contributions of Sun 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-250: Multiple Vulnerabilities in Cisco Security Monitoring, Analysis and Response System (CS-MARS) Q-251: Oracle Critical Patch Update - July 2006 Q-252: libwmf Security Update Q-253: gimp Security Update Q-254: SeaMonkey Security Update (was Mozilla) Q-255: OpenSSH Security Update Q-256: Adobe Acrobat Buffer Overflow Vulnerability Q-257: PHP Security Update Q-258: Mozilla (now SeaMonkey), Firefox, Thunderbird Security Vulnerabilities Q-259: Seamonkey Security Update