ID CVE-2007-2356
Summary Stack-based buffer overflow in the set_color_table function in sunras.c in the SUNRAS plugin in Gimp 2.2.14 allows user-assisted remote attackers to execute arbitrary code via a crafted RAS file.
References
Vulnerable Configurations
  • GIMP 2.2.14
    cpe:2.3:a:gimp:gimp:2.2.14
CVSS
Base: 6.8 (as of 01-05-2007 - 12:22)
Impact:
Exploitability:
CWE CWE-119
CAPEC
  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
  • Overflow Binary Resource File
    An attack of this type exploits a buffer overflow vulnerability in the handling of binary resources. Binary resources may include music files like MP3, image files like JPEG files, and any other binary file. These attacks may pass unnoticed to the client machine through normal usage of files, such as a browser loading a seemingly innocent JPEG file. This can allow the attacker access to the execution stack and execute arbitrary code in the target process. This attack pattern is a variant of standard buffer overflow attacks using an unexpected vector (binary files) to wrap its attack and open up a new attack vector. The attacker is required to either directly serve the binary content to the victim, or place it in a locale like a MP3 sharing application, for the victim to download. The attacker then is notified upon the download or otherwise locates the vulnerability opened up by the buffer overflow.
  • Buffer Overflow via Symbolic Links
    This type of attack leverages the use of symbolic links to cause buffer overflows. An attacker can try to create or manipulate a symbolic link file such that its contents result in out of bounds data. When the target software processes the symbolic link file, it could potentially overflow internal buffers with insufficient bounds checking.
  • Overflow Variables and Tags
    This type of attack leverages the use of tags or variables from a formatted configuration data to cause buffer overflow. The attacker crafts a malicious HTML page or configuration file that includes oversized strings, thus causing an overflow.
  • Buffer Overflow via Parameter Expansion
    In this attack, the target software is given input that the attacker knows will be modified and expanded in size during processing. This attack relies on the target software failing to anticipate that the expanded data may exceed some internal limit, thereby creating a buffer overflow.
  • Buffer Overflow in an API Call
    This attack targets libraries or shared code modules which are vulnerable to buffer overflow attacks. An attacker who has access to an API may try to embed malicious code in the API function call and exploit a buffer overflow vulnerability in the function's implementation. All clients that make use of the code library thus become vulnerable by association. This has a very broad effect on security across a system, usually affecting more than one software process.
  • Buffer Overflow in Local Command-Line Utilities
    This attack targets command-line utilities available in a number of shells. An attacker can leverage a vulnerability found in a command-line utility to escalate privilege to root.
Access
VectorComplexityAuthentication
NETWORK MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
exploit-db via4
  • description Gimp 2.2.14 .RAS File SUNRAS Plugin Buffer Overflow Exploit. CVE-2007-2356. Local exploit for windows platform
    file exploits/windows/local/3801.c
    id EDB-ID:3801
    last seen 2016-01-31
    modified 2007-04-26
    platform windows
    port
    published 2007-04-26
    reporter Marsu
    source https://www.exploit-db.com/download/3801/
    title Gimp 2.2.14 - .ras SUNRAS Plugin Buffer Overflow Exploit
    type local
  • description Gimp 2.2.14 .RAS File Download/Execute Buffer Overflow Exploit (win32). CVE-2007-2356. Local exploit for windows platform
    id EDB-ID:3888
    last seen 2016-01-31
    modified 2007-05-09
    published 2007-05-09
    reporter Kristian Hermansen
    source https://www.exploit-db.com/download/3888/
    title Gimp 2.2.14 - .ras Download/Execute Buffer Overflow Exploit Win32
