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

                       Note d'Information No. 2004/VULN457
_____________________________________________________________________

DATE                      : 20/10/2004

HARDWARE PLATFORM(S)      : /

OPERATING SYSTEM(S)       : Solaris 9, Linux.

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

Sun(sm) Alert Notification

      * Sun Alert ID: 57652
      * Synopsis: Security Vulnerabilities in libXpm May Allow a Remote
        Unprivileged User to Execute Arbitrary Code
      * Category: Security
      * Product: Solaris, Sun Java Desktop System (JDS)
      * BugIDs: 5077952, 5105762
      * Avoidance: T-Patch, Patch
      * State: Engineering Complete
      * Date Released: 15-Oct-2004
      * Date Closed:
      * Date Modified:

1. Impact

    Security vulnerabilities in the X Pixmap library (libXpm) may allow a
    remote unprivileged user the ability to execute arbitrary code with
    the privileges of a local user when that local user has loaded a X
    Pixmap (Xpm) format image file supplied by an untrusted user.

    Note: The X Pixmap library (libXpm) is used to manipulate and display
    small images in X windowing systems.

    These issues are described in the following documents:

      * [2]http://scary.beasts.org/security/CESA-2004-003.txt
      * [3]http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0687

2. Contributing Factors

    These issues can occur in the following releases:

    SPARC Platform

      * Solaris 9

    x86 Platform

      * Solaris 9

    Linux

      * Sun Java Desktop System (JDS) 2003 without the updated RPMs
        (patch-9367)
      * Sun Java Desktop System (JDS) Release 2 without the updated RPMs
        (patch-9367)

    Note: Solaris 8 and earlier versions of Solaris are not affected by
    the described issues.

    These issues only occur on JDS Linux systems with libXpm versions
    XFree86-libs-4.3.0-123 or earlier.

    To determine the release of JDS for Linux installed on a system, the
    following command can be run:

     % cat /etc/sun-release
     Sun Java Desktop System, Release 2 -build 10b (GA)
     Assembled 30 March 2004

    To determine the version of libXpm, the following command can be run:

     % rpm -qf /usr/X11R6/lib/libXpm.so.4.11
     XFree86-libs-4.3.0-123

3. Symptoms

    There are no predictable symptoms that would indicate the described
    issues have been exploited.

    Solution Summary [4]Top

4. Relief/Workaround

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

    SPARC

      * Solaris 9 T-patch T118300-01

    x86 Platform

      * Solaris 9 T-patch T118301-01

5. Resolution

    This issue is addressed in the following releases:

    Linux

      * Sun Java Desktop System (JDS) 2003 with the updated RPMs
        (patch-9367)
      * Sun Java Desktop System (JDS) Release 2 with the updated RPMs
        (patch-9367)

    To download and install the updated RPMs from the update servers
    select the following from the launch bar:

     Launch >> Applications >> System Tools >> Online Update


    For more information on obtaining updates see:

      * [6]http://wwws.sun.com/software/javadesktopsystem/faq.html#5q5
      * [7]http://wwws.sun.com/software/javadesktopsystem/faq.html#5q7

    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-2004 Sun Microsystems, Inc., 4150 Network Circle, Santa
    Clara, CA 95054 U.S.A. All rights reserved.

References

    1. http://sunsolve.sun.com/search/printfriendly.do?assetkey=1-26-57652-1#top
    2. http://scary.beasts.org/security/CESA-2004-003.txt
    3. http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0687
    4. http://sunsolve.sun.com/search/printfriendly.do?assetkey=1-26-57652-1#top
    5. http://sunsolve.sun.com/tpatches
    6. http://wwws.sun.com/software/javadesktopsystem/faq.html#5q5
    7. http://wwws.sun.com/software/javadesktopsystem/faq.html#5q7

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

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






