ID CVE-2004-0783
Summary Stack-based buffer overflow in xpm_extract_color (io-xpm.c) in the XPM image decoder for gtk+ 2.4.4 (gtk2) and earlier, and gdk-pixbuf before 0.22, may allow remote attackers to execute arbitrary code via a certain color string. NOTE: this identifier is ONLY for gtk+. It was incorrectly referenced in an advisory for a different issue (CVE-2004-0688).
References
Vulnerable Configurations
  • cpe:2.3:a:gnome:gdkpixbuf:0.17
    cpe:2.3:a:gnome:gdkpixbuf:0.17
  • cpe:2.3:a:gnome:gdkpixbuf:0.18
    cpe:2.3:a:gnome:gdkpixbuf:0.18
  • cpe:2.3:a:gnome:gdkpixbuf:0.20
    cpe:2.3:a:gnome:gdkpixbuf:0.20
  • cpe:2.3:a:gnome:gdkpixbuf:0.22
    cpe:2.3:a:gnome:gdkpixbuf:0.22
  • cpe:2.3:a:gtk:gtk%2b:2.0.2
    cpe:2.3:a:gtk:gtk%2b:2.0.2
  • cpe:2.3:a:gtk:gtk%2b:2.0.6
    cpe:2.3:a:gtk:gtk%2b:2.0.6
  • cpe:2.3:a:gtk:gtk%2b:2.2.1
    cpe:2.3:a:gtk:gtk%2b:2.2.1
  • cpe:2.3:a:gtk:gtk%2b:2.2.3
    cpe:2.3:a:gtk:gtk%2b:2.2.3
  • cpe:2.3:a:gtk:gtk%2b:2.2.4
    cpe:2.3:a:gtk:gtk%2b:2.2.4