nessus via4
  • NASL family Mandriva Local Security Checks
    NASL id MANDRAKE_MDKSA-2007-108.NASL
    description Marsu discovered a stack overflow issue in the GIMP's RAS file loader. An attacker could create a carefully crafted file that would cause the GIMP to crash or potentially execute arbitrary code as the user opening the file. The updated packages have been patched to prevent this issue.
    last seen 2019-02-21
    modified 2018-07-19
    plugin id 25310
    published 2007-05-25
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=25310
    title Mandrake Linux Security Advisory : gimp (MDKSA-2007:108)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2007-0343.NASL
    description Updated gimp packages that fix a security issue are now available for Red Hat Enterprise Linux. This update has been rated as having moderate security impact by the Red Hat Security Response Team. The GIMP (GNU Image Manipulation Program) is an image composition and editing program. Marsu discovered a stack overflow bug in The GIMP RAS file loader. An attacker could create a carefully crafted file that could cause The GIMP to crash or possibly execute arbitrary code if the file was opened by a victim. (CVE-2007-2356) For users of Red Hat Enterprise Linux 5, the previous GIMP packages had a bug that concerned the execution order in which the symbolic links to externally packaged GIMP plugins are installed and removed, causing the symbolic links to vanish when the package is updated. Users of The GIMP should update to these erratum packages which contain a backported fix to correct these issues.
    last seen 2019-02-21
    modified 2018-11-16
    plugin id 25331
    published 2007-05-25
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=25331
    title RHEL 2.1 / 3 / 4 / 5 : gimp (RHSA-2007:0343)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_GIMP-3282.NASL
    description Specially crafted RAS files could cause a buffer overflow in the SUNRAS plugin. The bug could potentially be exploited to execute arbitrary code (CVE-2007-2356).
    last seen 2019-02-21
    modified 2018-07-19
    plugin id 27235
    published 2007-10-17
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=27235
    title openSUSE 10 Security Update : gimp (gimp-3282)
  • NASL family CentOS Local Security Checks
    NASL id CENTOS_RHSA-2007-0343.NASL
    description Updated gimp packages that fix a security issue are now available for Red Hat Enterprise Linux. This update has been rated as having moderate security impact by the Red Hat Security Response Team. The GIMP (GNU Image Manipulation Program) is an image composition and editing program. Marsu discovered a stack overflow bug in The GIMP RAS file loader. An attacker could create a carefully crafted file that could cause The GIMP to crash or possibly execute arbitrary code if the file was opened by a victim. (CVE-2007-2356) For users of Red Hat Enterprise Linux 5, the previous GIMP packages had a bug that concerned the execution order in which the symbolic links to externally packaged GIMP plugins are installed and removed, causing the symbolic links to vanish when the package is updated. Users of The GIMP should update to these erratum packages which contain a backported fix to correct these issues.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 25298
    published 2007-05-25
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=25298
    title CentOS 3 / 4 / 5 : gimp (CESA-2007:0343)
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-200705-08.NASL
    description The remote host is affected by the vulnerability described in GLSA-200705-08 (GIMP: Buffer overflow) Marsu discovered that the 'set_color_table()' function in the SUNRAS plugin is vulnerable to a stack-based buffer overflow. Impact : An attacker could entice a user to open a specially crafted .RAS file, possibly leading to the execution of arbitrary code with the privileges of the user running GIMP. Workaround : There is no known workaround at this time.
    last seen 2019-02-21
    modified 2018-08-10
    plugin id 25185
    published 2007-05-10
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=25185
    title GLSA-200705-08 : GIMP: Buffer overflow
  • NASL family Ubuntu Local Security Checks
    NASL id UBUNTU_USN-467-1.NASL
    description It was discovered that Gimp did not correctly handle RAS image format color tables. By tricking a user into opening a specially crafted RAS file with Gimp, an attacker could exploit this to execute arbitrary code with the user's privileges. Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-11-28
    plugin id 28067
    published 2007-11-10
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=28067
    title Ubuntu 6.06 LTS / 6.10 / 7.04 : gimp vulnerability (USN-467-1)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-1301.NASL
    description A buffer overflow has been identified in Gimp's SUNRAS plugin in versions prior to 2.2.15. This bug could allow an attacker to execute arbitrary code on the victim's computer by inducing the victim to open a specially crafted RAS file.
    last seen 2019-02-21
    modified 2018-11-28
    plugin id 25503
    published 2007-06-14
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=25503
    title Debian DSA-1301-1 : gimp - buffer overflow
  • NASL family Oracle Linux Local Security Checks
    NASL id ORACLELINUX_ELSA-2007-0343.NASL
    description From Red Hat Security Advisory 2007:0343 : Updated gimp packages that fix a security issue are now available for Red Hat Enterprise Linux. This update has been rated as having moderate security impact by the Red Hat Security Response Team. The GIMP (GNU Image Manipulation Program) is an image composition and editing program. Marsu discovered a stack overflow bug in The GIMP RAS file loader. An attacker could create a carefully crafted file that could cause The GIMP to crash or possibly execute arbitrary code if the file was opened by a victim. (CVE-2007-2356) For users of Red Hat Enterprise Linux 5, the previous GIMP packages had a bug that concerned the execution order in which the symbolic links to externally packaged GIMP plugins are installed and removed, causing the symbolic links to vanish when the package is updated. Users of The GIMP should update to these erratum packages which contain a backported fix to correct these issues.
    last seen 2019-02-21
    modified 2018-07-18
    plugin id 67491
    published 2013-07-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=67491
    title Oracle Linux 3 / 4 / 5 : gimp (ELSA-2007-0343)
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20070521_GIMP_ON_SL5_X.NASL
    description Marsu discovered a stack overflow bug in The GIMP RAS file loader. An attacker could create a carefully crafted file that could cause The GIMP to crash or possibly execute arbitrary code if the file was opened by a victim. (CVE-2007-2356) For users of Red Hat Enterprise Linux 5, the previous GIMP packages had a bug that concerned the execution order in which the symbolic links to externally packaged GIMP plugins are installed and removed, causing the symbolic links to vanish when the package is updated.
    last seen 2019-02-21
    modified 2019-01-07
    plugin id 60187
    published 2012-08-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=60187
    title Scientific Linux Security Update : gimp on SL5.x, SL4.x, SL3.x i386/x86_64
  • NASL family SuSE Local Security Checks
    NASL id SUSE_GIMP-UNSTABLE-3281.NASL
    description Specially crafted RAS files could cause a buffer overflow in the SUNRAS plugin. The bug could potentially be exploited to execute arbitrary code (CVE-2007-2356).
    last seen 2019-02-21
    modified 2018-07-19
    plugin id 27239
    published 2007-10-17
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=27239
    title openSUSE 10 Security Update : gimp-unstable (gimp-unstable-3281)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_GIMP-3283.NASL
    description Specially crafted RAS files could cause a buffer overflow in the SUNRAS plugin. The bug could potentially be exploited to execute arbitrary code. (CVE-2007-2356)
    last seen 2019-02-21
    modified 2012-05-17
    plugin id 29442
    published 2007-12-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=29442
    title SuSE 10 Security Update : gimp (ZYPP Patch Number 3283)
