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

                         Note d'Information No. 2007/VULN531
_____________________________________________________________________

DATE                      : 20/12/2007

HARDWARE PLATFORM(S)      : /

OPERATING SYSTEM(S)       : Solaris 10 running GIMP.

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

Sun(sm) Alert Notification
      * Sun Alert ID: 103170
      * Synopsis: Multiple Security Vulnerabilities Within the GIMP
        Plugins
      * Category: Security
      * Product: Solaris 10 Operating System
      * BugIDs: 6569992, 6569966, 6263045
      * Avoidance: Patch, Workaround
      * State: Workaround
      * Date Released: 17-Dec-2007
      * Date Closed:
      * Date Modified: 18-Nov-2007

1. Impact

    Multiple security vulnerabilities exist within the plugins used by the
    Gnome Image manipulation and paint program (gimp(1)).

    These security vulnerabilities which are within the sunras, psd, and
    pcx plugins of (gimp(1)), may allow a remote unprivileged user the
    ability to crash (gimp(1)) and execute arbitrary code with the
    privileges of a local user when (gimp(1)) loads a carefully crafted
    Sun Raster image file, PSD image file, or PCX image file.

    These issues are described in the following documents:
      * CVE-2007-2356 at:
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2356
      * CVE-2007-2949 at:
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2949
      * CVE-2005-1046 at:
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-1046

2. Contributing Factors

    These issues can occur in the following releases:

    SPARC Platform
      * Solaris 10 without patch 122212-22

    x86 Platform
      * Solaris 9 with JDS release 2 installed
      * Solaris 10 without patch 122213-22

    Note: Solaris 8 and Solaris 9 on the SPARC platform and Solaris 8 on
    the x86 platform are not affected by this issue.

    To determine the version of GNOME that is currently installed on the
    system, the following command can be run (output will vary by
    platform):
     % grep distributor /usr/share/gnome/gnome-about/gnome-version.xml
     <distributor-version>Sun Java Desktop System, Release 
2</distributor-versio
n>

    Alternatively (for the same results), in a terminal window from within
    the GNOME desktop, the following command can be run:
     % /usr/bin/gnome-about


3. Symptoms

    If the described issues occur, (gimp(1)) will crash without warning
    when loading one of the affected file formats.

4. Relief/Workaround

    To work around the described issues, only load images from trusted
    sources.

    At least one of the documented issues can be worked around by using
    the "noexec_user_stack" options to defeat the most common form of
    buffer overflow attacks that store executable exploit code on the
    stack. This can be achieved by editing the "/etc/system" file and
    adding the lines:
     set noexec_user_stack = 1
     set noexec_user_stack_log = 1

    Note: A reboot will be necessary in order for the "/etc/system" change
    to take effect.

5. Resolution

    These issues are addressed in the following releases:

    SPARC Platform
      * Solaris 10 with patch 122212-22 or later

    x86 Platform
      * Solaris 10 with patch 122213-22 or later

    A final resolution is pending completion for Solaris 9 with JDS
    release 2 installed.

Change History

    18-Nov-2007:
      * Updated Contributing Factors and Resolution sections.

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




