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

                       Note d'Information No. 2005/VULN549
_____________________________________________________________________

DATE                      : 20/09/2005

HARDWARE PLATFORM(S)      : /

OPERATING SYSTEM(S)       : Solaris 8, Solaris 9, Solaris 10.

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

Sun(sm) Alert Notification
      * Sun Alert ID: 101926
      * Synopsis: Security Vulnerability in the Xsun(1) and Xorg Servers
      * Category: Security
      * Product: Solaris 9 Operating System, Solaris 10 Operating System,
        Solaris 8 Operating System
      * BugIDs: 6316436, 6316438
      * Avoidance: T-Patch, Workaround
      * State: Workaround
      * Date Released: 15-Sep-2005
      * Date Closed:
      * Date Modified:

1. Impact

    A Security vulnerability in The Xsun(1) and Xorg servers may allow a
    local unprivileged user the ability to execute arbitrary code with the
    privileges of the Xsun(1) server when receiving a carefully crafted X
    Pixmap (Xpm) format image file.

    This issue is described in the following document:
      * http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2495

2. Contributing Factors

    This issue can occur in the following releases:

    SPARC Platform
      * Solaris 8
      * Solaris 9
      * Solaris 10

    x86 Platform
      * Solaris 8
      * Solaris 9
      * Solaris 10

    Note: The Xsun(1) server ships with all listed Solaris releases and
    platforms. The Xorg server only ships with Solaris 10 for x86 systems
    and with Java Desktop System release 2 on Solaris 9 for x86 systems.

3. Symptoms

    There are no predictable symptoms that would indicate the described
    issue has been exploited.

4. Relief/Workaround

    To work around the described issue, remove the setuid(2) and/or
    setgid(2) bit from Xsun(1) and Xorg.

    Note: Performing the above procedure will disable the following:

    1. The ability to run Xsun(1) and Xorg on Solaris x86.

    2. Power Management and Interactive Process Priority control on
    Solaris SPARC.

    3. Xsun(1) and Xorg 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) or Xorg is
    started via display managers such as dtlogin(1) or gdm(1), however,
    the system would still be vulnerable to this issue.

    Preliminary T-patches are available for the following releases from
    http://sunsolve.sun.com/tpatches:

    SPARC
      * Solaris 8 T-patch T108652-94 (for Xsun)
      * Solaris 9 T-patch T112785-52 (for Xsun)
      * Solaris 10 T-patch T119059-08 (for Xsun)

    x86
      * Solaris 8 T-patch T108653-83 (for Xsun)
      * Solaris 9 T-patch T112786-41 (for Xsun)
      * Solaris 9 T-patch T118908-02 (for Xorg)
      * Solaris 10 T-patch T119060-08 (for Xsun)
      * Solaris 10 T-patch T118966-09 (for Xorg)

5. Resolution

    A final resolution is pending completion.

    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

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

         =========================================================
         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     +
         =========================================================