oval via4
  • accepted 2013-04-29T04:00:58.248-04:00
    class vulnerability
    contributors
    • name Aharon Chernin
      organization SCAP.com, LLC
    • name Dragos Prisaca
      organization G2, Inc.
    definition_extensions
    • comment The operating system installed on the system is Red Hat Enterprise Linux 3
      oval oval:org.mitre.oval:def:11782
    • comment CentOS Linux 3.x
      oval oval:org.mitre.oval:def:16651
    • comment The operating system installed on the system is Red Hat Enterprise Linux 4
      oval oval:org.mitre.oval:def:11831
    • comment CentOS Linux 4.x
      oval oval:org.mitre.oval:def:16636
    • comment Oracle Linux 4.x
      oval oval:org.mitre.oval:def:15990
    • comment The operating system installed on the system is Red Hat Enterprise Linux 5
      oval oval:org.mitre.oval:def:11414
    • comment The operating system installed on the system is CentOS Linux 5.x
      oval oval:org.mitre.oval:def:15802
    • comment Oracle Linux 5.x
      oval oval:org.mitre.oval:def:15459
    description Stack-based buffer overflow in the set_color_table function in sunras.c in the SUNRAS plugin in Gimp 2.2.14 allows user-assisted remote attackers to execute arbitrary code via a crafted RAS file.
    family unix
    id oval:org.mitre.oval:def:10054
    status accepted
    submitted 2010-07-09T03:56:16-04:00
    title Stack-based buffer overflow in the set_color_table function in sunras.c in the SUNRAS plugin in Gimp 2.2.14 allows user-assisted remote attackers to execute arbitrary code via a crafted RAS file.
    version 25
  • accepted 2008-10-20T04:00:28.436-04:00
    class vulnerability
    contributors
    name Pai Peng
    organization Hewlett-Packard
    definition_extensions
    • comment Solaris 10 (SPARC) is installed
      oval oval:org.mitre.oval:def:1440
    • comment Solaris 9 (x86) is installed
      oval oval:org.mitre.oval:def:1683
    • comment Solaris 10 (x86) is installed
      oval oval:org.mitre.oval:def:1926
    description Stack-based buffer overflow in the set_color_table function in sunras.c in the SUNRAS plugin in Gimp 2.2.14 allows user-assisted remote attackers to execute arbitrary code via a crafted RAS file.
    family unix
    id oval:org.mitre.oval:def:5960
    status accepted
    submitted 2008-09-11T11:37:41.000-04:00
    title SUNRAS Plugin of Gimp Vulnerability
    version 31
