ID CVE-2008-0554
Summary Buffer overflow in the readImageData function in giftopnm.c in netpbm before 10.27 in netpbm before 10.27 allows remote user-assisted attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted GIF image, a similar issue to CVE-2006-4484.
References
Vulnerable Configurations
  • cpe:2.3:a:netpbm:netpbm:10.26
    cpe:2.3:a:netpbm:netpbm:10.26
CVSS
Base: 6.8 (as of 08-02-2008 - 13:09)
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
nessus via4
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2008-0131.NASL
    description Updated netpbm packages that fix a security issue are now available for Red Hat Enterprise Linux 2.1, 3, and 4. This update has been rated as having moderate security impact by the Red Hat Security Response Team. The netpbm package contains a library of functions for editing and converting between various graphics file formats, including .pbm (portable bitmaps), .pgm (portable graymaps), .pnm (portable anymaps), .ppm (portable pixmaps) and others. The package includes no interactive tools and is primarily used by other programs (eg CGI scripts that manage website images). An input validation flaw was discovered in the GIF-to-PNM converter (giftopnm) shipped with the netpbm package. An attacker could create a carefully crafted GIF file which could cause giftopnm to crash or possibly execute arbitrary code as the user running giftopnm. (CVE-2008-0554) All users are advised to upgrade to these updated packages which contain a backported patch which resolves this issue.
    last seen 2019-02-21
    modified 2018-11-27
    plugin id 31305
    published 2008-02-28
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=31305
    title RHEL 2.1 / 3 / 4 : netpbm (RHSA-2008:0131)
  • NASL family Ubuntu Local Security Checks
    NASL id UBUNTU_USN-665-1.NASL
    description It was discovered that Netpbm could be made to overrun a buffer when loading certain images. If a user were tricked into opening a specially crafted GIF image, remote attackers could cause a denial of service or execute arbitrary code with user 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 38074
    published 2009-04-23
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=38074
    title Ubuntu 6.06 LTS / 7.10 : netpbm-free vulnerability (USN-665-1)
  • NASL family Oracle Linux Local Security Checks
    NASL id ORACLELINUX_ELSA-2008-0131.NASL
    description From Red Hat Security Advisory 2008:0131 : Updated netpbm packages that fix a security issue are now available for Red Hat Enterprise Linux 2.1, 3, and 4. This update has been rated as having moderate security impact by the Red Hat Security Response Team. The netpbm package contains a library of functions for editing and converting between various graphics file formats, including .pbm (portable bitmaps), .pgm (portable graymaps), .pnm (portable anymaps), .ppm (portable pixmaps) and others. The package includes no interactive tools and is primarily used by other programs (eg CGI scripts that manage website images). An input validation flaw was discovered in the GIF-to-PNM converter (giftopnm) shipped with the netpbm package. An attacker could create a carefully crafted GIF file which could cause giftopnm to crash or possibly execute arbitrary code as the user running giftopnm. (CVE-2008-0554) All users are advised to upgrade to these updated packages which contain a backported patch which resolves this issue.
    last seen 2019-02-21
    modified 2015-12-01
    plugin id 67652
    published 2013-07-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=67652
    title Oracle Linux 3 / 4 : netpbm (ELSA-2008-0131)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-1579.NASL
    description A vulnerability was discovered in the GIF reader implementation in netpbm-free, a suite of image manipulation utilities. Insufficient input data validation could allow a maliciously-crafted GIF file to overrun a stack buffer, potentially permitting the execution of arbitrary code.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 32380
    published 2008-05-19
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=32380
    title Debian DSA-1579-1 : netpbm-free - insufficient input sanitizing
  • NASL family SuSE Local Security Checks
    NASL id SUSE9_12068.NASL
    description Specially crafted GIF images could cause a buffer overflow and crash netpbm. It seems unlikely but not entirely impossible that this overflow can be exploited to execute arbitrary code. (CVE-2008-0554)
    last seen 2019-02-21
    modified 2018-11-15
    plugin id 41194
    published 2009-09-24
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=41194
    title SuSE9 Security Update : netpbm (YOU Patch Number 12068)
  • NASL family CentOS Local Security Checks
    NASL id CENTOS_RHSA-2008-0131.NASL
    description Updated netpbm packages that fix a security issue are now available for Red Hat Enterprise Linux 2.1, 3, and 4. This update has been rated as having moderate security impact by the Red Hat Security Response Team. The netpbm package contains a library of functions for editing and converting between various graphics file formats, including .pbm (portable bitmaps), .pgm (portable graymaps), .pnm (portable anymaps), .ppm (portable pixmaps) and others. The package includes no interactive tools and is primarily used by other programs (eg CGI scripts that manage website images). An input validation flaw was discovered in the GIF-to-PNM converter (giftopnm) shipped with the netpbm package. An attacker could create a carefully crafted GIF file which could cause giftopnm to crash or possibly execute arbitrary code as the user running giftopnm. (CVE-2008-0554) All users are advised to upgrade to these updated packages which contain a backported patch which resolves this issue.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 31301
    published 2008-02-28
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=31301
    title CentOS 3 / 4 : netpbm (CESA-2008:0131)
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20080228_NETPBM_ON_SL3_X.NASL
    description An input validation flaw was discovered in the GIF-to-PNM converter (giftopnm) shipped with the netpbm package. An attacker could create a carefully crafted GIF file which could cause giftopnm to crash or possibly execute arbitrary code as the user running giftopnm. (CVE-2008-0554)
    last seen 2019-02-21
    modified 2019-01-07
    plugin id 60368
    published 2012-08-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=60368
    title Scientific Linux Security Update : netpbm on SL3.x, SL4.x i386/x86_64
