ID CVE-2008-0411
Summary Stack-based buffer overflow in the zseticcspace function in zicc.c in Ghostscript 8.61 and earlier allows remote attackers to execute arbitrary code via a postscript (.ps) file containing a long Range array in a .seticcspace operator.
References
Vulnerable Configurations
  • cpe:2.3:o:debian:debian_linux:3.1:*:*:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:3.1:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:3.1:*:alpha:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:3.1:*:alpha:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:3.1:*:amd64:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:3.1:*:amd64:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:3.1:*:arm:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:3.1:*:arm:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:3.1:*:hppa:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:3.1:*:hppa:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:3.1:*:ia-32:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:3.1:*:ia-32:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:3.1:*:ia-64:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:3.1:*:ia-64:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:3.1:*:m68k:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:3.1:*:m68k:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:3.1:*:mips:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:3.1:*:mips:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:3.1:*:mipsel:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:3.1:*:mipsel:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:3.1:*:ppc:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:3.1:*:ppc:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:3.1:*:s-390:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:3.1:*:s-390:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:3.1:*:sparc:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:3.1:*:sparc:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:4.0:*:*:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:4.0:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:4.0:*:alpha:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:4.0:*:alpha:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:4.0:*:amd64:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:4.0:*:amd64:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:4.0:*:arm:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:4.0:*:arm:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:4.0:*:hppa:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:4.0:*:hppa:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:4.0:*:ia-32:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:4.0:*:ia-32:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:4.0:*:ia-64:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:4.0:*:ia-64:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:4.0:*:m68k:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:4.0:*:m68k:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:4.0:*:mips:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:4.0:*:mips:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:4.0:*:mipsel:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:4.0:*:mipsel:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:4.0:*:powerpc:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:4.0:*:powerpc:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:4.0:*:s-390:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:4.0:*:s-390:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:4.0:*:sparc:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:4.0:*:sparc:*:*:*:*:*
  • cpe:2.3:o:mandrakesoft:mandrake_linux:2007:*:*:*:*:*:*:*
    cpe:2.3:o:mandrakesoft:mandrake_linux:2007:*:*:*:*:*:*:*
  • cpe:2.3:o:mandrakesoft:mandrake_linux:2007.0_x86_64:*:*:*:*:*:*:*
    cpe:2.3:o:mandrakesoft:mandrake_linux:2007.0_x86_64:*:*:*:*:*:*:*
  • cpe:2.3:o:mandrakesoft:mandrake_linux:2007.1:*:*:*:*:*:*:*
    cpe:2.3:o:mandrakesoft:mandrake_linux:2007.1:*:*:*:*:*:*:*
  • cpe:2.3:o:mandrakesoft:mandrake_linux:2007.1:*:x86-64:*:*:*:*:*
    cpe:2.3:o:mandrakesoft:mandrake_linux:2007.1:*:x86-64:*:*:*:*:*
  • cpe:2.3:o:mandrakesoft:mandrake_linux:2008.0:*:*:*:*:*:*:*
    cpe:2.3:o:mandrakesoft:mandrake_linux:2008.0:*:*:*:*:*:*:*
  • cpe:2.3:o:mandrakesoft:mandrake_linux:2008.0:*:x86-64:*:*:*:*:*
    cpe:2.3:o:mandrakesoft:mandrake_linux:2008.0:*:x86-64:*:*:*:*:*
  • cpe:2.3:o:mandrakesoft:mandrake_linux_corporate_server:3.0:*:*:*:*:*:*:*
    cpe:2.3:o:mandrakesoft:mandrake_linux_corporate_server:3.0:*:*:*:*:*:*:*
  • cpe:2.3:o:mandrakesoft:mandrake_linux_corporate_server:4.0:*:*:*:*:*:*:*
    cpe:2.3:o:mandrakesoft:mandrake_linux_corporate_server:4.0:*:*:*:*:*:*:*
  • cpe:2.3:o:mandrakesoft:mandrakesoft_corporate_server:3.0_x86_64:*:*:*:*:*:*:*
    cpe:2.3:o:mandrakesoft:mandrakesoft_corporate_server:3.0_x86_64:*:*:*:*:*:*:*
  • cpe:2.3:o:mandrakesoft:mandrakesoft_corporate_server:4.0_x86_64:*:*:*:*:*:*:*
    cpe:2.3:o:mandrakesoft:mandrakesoft_corporate_server:4.0_x86_64:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:desktop:3.0:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:desktop:3.0:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:desktop:4.0:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:desktop:4.0:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:5:*:server:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux:5:*:server:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:as_3:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux:as_3:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:as_4:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux:as_4:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:es_3:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux:es_3:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:es_4:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux:es_4:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:ws_3:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux:ws_3:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:ws_4:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux:ws_4:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_desktop:5:*:client:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_desktop:5:*:client:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_desktop_workstation:5:*:client:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_desktop_workstation:5:*:client:*:*:*:*:*
  • cpe:2.3:o:rpath:rpath_linux:1:*:*:*:*:*:*:*
    cpe:2.3:o:rpath:rpath_linux:1:*:*:*:*:*:*:*
  • cpe:2.3:o:suse:novell_linux_pos:9:*:*:*:*:*:*:*
    cpe:2.3:o:suse:novell_linux_pos:9:*:*:*:*:*:*:*
  • cpe:2.3:o:suse:open_suse:10.2:*:*:*:*:*:*:*
    cpe:2.3:o:suse:open_suse:10.2:*:*:*:*:*:*:*
  • cpe:2.3:o:suse:open_suse:10.3:*:*:*:*:*:*:*
    cpe:2.3:o:suse:open_suse:10.3:*:*:*:*:*:*:*
  • cpe:2.3:o:suse:suse_linux:9.0:*:enterprise_server:*:*:*:*:*
    cpe:2.3:o:suse:suse_linux:9.0:*:enterprise_server:*:*:*:*:*
  • cpe:2.3:o:suse:suse_linux:10:sp1:enterprise_desktop:*:*:*:*:*
    cpe:2.3:o:suse:suse_linux:10:sp1:enterprise_desktop:*:*:*:*:*
  • cpe:2.3:o:suse:suse_linux:10:sp1:enterprise_server:*:*:*:*:*
    cpe:2.3:o:suse:suse_linux:10:sp1:enterprise_server:*:*:*:*:*
  • cpe:2.3:o:suse:suse_linux:10.1:*:ppc:*:*:*:*:*
    cpe:2.3:o:suse:suse_linux:10.1:*:ppc:*:*:*:*:*
  • cpe:2.3:o:suse:suse_linux:10.1:*:x86:*:*:*:*:*
    cpe:2.3:o:suse:suse_linux:10.1:*:x86:*:*:*:*:*
  • cpe:2.3:o:suse:suse_linux:10.1:*:x86_64:*:*:*:*:*
    cpe:2.3:o:suse:suse_linux:10.1:*:x86_64:*:*:*:*:*
  • cpe:2.3:o:suse:suse_open_enterprise_server:0:*:*:*:*:*:*:*
    cpe:2.3:o:suse:suse_open_enterprise_server:0:*:*:*:*:*:*:*
  • cpe:2.3:a:ghostscript:ghostscript:*:*:*:*:*:*:*:*
    cpe:2.3:a:ghostscript:ghostscript:*:*:*:*:*:*:*:*
  • cpe:2.3:a:ghostscript:ghostscript:0:*:*:*:*:*:*:*
    cpe:2.3:a:ghostscript:ghostscript:0:*:*:*:*:*:*:*
  • cpe:2.3:a:ghostscript:ghostscript:8.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:ghostscript:ghostscript:8.0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:ghostscript:ghostscript:8.15:*:*:*:*:*:*:*
    cpe:2.3:a:ghostscript:ghostscript:8.15:*:*:*:*:*:*:*
