Vulnerabilities > CVE-2012-2763 - Classic Buffer Overflow vulnerability in Gimp

047910
CVSS 0.0 - NONE
Attack vector
UNKNOWN
Attack complexity
UNKNOWN
Privileges required
UNKNOWN
Confidentiality impact
UNKNOWN
Integrity impact
UNKNOWN
Availability impact
UNKNOWN
gimp
CWE-120
nessus
exploit available
metasploit

Summary

Buffer overflow in the readstr_upto function in plug-ins/script-fu/tinyscheme/scheme.c in GIMP 2.6.12 and earlier, and possibly 2.6.13, allows remote attackers to execute arbitrary code via a long string in a command to the script-fu server.

Vulnerable Configurations

Part Description Count
Application
Gimp
178

Common Attack Pattern Enumeration and Classification (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.

Exploit-Db

  • descriptionGIMP 2.6 script-fu < 2.8.0 - Buffer Overflow Vulnerability. CVE-2012-2763. Dos exploit for windows platform
    idEDB-ID:18956
    last seen2016-02-02
    modified2012-05-31
    published2012-05-31
    reporterJoseph Sheridan
    sourcehttps://www.exploit-db.com/download/18956/
    titleGIMP 2.6 script-fu < 2.8.0 - Buffer Overflow Vulnerability
  • descriptionGIMP script-fu Server Buffer Overflow. CVE-2012-2763. Remote exploit for windows platform
    idEDB-ID:18973
    last seen2016-02-02
    modified2012-06-02
    published2012-06-02
    reportermetasploit
    sourcehttps://www.exploit-db.com/download/18973/
    titleGIMP script-fu Server Buffer Overflow

Metasploit

descriptionThis module exploits a buffer overflow in the script-fu server component on GIMP <= 2.6.12. By sending a specially crafted packet, an attacker may be able to achieve remote code execution under the context of the user. This module has been tested on GIMP for Windows from installers provided by Jernej Simoncic.
idMSF:EXPLOIT/WINDOWS/MISC/GIMP_SCRIPT_FU
last seen2020-05-26
modified2017-07-24
published2012-06-01
references
reporterRapid7
sourcehttps://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/misc/gimp_script_fu.rb
titleGIMP script-fu Server Buffer Overflow

Nessus

  • NASL familyGentoo Local Security Checks
    NASL idGENTOO_GLSA-201209-23.NASL
    descriptionThe remote host is affected by the vulnerability described in GLSA-201209-23 (GIMP: Multiple vulnerabilities) Multiple vulnerabilities have been discovered in GIMP. Please review the CVE identifiers referenced below for details. Impact : A remote attacker could possibly execute arbitrary code with the privileges of the process or cause a Denial of Service condition. Workaround : There is no known workaround at this time.
    last seen2020-06-01
    modified2020-06-02
    plugin id62379
    published2012-09-29
    reporterThis script is Copyright (C) 2012-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/62379
    titleGLSA-201209-23 : GIMP: Multiple vulnerabilities
  • NASL familySolaris Local Security Checks
    NASL idSOLARIS11_GIMP_20120918.NASL
    descriptionThe remote Solaris system is missing necessary patches to address security updates : - Buffer overflow in the readstr_upto function in plug-ins/script-fu/tinyscheme/ scheme.c in GIMP 2.6.12 and earlier, and possibly 2.6.13, allows remote attackers to execute arbitrary code via a long string in a command to the script-fu server. (CVE-2012-2763)
    last seen2020-06-01
    modified2020-06-02
    plugin id80619
    published2015-01-19
    reporterThis script is Copyright (C) 2015-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/80619
    titleOracle Solaris Third-Party Patch Update : gimp (cve_2012_2763_buffer_overflow)
  • NASL familySuSE Local Security Checks
    NASL idOPENSUSE-2012-583.NASL
    descriptionFixed 2 gimp security bugs : - fixed bnc#724628 CVE-2012-3481: gimp: GIF plugin
    last seen2020-06-05
    modified2014-06-13
    plugin id74745
    published2014-06-13
    reporterThis script is Copyright (C) 2014-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/74745
    titleopenSUSE Security Update : gimp (openSUSE-SU-2012:1131-1)
  • NASL familySuSE Local Security Checks
    NASL idSUSE_11_GIMP-120713.NASL
    descriptionThis update of Gimp fixed a remotely exploitable buffer overflow in Script-Fu
    last seen2020-06-05
    modified2013-01-25
    plugin id64147
    published2013-01-25
    reporterThis script is Copyright (C) 2013-2020 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/64147
    titleSuSE 11.1 Security Update : Gimp (SAT Patch Number 6542)
  • NASL familySuSE Local Security Checks
    NASL idOPENSUSE-2012-543.NASL
    descriptionMultiple integer overflows in various decoder plug-ins of GIMP have been fixed.
    last seen2020-06-05
    modified2014-06-13
    plugin id74735
    published2014-06-13
    reporterThis script is Copyright (C) 2014-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/74735
    titleopenSUSE Security Update : gimp (openSUSE-SU-2012:1080-1)

Packetstorm

data sourcehttps://packetstormsecurity.com/files/download/113201/gimp_script_fu.rb.txt
idPACKETSTORM:113201
last seen2016-12-05
published2012-06-02
reporterjuan vazquez
sourcehttps://packetstormsecurity.com/files/113201/GIMP-script-fu-Server-Buffer-Overflow.html
titleGIMP script-fu Server Buffer Overflow

Saint

bid53741
descriptionGIMP Script-Fu Server Buffer Overflow
osvdb82429
titlegimp_scriptfu_server
typeremote

Seebug

  • bulletinFamilyexploit
    descriptionNo description provided by source.
    idSSV:60173
    last seen2017-11-19
    modified2012-06-01
    published2012-06-01
    reporterRoot
    sourcehttps://www.seebug.org/vuldb/ssvid-60173
    titleGIMP 2.6 script-fu &lt; 2.8.0 Buffer Overflow Vulnerability
  • bulletinFamilyexploit
    descriptionNo description provided by source.
    idSSV:72945
    last seen2017-11-19
    modified2014-07-01
    published2014-07-01
    reporterRoot
    sourcehttps://www.seebug.org/vuldb/ssvid-72945
    titleGIMP 2.6 script-fu < 2.8.0 - Buffer Overflow Vulnerability