CVSS
Base: 7.5 (as of 01-01-2004 - 00:00)
Impact:
Exploitability:
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
nessus via4
  • NASL family Mandriva Local Security Checks
    NASL id MANDRAKE_MDKSA-2004-096.NASL
    description Two Denial of Service conditions were discovered in the input filter of mod_ssl, the module that enables apache to handle HTTPS requests. Another vulnerability was discovered by the ASF security team using the Codenomicon HTTP Test Tool. This vulnerability, in the apr-util library, can possibly lead to arbitrary code execution if certain non-default conditions are met (enabling the AP_ENABLE_EXCEPTION_HOOK define). As well, the SITIC have discovered a buffer overflow when Apache expands environment variables in configuration files such as .htaccess and httpd.conf, which can lead to possible privilege escalation. This can only be done, however, if an attacker is able to place malicious configuration files on the server. Finally, a crash condition was discovered in the mod_dav module by Julian Reschke, where sending a LOCK refresh request to an indirectly locked resource could crash the server. The updated packages have been patched to protect against these vulnerabilities.
    last seen 2019-02-21
    modified 2018-07-19
    plugin id 14752
    published 2004-09-16
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=14752
    title Mandrake Linux Security Advisory : apache2 (MDKSA-2004:096)
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-200409-28.NASL
    description The remote host is affected by the vulnerability described in GLSA-200409-28 (GTK+ 2, gdk-pixbuf: Multiple image decoding vulnerabilities) A vulnerability has been discovered in the BMP image preprocessor (CAN-2004-0753). Furthermore, Chris Evans found a possible integer overflow in the pixbuf_create_from_xpm() function, resulting in a heap overflow (CAN-2004-0782). He also found a potential stack-based buffer overflow in the xpm_extract_color() function (CAN-2004-0783). A possible integer overflow has also been found in the ICO decoder. Impact : With a specially crafted BMP image an attacker could cause an affected application to enter an infinite loop when that image is being processed. Also, by making use of specially crafted XPM or ICO images an attacker could trigger the overflows, which potentially allows the execution of arbitrary code. Workaround : There is no known workaround at this time.
    last seen 2019-02-21
    modified 2018-11-19
    plugin id 14791
    published 2004-09-22
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=14791
    title GLSA-200409-28 : GTK+ 2, gdk-pixbuf: Multiple image decoding vulnerabilities
  • NASL family Mandriva Local Security Checks
    NASL id MANDRAKE_MDKSA-2005-214.NASL
    description A heap overflow vulnerability in the GTK+ gdk-pixbuf XPM image rendering library could allow for arbitrary code execution. This allows an attacker to provide a carefully crafted XPM image which could possibly allow for arbitrary code execution in the context of the user viewing the image. (CVE-2005-3186) Ludwig Nussel discovered an integer overflow bug in the way gdk-pixbuf processes XPM images. An attacker could create a carefully crafted XPM file in such a way that it could cause an application linked with gdk-pixbuf to execute arbitrary code or crash when the file was opened by a victim. (CVE-2005-2976) Ludwig Nussel also discovered an infinite-loop denial of service bug in the way gdk-pixbuf processes XPM images. An attacker could create a carefully crafted XPM file in such a way that it could cause an application linked with gdk-pixbuf to stop responding when the file was opened by a victim. (CVE-2005-2975) The gtk+2.0 library also contains the same gdk-pixbuf code with the same vulnerability. The Corporate Server 2.1 packages have additional patches to address CVE-2004-0782,0783,0788 (additional XPM/ICO image issues), CVE-2004-0753 (BMP image issues) and CVE-2005-0891 (additional BMP issues). These were overlooked on this platform with earlier updates. The updated packages have been patched to correct these issues.
    last seen 2019-02-21
    modified 2018-07-19
    plugin id 20446
    published 2006-01-15
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=20446
    title Mandrake Linux Security Advisory : gdk-pixbuf (MDKSA-2005:214)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-546.NASL
    description Chris Evans discovered several problems in gdk-pixbuf, the GdkPixBuf library used in Gtk. It is possible for an attacker to execute arbitrary code on the victims machine. Gdk-pixbuf for Gtk+1.2 is an external package. For Gtk+2.0 it's part of the main gtk package. The Common Vulnerabilities and Exposures Project identifies the following vulnerabilities : - CAN-2004-0753 Denial of service in bmp loader. - CAN-2004-0782 Heap-based overflow in pixbuf_create_from_xpm. - CAN-2004-0788 Integer overflow in the ico loader.
    last seen 2019-02-21
    modified 2018-08-09
    plugin id 15383
    published 2004-09-29
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=15383
    title Debian DSA-546-1 : gdk-pixbuf - several vulnerabilities
  • NASL family SuSE Local Security Checks
    NASL id SUSE_SA_2004_033.NASL
    description The remote host is missing the patch for the advisory SUSE-SA:2004:033 (gtk2, gdk-pixbuf). gdk-pixbuf is an image loading and rendering library mostly used by GTK and GNOME applications. It is distributed as a separate package for gtk1 and integrated into the gtk2 package. Chris Evans has discovered a heap based, a stack based and an integer overflow in the XPM and ICO loaders of those libraries. The overflows can be exploited by tricking an application to display a malformed image to make it crash or to execute code.
    last seen 2019-02-21
    modified 2016-12-27
    plugin id 14769
    published 2004-09-17
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=14769
    title SUSE-SA:2004:033: gtk2, gdk-pixbuf
  • NASL family FreeBSD Local Security Checks
    NASL id FREEBSD_PKG_3D1E9267073F11D9B45D000C41E2CDAD.NASL
    description Chris Evans discovered several flaws in the gdk-pixbuf XPM image decoder : - Heap-based overflow in pixbuf_create_from_xpm - Stack-based overflow in xpm_extract_color - Integer overflows in io-ico.c Some of these flaws are believed to be exploitable.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 18908
    published 2005-07-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=18908
    title FreeBSD : gdk-pixbuf -- image decoding vulnerabilities (3d1e9267-073f-11d9-b45d-000c41e2cdad)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2004-447.NASL
    description Updated gdk-pixbuf packages that fix several security flaws are now available. The gdk-pixbuf package contains an image loading library used with the GNOME GUI desktop environment. [Updated 15th September 2004] Packages have been updated to correct a bug which caused the xpm loader to fail. During testing of a previously fixed flaw in Qt (CVE-2004-0691), a flaw was discovered in the BMP image processor of gdk-pixbuf. An attacker could create a carefully crafted BMP file which would cause an application to enter an infinite loop and not respond to user input when the file was opened by a victim. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2004-0753 to this issue. During a security audit, Chris Evans discovered a stack and a heap overflow in the XPM image decoder. An attacker could create a carefully crafted XPM file which could cause an application linked with gtk2 to crash or possibly execute arbitrary code when the file was opened by a victim. (CVE-2004-0782, CVE-2004-0783) Chris Evans also discovered an integer overflow in the ICO image decoder. An attacker could create a carefully crafted ICO file which could cause an application linked with gtk2 to crash when the file is opened by a victim. (CVE-2004-0788) These packages have also been updated to correct a bug which caused the xpm loader to fail. Users of gdk-pixbuf are advised to upgrade to these packages, which contain backported patches and are not vulnerable to these issues.
    last seen 2019-02-21
    modified 2018-11-27
    plugin id 14738
    published 2004-09-15
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=14738
    title RHEL 2.1 / 3 : gdk-pixbuf (RHSA-2004:447)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-549.NASL
    description Chris Evans discovered several problems in gdk-pixbuf, the GdkPixBuf library used in Gtk. It is possible for an attacker to execute arbitrary code on the victims machine. Gdk-pixbuf for Gtk+1.2 is an external package. For Gtk+2.0 it's part of the main gtk package. The Common Vulnerabilities and Exposures Project identifies the following vulnerabilities : - CAN-2004-0782 Heap-based overflow in pixbuf_create_from_xpm. - CAN-2004-0783 Stack-based overflow in xpm_extract_color. - CAN-2004-0788 Integer overflow in the ico loader.
    last seen 2019-02-21
    modified 2018-07-20
    plugin id 15386
    published 2004-09-29
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=15386
    title Debian DSA-549-1 : gtk+ - several vulnerabilities
  • NASL family Mandriva Local Security Checks
    NASL id MANDRAKE_MDKSA-2004-095.NASL
    description A vulnerability was found in the gdk-pixbug bmp loader where a bad BMP image could send the bmp loader into an infinite loop (CVE-2004-0753). Chris Evans found a heap-based overflow and a stack-based overflow in the xpm loader of gdk-pixbuf (CVE-2004-0782 and CVE-2004-0783). Chris Evans also discovered an integer overflow in the ico loader of gdk-pixbuf (CVE-2004-0788). All four problems have been corrected in these updated packages. Update : The previous package had an incorrect patch applied that would cause some problems with other programs. The updated packages have the correct patch applied. As well, patched gtk+2 packages, which also contain gdk-pixbuf, are now provided.
    last seen 2019-02-21
    modified 2018-07-19
    plugin id 14751
    published 2004-09-16
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=14751
    title Mandrake Linux Security Advisory : gdk-pixbuf/gtk+2 (MDKSA-2004:095-1)
  • NASL family SuSE Local Security Checks
    NASL id SUSE9_9368.NASL
    description Three security vulnerabilities have been found in the loader for XPM images of the GTK library. These issues are : - Potential heap overflow in pixbuf_create_from_xpm(). (CVE-2004-0782) - Potential stack overflow in xpm_extract_color(). (CVE-2004-0783) - Potential integer overflow in the ICO icon format loader. (CVE-2004-0788) Depending on the actual application calling the affected library functions, these bugs may be locally or remotely exploitable. This update fixes a bug in earlier update packages for the same problem.
    last seen 2019-02-21
    modified 2018-11-15
    plugin id 41331
    published 2009-09-24
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=41331
    title SuSE9 Security Update : gdk-pixbuf (YOU Patch Number 9368)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2004-466.NASL
    description Updated gtk2 packages that fix several security flaws and bugs are now available. The gtk2 package contains the GIMP ToolKit (GTK+), a library for creating graphical user interfaces for the X Window System. During testing of a previously fixed flaw in Qt (CVE-2004-0691), a flaw was discovered in the BMP image processor of gtk2. An attacker could create a carefully crafted BMP file which would cause an application to enter an infinite loop and not respond to user input when the file was opened by a victim. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2004-0753 to this issue. During a security audit Chris Evans discovered a stack and a heap overflow in the XPM image decoder. An attacker could create a carefully crafted XPM file which could cause an application linked with gtk2 to crash or possibly execute arbitrary code when the file was opened by a victim. (CVE-2004-0782, CVE-2004-0783) Chris Evans also discovered an integer overflow in the ICO image decoder. An attacker could create a carefully crafted ICO file which could cause an application linked with gtk2 to crash when the file was opened by a victim. (CVE-2004-0788) This updated gtk2 package also fixes a few key combination bugs on various X servers, such as Hummingbird, ReflectionX, and X-Win32. If a server was configured to use the Swiss German, Swiss French, or France French keyboard layouts, Mode_Switched characters were unable to be entered within GTK based applications. Users of gtk2 are advised to upgrade to these packages which contain backported patches and are not vulnerable to these issues.
    last seen 2019-02-21
    modified 2018-11-27
    plugin id 14734
    published 2004-09-15
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=14734
    title RHEL 3 : gtk2 (RHSA-2004:466)