oval via4
accepted 2013-04-29T04:10:23.574-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
description Buffer overflow in the readImageData function in giftopnm.c in netpbm before 10.27 in netpbm before 10.27 allows remote user-assisted attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted GIF image, a similar issue to CVE-2006-4484.
family unix
id oval:org.mitre.oval:def:10975
status accepted
submitted 2010-07-09T03:56:16-04:00
title Buffer overflow in the readImageData function in giftopnm.c in netpbm before 10.27 in netpbm before 10.27 allows remote user-assisted attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted GIF image, a similar issue to CVE-2006-4484.
version 23
redhat via4
advisories
bugzilla
id 431525
title CVE-2008-0554 netpbm: GIF handling buffer overflow in giftopnm
oval
OR
  • AND
    • comment Red Hat Enterprise Linux 3 is installed
      oval oval:com.redhat.rhba:tst:20070026001
    • OR
      • AND
        • comment netpbm is earlier than 0:9.24-11.30.5
          oval oval:com.redhat.rhsa:tst:20080131002
        • comment netpbm is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20080131003
      • AND
        • comment netpbm-devel is earlier than 0:9.24-11.30.5
          oval oval:com.redhat.rhsa:tst:20080131004
        • comment netpbm-devel is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20080131005
      • AND
        • comment netpbm-progs is earlier than 0:9.24-11.30.5
          oval oval:com.redhat.rhsa:tst:20080131006
        • comment netpbm-progs is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20080131007
  • AND
    • comment Red Hat Enterprise Linux 4 is installed
      oval oval:com.redhat.rhba:tst:20070304001
    • OR
      • AND
        • comment netpbm is earlier than 0:10.25-2.EL4.6.el4_6.1
          oval oval:com.redhat.rhsa:tst:20080131009
        • comment netpbm is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20080131003
      • AND
        • comment netpbm-devel is earlier than 0:10.25-2.EL4.6.el4_6.1
          oval oval:com.redhat.rhsa:tst:20080131010
        • comment netpbm-devel is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20080131005
      • AND
        • comment netpbm-progs is earlier than 0:10.25-2.EL4.6.el4_6.1
          oval oval:com.redhat.rhsa:tst:20080131011
        • comment netpbm-progs is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20080131007
rhsa
id RHSA-2008:0131
released 2008-02-28
severity Moderate
title RHSA-2008:0131: netpbm security update (Moderate)
rpms
  • netpbm-0:9.24-11.30.5
  • netpbm-devel-0:9.24-11.30.5
  • netpbm-progs-0:9.24-11.30.5
  • netpbm-0:10.25-2.EL4.6.el4_6.1
  • netpbm-devel-0:10.25-2.EL4.6.el4_6.1
  • netpbm-progs-0:10.25-2.EL4.6.el4_6.1
refmap via4
bid 27682
confirm http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=464056
debian DSA-1579
mandriva MDVSA-2008:039
misc https://issues.rpath.com/browse/RPL-2216
sectrack 1019358
secunia
  • 29079
  • 30280
  • 32607
ubuntu USN-665-1
vupen ADV-2008-0460
Last major update 29-10-2012 - 23:06
Published 07-02-2008 - 21:00
Last modified 28-09-2017 - 21:30
Back to Top