=====================================================================
                                    CERT-Renater

                         Note d'Information No. 2006/VULN416
_____________________________________________________________________

DATE                      : 01/08/2006

HARDWARE PLATFORM(S)      : /

OPERATING SYSTEM(S)       : Systems running Sun N1 Grid Engine 6.0,
                                             Sun Grid Engine 5.3.

======================================================================

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.

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.

    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

======================================================================

           =========================================================
           Les serveurs de référence du CERT-Renater
           http://www.urec.fr/securite
           http://www.cru.fr/securite
           http://www.renater.fr
           =========================================================
           + CERT-RENATER          | tel : 01-53-94-20-44          +
           + 151 bd de l'Hopital   | fax : 01-53-94-20-41          +
           + 75013 Paris           | email: certsvp@renater.fr     +
           =========================================================