redhat via4
advisories
bugzilla
id 238993
title gimp removes symlinks to plugins of other packages when updated
oval
OR
  • AND
    • comment Red Hat Enterprise Linux 3 is installed
      oval oval:com.redhat.rhba:tst:20070026001
    • OR
      • AND
        • comment gimp is earlier than 1:1.2.3-20.3.el3
          oval oval:com.redhat.rhsa:tst:20070343002
        • comment gimp is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20070343003
      • AND
        • comment gimp-devel is earlier than 1:1.2.3-20.3.el3
          oval oval:com.redhat.rhsa:tst:20070343006
        • comment gimp-devel is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20070343007
      • AND
        • comment gimp-perl is earlier than 1:1.2.3-20.3.el3
          oval oval:com.redhat.rhsa:tst:20070343004
        • comment gimp-perl is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20070343005
  • AND
    • comment Red Hat Enterprise Linux 4 is installed
      oval oval:com.redhat.rhba:tst:20070304001
    • OR
      • AND
        • comment gimp is earlier than 1:2.0.5-6.2.el4
          oval oval:com.redhat.rhsa:tst:20070343009
        • comment gimp is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20070343003
      • AND
        • comment gimp-devel is earlier than 1:2.0.5-6.2.el4
          oval oval:com.redhat.rhsa:tst:20070343010
        • comment gimp-devel is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20070343007
  • AND
    • comment Red Hat Enterprise Linux 5 is installed
      oval oval:com.redhat.rhba:tst:20070331001
    • OR
      • AND
        • comment gimp is earlier than 2:2.2.13-2.el5
          oval oval:com.redhat.rhsa:tst:20070343012
        • comment gimp is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070343013
      • AND
        • comment gimp-devel is earlier than 2:2.2.13-2.el5
          oval oval:com.redhat.rhsa:tst:20070343014
        • comment gimp-devel is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070343015
      • AND
        • comment gimp-libs is earlier than 2:2.2.13-2.el5
          oval oval:com.redhat.rhsa:tst:20070343016
        • comment gimp-libs is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070343017
rhsa
id RHSA-2007:0343
released 2007-05-21
severity Moderate
title RHSA-2007:0343: gimp security update (Moderate)
rpms
  • gimp-1:1.2.3-20.3.el3
  • gimp-devel-1:1.2.3-20.3.el3
  • gimp-perl-1:1.2.3-20.3.el3
  • gimp-1:2.0.5-6.2.el4
  • gimp-devel-1:2.0.5-6.2.el4
  • gimp-2:2.2.13-2.el5
  • gimp-devel-2:2.2.13-2.el5
  • gimp-libs-2:2.2.13-2.el5
refmap via4
bid 23680
bugtraq 20070430 FLEA-2007-0015-1: gimp
confirm
debian DSA-1301
exploit-db 3801
gentoo GLSA-200705-08
mandriva MDKSA-2007:108
sectrack 1018092
secunia
  • 25012
  • 25111
  • 25167
  • 25239
  • 25346
  • 25359
  • 25466
  • 25573
  • 28114
sunalert
  • 103170
  • 201320
suse SUSE-SR:2007:011
ubuntu USN-467-1
vupen
  • ADV-2007-1560
  • ADV-2007-4241
xf gimp-sunras-plugin-bo(33911)
Last major update 28-07-2011 - 00:00
Published 30-04-2007 - 18:19
Last modified 16-10-2018 - 12:43
Back to Top