CVSS
Base: 6.8 (as of 15-10-2018 - 21:59)
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:20:14.110-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 zseticcspace function in zicc.c in Ghostscript 8.61 and earlier allows remote attackers to execute arbitrary code via a postscript (.ps) file containing a long Range array in a .seticcspace operator.
family unix
id oval:org.mitre.oval:def:9557
status accepted
submitted 2010-07-09T03:56:16-04:00
title Stack-based buffer overflow in the zseticcspace function in zicc.c in Ghostscript 8.61 and earlier allows remote attackers to execute arbitrary code via a postscript (.ps) file containing a long Range array in a .seticcspace operator.
version 24
redhat via4
advisories
bugzilla
id 431536
title CVE-2008-0411 ghostscript: stack-based buffer overflow in .seticcspace operator
oval
OR
  • AND
    • comment Red Hat Enterprise Linux 3 is installed
      oval oval:com.redhat.rhba:tst:20070026001
    • OR
      • AND
        • comment ghostscript is earlier than 0:7.05-32.1.13
          oval oval:com.redhat.rhsa:tst:20080155002
        • comment ghostscript is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20080155003
      • AND
        • comment ghostscript-devel is earlier than 0:7.05-32.1.13
          oval oval:com.redhat.rhsa:tst:20080155004
        • comment ghostscript-devel is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20080155005
      • AND
        • comment hpijs is earlier than 0:1.3-32.1.13
          oval oval:com.redhat.rhsa:tst:20080155006
        • comment hpijs is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20080155007
  • AND
    • comment Red Hat Enterprise Linux 4 is installed
      oval oval:com.redhat.rhba:tst:20070304001
    • OR
      • AND
        • comment ghostscript is earlier than 0:7.07-33.2.el4_6.1
          oval oval:com.redhat.rhsa:tst:20080155009
        • comment ghostscript is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20080155003
      • AND
        • comment ghostscript-devel is earlier than 0:7.07-33.2.el4_6.1
          oval oval:com.redhat.rhsa:tst:20080155012
        • comment ghostscript-devel is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20080155005
      • AND
        • comment ghostscript-gtk is earlier than 0:7.07-33.2.el4_6.1
          oval oval:com.redhat.rhsa:tst:20080155010
        • comment ghostscript-gtk is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20080155011
  • AND
    • comment Red Hat Enterprise Linux 5 is installed
      oval oval:com.redhat.rhba:tst:20070331001
    • OR
      • AND
        • comment ghostscript is earlier than 0:8.15.2-9.1.el5_1.1
          oval oval:com.redhat.rhsa:tst:20080155014
        • comment ghostscript is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20080155015
      • AND
        • comment ghostscript-devel is earlier than 0:8.15.2-9.1.el5_1.1
          oval oval:com.redhat.rhsa:tst:20080155016
        • comment ghostscript-devel is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20080155017
      • AND
        • comment ghostscript-gtk is earlier than 0:8.15.2-9.1.el5_1.1
          oval oval:com.redhat.rhsa:tst:20080155018
        • comment ghostscript-gtk is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20080155019
