Note: This is an archival copy of Security Sun Alert 201320 as previously published on http://sunsolve.sun.com.
Latest version of this security advisory is available from http://support.oracle.com as Sun Alert 1000995.1.
Article ID : 1000995.1
Article Type : Sun Alerts (SURE)
Last reviewed : 2008-09-09
Audience : PUBLIC
Copyright Notice: Copyright © 2010, Oracle Corporation and/or its affiliates.

Multiple Security Vulnerabilities Within the GIMP Plugins



Category
Security

Release Phase
Resolved

Product
Solaris 10 Operating System

Bug Id
6569992, 6569966, 6263045

Date of Workaround Release
17-Dec-2007

Date of Resolved Release
10-Sep-2008

Multiple security vulnerabilities exist within the plugins used by the Gnome Image manipulation and paint program (gimp(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:

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 without patch 121775-01
  • 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-version>

Alternatively (for the same results), in a terminal window from within the GNOME desktop, the following command can be run:

    % /usr/bin/gnome-about

 Symptoms

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

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.

Resolution

These issues are addressed in the following releases:

SPARC Platform

  • Solaris 10 with patch 122212-22 or later

x86 Platform

  • Solaris 9 with JDS release 2 with patch 121775-01 or later
  • Solaris 10 with patch 122213-22 or later
For more information on Security Sun Alerts, see 1009886.1.

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


Modification History
10-Sep-2008: Updated Contributing Factors and Resolution sections. Resolved.


References

122213-22
122212-22
121775-01





Attachments
This solution has no attachment