GIMP seek_to_and_unpack_pixeldata code execution
| gimp-unpackpixeldata-code-execution (35246) |
Description:
GIMP could allow a remote attacker to execute arbitrary code on the system, caused by an integer overflow in the seek_to_and_unpack_pixeldata function. By persuading a victim to open a specially-crafted PSD file with an overly large width or height value, a remote attacker could exploit this vulnerability to execute arbitrary code on the system.
Platforms Affected:
- Canonical, Ubuntu 6.06 LTS
- Canonical, Ubuntu 6.10
- Canonical, Ubuntu 7.04
- Debian, Debian Linux 3.1
- Debian, Debian Linux 4.0
- Gentoo, Linux
- GIMP, GIMP 2.2.15 and prior
- MandrakeSoft, Mandrake Linux 2007
- MandrakeSoft, Mandrake Linux 2007 X86_64
- MandrakeSoft, Mandrake Linux 2007.1
- MandrakeSoft, Mandrake Linux 2007.1 X86_64
- MandrakeSoft, Mandrake Linux 2008.0 X86_64
- MandrakeSoft, Mandrake Linux Corporate Server 3.0
- MandrakeSoft, Mandrake Linux Corporate Server 3.0 X86_64
- RedHat, Enterprise Linux 2.1 AS
- RedHat, Enterprise Linux 2.1 ES
- RedHat, Enterprise Linux 2.1 WS
- RedHat, Enterprise Linux 3 AS
- RedHat, Enterprise Linux 3 ES
- RedHat, Enterprise Linux 3 Desktop
- RedHat, Enterprise Linux 3 WS
- RedHat, Enterprise Linux 4 Desktop
- RedHat, Enterprise Linux 4 WS
- RedHat, Enterprise Linux 4 ES
- RedHat, Enterprise Linux 4 AS
- RedHat, Enterprise Linux 5 Client Workstation
- RedHat, Enterprise Linux 5 Client
- RedHat, Enterprise Linux 5 Server
- RedHat, Enterprise Linux 5
- RedHat, Enterprise Linux Desktop 5.0
- RedHat, Linux Advanced Workstation 2.1 Itanium
- Sun, Solaris 10 SPARC
- Sun, Solaris 10 x86
- Sun, Solaris 9 x86
- SuSE, SuSE Linux
Remedy:
Apply the fix for this vulnerability, available from the GIMP SVN Repository. See References.
For Ubuntu Linux:
Refer to USN-480-1 for patch, upgrade, or suggested workaround information. See References.
For Debian/GNU Linux:
Refer to DSA-1335-1 for patch, upgrade, or suggested workaround information. See References.
For Gentoo Linux (GIMP):
Refer to GLSA 200707-09 for patch, upgrade, or suggested workaround information. See References.
For SUSE Linux:
Refer to SUSE-SR:2007:015 for patch, upgrade, or suggested workaround information. See References.
For Mandriva Linux (gimp):
Refer to MDKSA-2007:170 for patch, upgrade, or suggested workaround information. See References.
For Red Hat Linux:
Refer to RHSA-2007:0513-8 for patch, upgrade, or suggested workaround information. See References.
For other distributions:
Apply the appropriate update for your system. See References.
Consequences:
Gain Access
References:
- GIMP SVN Repository Mon Jun 18 19:35:11 2007 UTC, [gimp] View of /branches/gimp-2-2/ChangeLog at http://svn.gnome.org/viewcvs/gimp/branches/gimp-2-2/ChangeLog?view=markup&pathrev=22798.
- NORTEL BULLETIN ID: 2008009107, Rev 1, Nortel Response to Sun Alert 201320 - Multiple Security Vulnerabilities Within the GIMP Plugins at http://support.nortel.com/go/main.jsp?cscat=BLTNDETAIL&id=774938.
- Secunia Research 03/07/2007, Gimp PSD Plugin Integer Overflow Vulnerability at http://secunia.com/secunia_research/2007-63/advisory/.
- Sun Alert ID: 103170, Multiple Security Vulnerabilities Within the GIMP Plugins at http://sunsolve.sun.com:80/search/document.do?assetkey=1-26-103170-1.
- ASA-2007-457: GIMP security update (RHSA-2007-0513)
- ASA-2008-011: Multiple Security Vulnerabilities Within the GIMP Plugins (Sun 103170)
- BID-24745: GIMP PSD File Integer Overflow Vulnerability
- CVE-2007-2949: Integer overflow in the seek_to_and_unpack_pixeldata function in the psd.c plugin in Gimp 2.2.15 allows remote attackers to execute arbitrary code via a crafted PSD file that contains a large (1) width or (2) height value.
- DSA-1335: gimp -- several vulnerabilities
- GLSA-200707-09: GIMP: Multiple integer overflows
- MDKSA-2007:170: Updated gimp packages fix input data validation issues in several plugins
- RHSA-2007-0513: Moderate: gimp security update
- SA25677: Gimp Loader Plugins Integer Overflow Vulnerabilities
- SA28114: Sun Solaris Gimp Multiple Vulnerabilities
- SUSE-SR:2007:015: SUSE Security Summary Report
- US-CERT VU#399896: GIMP integer overflow vulnerability
- USN-480-1: Gimp vulnerability
- VUPEN/ADV-2007-2421: GIMP PSD Plugin seek_to_and_unpack_pixeldata() Integer Overflow Vulnerability
- VUPEN/ADV-2007-4241: Sun Solaris Multiple GIMP Plugin Command Execution Vulnerabilities
Reported:
Jun 18, 2007
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
