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
  • cpe:2.3:a:gimp:gimp:2.2.14:*:*:*:*:*:*:*
    cpe:2.3:a:gimp:gimp:2.2.14:*:*:*:*:*:*:*
CVSS
Base: 6.8 (as of 16-10-2018 - 16:43)
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
cvss-vector via4 AV:N/AC:M/Au:N/C:P/I:P/A:P
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 16-10-2018 - 16:43
Published 30-04-2007 - 22:19
Back to Top