rhsa
id RHSA-2008:0155
released 2008-02-27
severity Important
title RHSA-2008:0155: ghostscript security update (Important)
rpms
  • ghostscript-0:7.05-32.1.13
  • ghostscript-devel-0:7.05-32.1.13
  • hpijs-0:1.3-32.1.13
  • ghostscript-0:7.07-33.2.el4_6.1
  • ghostscript-devel-0:7.07-33.2.el4_6.1
  • ghostscript-gtk-0:7.07-33.2.el4_6.1
  • ghostscript-0:8.15.2-9.1.el5_1.1
  • ghostscript-devel-0:8.15.2-9.1.el5_1.1
  • ghostscript-gtk-0:8.15.2-9.1.el5_1.1
refmap via4
bid 28017
bugtraq
  • 20080228 Ghostscript buffer overflow
  • 20080228 rPSA-2008-0082-1 espgs
confirm
debian DSA-1510
fedora FEDORA-2008-1998
gentoo GLSA-200803-14
mandriva MDVSA-2008:055
misc http://scary.beasts.org/security/CESA-2008-001.html
sectrack 1019511
secunia
  • 29101
  • 29103
  • 29112
  • 29135
  • 29147
  • 29154
  • 29169
  • 29196
  • 29314
  • 29768
slackware SSA:2008-062-01
suse SUSE-SA:2008:010
ubuntu USN-599-1
vupen ADV-2008-0693
Last major update 15-10-2018 - 21:59
Published 28-02-2008 - 21:44
Back to Top