oval via4
  • accepted 2011-05-09T04:01:20.204-04:00
    class vulnerability
    contributors
    • name Robert L. Hollis
      organization ThreatGuard, Inc.
    • name Shane Shaffer
      organization G2, Inc.
    description Stack-based buffer overflow in xpm_extract_color (io-xpm.c) in the XPM image decoder for gtk+ 2.4.4 (gtk2) and earlier, and gdk-pixbuf before 0.22, may allow remote attackers to execute arbitrary code via a certain color string. NOTE: this identifier is ONLY for gtk+. It was incorrectly referenced in an advisory for a different issue (CVE-2004-0688).
    family unix
    id oval:org.mitre.oval:def:1786
    status accepted
    submitted 2006-03-21T04:03:00.000-04:00
    title XPM Image Decoder Malicious Color String Vulnerability
    version 34
  • accepted 2013-04-29T04:18:54.575-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
    description Stack-based buffer overflow in xpm_extract_color (io-xpm.c) in the XPM image decoder for gtk+ 2.4.4 (gtk2) and earlier, and gdk-pixbuf before 0.22, may allow remote attackers to execute arbitrary code via a certain color string. NOTE: this identifier is ONLY for gtk+. It was incorrectly referenced in an advisory for a different issue (CVE-2004-0688).
    family unix
    id oval:org.mitre.oval:def:9348
    status accepted
    submitted 2010-07-09T03:56:16-04:00
    title Stack-based buffer overflow in xpm_extract_color (io-xpm.c) in the XPM image decoder for gtk+ 2.4.4 (gtk2) and earlier, and gdk-pixbuf before 0.22, may allow remote attackers to execute arbitrary code via a certain color string. NOTE: this identifier is ONLY for gtk+. It was incorrectly referenced in an advisory for a different issue (CVE-2004-0688).
    version 23
redhat via4
advisories
  • rhsa
    id RHSA-2004:447
  • rhsa
    id RHSA-2004:466
refmap via4
bid 11195
bugtraq 20040915 CESA-2004-005: gtk+ XPM decoder
cert-vn VU#369358
conectiva CLA-2004:875
fedora
  • FLSA-2005:155510
  • FLSA:2005
mandrake
  • MDKSA-2004:095
  • MDKSA-2004:096
mandriva MDKSA-2005:214
misc http://scary.beasts.org/security/CESA-2004-005.txt
secunia 17657
sunalert 101776
xf gtk-xpm-xpmextractcolor-bo(17385)
Last major update 17-10-2016 - 22:48
Published 20-10-2004 - 00:00
Last modified 19-10-2018 - 11:30
Back to Top