ID CVE-2008-4306
Summary Buffer overflow in enscript before 1.6.4 has unknown impact and attack vectors, possibly related to the font escape sequence.
References
Vulnerable Configurations
  • cpe:2.3:o:ubuntu:linux:6.06:lts
    cpe:2.3:o:ubuntu:linux:6.06:lts
  • cpe:2.3:o:ubuntu:linux:7.10
    cpe:2.3:o:ubuntu:linux:7.10
  • cpe:2.3:o:ubuntu:linux:8.04:lts
    cpe:2.3:o:ubuntu:linux:8.04:lts
  • cpe:2.3:o:ubuntu:linux:8.10
    cpe:2.3:o:ubuntu:linux:8.10
CVSS
Base: 9.3 (as of 04-11-2008 - 17:31)
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
COMPLETE COMPLETE COMPLETE
nessus via4
  • NASL family Oracle Linux Local Security Checks
    NASL id ORACLELINUX_ELSA-2008-1021.NASL
    description From Red Hat Security Advisory 2008:1021 : An updated enscript packages that fixes several security issues is 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. GNU enscript converts ASCII files to PostScript(R) language files and spools the generated output to a specified printer or saves it to a file. Enscript can be extended to handle different output media and includes options for customizing printouts. Several buffer overflow flaws were found in GNU enscript. An attacker could craft an ASCII file in such a way that it could execute arbitrary commands if the file was opened with enscript with the 'special escapes' option (-e or --escapes) enabled. (CVE-2008-3863, CVE-2008-4306, CVE-2008-5078) All users of enscript should upgrade to these updated packages, which contain backported patches to correct these issues.
    last seen 2019-02-21
    modified 2018-08-13
    plugin id 67773
    published 2013-07-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=67773
    title Oracle Linux 3 / 4 : enscript (ELSA-2008-1021)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2008-1021.NASL
    description An updated enscript packages that fixes several security issues is 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. GNU enscript converts ASCII files to PostScript(R) language files and spools the generated output to a specified printer or saves it to a file. Enscript can be extended to handle different output media and includes options for customizing printouts. Several buffer overflow flaws were found in GNU enscript. An attacker could craft an ASCII file in such a way that it could execute arbitrary commands if the file was opened with enscript with the 'special escapes' option (-e or --escapes) enabled. (CVE-2008-3863, CVE-2008-4306, CVE-2008-5078) All users of enscript should upgrade to these updated packages, which contain backported patches to correct these issues.
    last seen 2019-02-21
    modified 2018-11-27
    plugin id 35180
    published 2008-12-16
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=35180
    title RHEL 2.1 / 3 / 4 : enscript (RHSA-2008:1021)
  • NASL family Ubuntu Local Security Checks
    NASL id UBUNTU_USN-660-1.NASL
    description Ulf Harnhammar discovered multiple stack overflows in enscript's handling of special escape arguments. If a user or automated system were tricked into processing a malicious file with the '-e' option enabled, a remote attacker could execute arbitrary code or cause enscript to crash, possibly leading to a denial of service. 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 38023
    published 2009-04-23
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=38023
    title Ubuntu 6.06 LTS / 7.10 / 8.04 LTS / 8.10 : enscript vulnerability (USN-660-1)
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-200812-02.NASL
    description The remote host is affected by the vulnerability described in GLSA-200812-02 (enscript: User-assisted execution of arbitrary code) Two stack-based buffer overflows in the read_special_escape() function in src/psgen.c have been reported. Ulf Harnhammar of Secunia Research discovered a vulnerability related to the 'setfilename' command (CVE-2008-3863), and Kees Cook of Ubuntu discovered a vulnerability related to the 'font' escape sequence (CVE-2008-4306). Impact : An attacker could entice a user or automated system to process specially crafted input with the special escapes processing enabled using the '-e' option, possibly resulting in the execution of arbitrary code. Workaround : There is no known workaround at this time.
    last seen 2019-02-21
    modified 2018-07-11
    plugin id 35019
    published 2008-12-03
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=35019
    title GLSA-200812-02 : enscript: User-assisted execution of arbitrary code
  • NASL family Oracle Linux Local Security Checks
    NASL id ORACLELINUX_ELSA-2008-1016.NASL
    description From Red Hat Security Advisory 2008:1016 : An updated enscript packages that fixes several security issues is now available for Red Hat Enterprise Linux 5. This update has been rated as having moderate security impact by the Red Hat Security Response Team. GNU enscript converts ASCII files to PostScript(R) language files and spools the generated output to a specified printer or saves it to a file. Enscript can be extended to handle different output media and includes options for customizing printouts. Two buffer overflow flaws were found in GNU enscript. An attacker could craft an ASCII file in such a way that it could execute arbitrary commands if the file was opened with enscript with the 'special escapes' option (-e or --escapes) enabled. (CVE-2008-3863, CVE-2008-4306) All users of enscript should upgrade to these updated packages, which contain backported patches to correct these issues.
    last seen 2019-02-21
    modified 2019-01-02
    plugin id 67771
    published 2013-07-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=67771
    title Oracle Linux 5 : enscript (ELSA-2008-1016)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2008-9372.NASL
    description There were found various buffer overflows in enscript. This update fixes CVE-2008-3863 and CVE-2008-4306 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora 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 34705
    published 2008-11-06
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=34705
    title Fedora 9 : enscript-1.6.4-10.fc9 (2008-9372)
  • NASL family Mandriva Local Security Checks
    NASL id MANDRIVA_MDVSA-2008-243.NASL
    description Two buffer overflow vulnerabilities were discovered in GNU enscript, which could allow an attacker to execute arbitrary commands via a specially crafted ASCII file, if the file were opened with the -e or --escapes option enabled (CVE-2008-3863, CVE-2008-4306). The updated packages have been patched to prevent these issues.
    last seen 2019-02-21
    modified 2019-01-02
    plugin id 36321
    published 2009-04-23
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=36321
    title Mandriva Linux Security Advisory : enscript (MDVSA-2008:243)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-1670.NASL
    description Several vulnerabilities have been discovered in Enscript, a converter from ASCII text to Postscript, HTML or RTF. The Common Vulnerabilities and Exposures project identifies the following problems : - CVE-2008-3863 Ulf Harnhammer discovered that a buffer overflow may lead to the execution of arbitrary code. - CVE-2008-4306 Kees Cook and Tomas Hoger discovered that several buffer overflows may lead to the execution of arbitrary code.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 34949
    published 2008-11-25
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=34949
    title Debian DSA-1670-1 : enscript - buffer overflows
  • NASL family CentOS Local Security Checks
    NASL id CENTOS_RHSA-2008-1016.NASL
    description An updated enscript packages that fixes several security issues is now available for Red Hat Enterprise Linux 5. This update has been rated as having moderate security impact by the Red Hat Security Response Team. GNU enscript converts ASCII files to PostScript(R) language files and spools the generated output to a specified printer or saves it to a file. Enscript can be extended to handle different output media and includes options for customizing printouts. Two buffer overflow flaws were found in GNU enscript. An attacker could craft an ASCII file in such a way that it could execute arbitrary commands if the file was opened with enscript with the 'special escapes' option (-e or --escapes) enabled. (CVE-2008-3863, CVE-2008-4306) All users of enscript should upgrade to these updated packages, which contain backported patches to correct these issues.
    last seen 2019-02-21
    modified 2018-11-28
    plugin id 43718
    published 2010-01-06
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=43718
    title CentOS 5 : enscript (CESA-2008:1016)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2008-1016.NASL
    description An updated enscript packages that fixes several security issues is now available for Red Hat Enterprise Linux 5. This update has been rated as having moderate security impact by the Red Hat Security Response Team. GNU enscript converts ASCII files to PostScript(R) language files and spools the generated output to a specified printer or saves it to a file. Enscript can be extended to handle different output media and includes options for customizing printouts. Two buffer overflow flaws were found in GNU enscript. An attacker could craft an ASCII file in such a way that it could execute arbitrary commands if the file was opened with enscript with the 'special escapes' option (-e or --escapes) enabled. (CVE-2008-3863, CVE-2008-4306) All users of enscript should upgrade to these updated packages, which contain backported patches to correct these issues.
    last seen 2019-02-21
    modified 2019-01-02
    plugin id 35178
    published 2008-12-16
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=35178
    title RHEL 5 : enscript (RHSA-2008:1016)
  • NASL family CentOS Local Security Checks
    NASL id CENTOS_RHSA-2008-1021.NASL
    description An updated enscript packages that fixes several security issues is 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. GNU enscript converts ASCII files to PostScript(R) language files and spools the generated output to a specified printer or saves it to a file. Enscript can be extended to handle different output media and includes options for customizing printouts. Several buffer overflow flaws were found in GNU enscript. An attacker could craft an ASCII file in such a way that it could execute arbitrary commands if the file was opened with enscript with the 'special escapes' option (-e or --escapes) enabled. (CVE-2008-3863, CVE-2008-4306, CVE-2008-5078) All users of enscript should upgrade to these updated packages, which contain backported patches to correct these issues.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 35172
    published 2008-12-16
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=35172
    title CentOS 3 / 4 : enscript (CESA-2008:1021)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2008-9351.NASL
    description There were found various buffer overflows in enscript. This update fixes CVE-2008-3863 and CVE-2008-4306 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora 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 34702
    published 2008-11-06
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=34702
    title Fedora 8 : enscript-1.6.4-9.fc8 (2008-9351)
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20081215_ENSCRIPT_ON_SL3_X.NASL
    description Several buffer overflow flaws were found in GNU enscript. An attacker could craft an ASCII file in such a way that it could execute arbitrary commands if the file was opened with enscript with the 'special escapes' option (-e or --escapes) enabled. (CVE-2008-3863, CVE-2008-4306, CVE-2008-5078)
    last seen 2019-02-21
    modified 2019-01-07
    plugin id 60504
    published 2012-08-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=60504
    title Scientific Linux Security Update : enscript on SL3.x, SL4.x, SL5.x i386/x86_64
  • NASL family FreeBSD Local Security Checks
    NASL id FREEBSD_PKG_A1126054B57C11DD88920017319806E7.NASL
    description Ulf Harnhammar of Secunia Research reports : Stack-based buffer overflow in the read_special_escape function in src/psgen.c in GNU Enscript 1.6.1 and 1.6.4 beta, when the -e (aka special escapes processing) option is enabled, allows user-assisted remote attackers to execute arbitrary code via a crafted ASCII file, related to the setfilename command.
    last seen 2019-02-21
    modified 2018-12-19
    plugin id 34817
    published 2008-11-19
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=34817
    title FreeBSD : enscript -- arbitrary code execution vulnerability (a1126054-b57c-11dd-8892-0017319806e7)
oval via4
accepted 2013-04-29T04:08:02.346-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 Buffer overflow in enscript before 1.6.4 has unknown impact and attack vectors, possibly related to the font escape sequence.
family unix
id oval:org.mitre.oval:def:10718
status accepted
submitted 2010-07-09T03:56:16-04:00
title Buffer overflow in enscript before 1.6.4 has unknown impact and attack vectors, possibly related to the font escape sequence.
version 24
redhat via4
advisories
  • bugzilla
    id 469311
    title special escape buffer overflows
    oval
    AND
    • comment Red Hat Enterprise Linux 5 is installed
      oval oval:com.redhat.rhba:tst:20070331001
    • comment enscript is earlier than 0:1.6.4-4.1.1.el5_2
      oval oval:com.redhat.rhsa:tst:20081016002
    • comment enscript is signed with Red Hat redhatrelease key
      oval oval:com.redhat.rhsa:tst:20081016003
    rhsa
    id RHSA-2008:1016
    released 2008-12-15
    severity Moderate
    title RHSA-2008:1016: enscript security update (Moderate)
  • rhsa
    id RHSA-2008:1021
rpms
  • enscript-0:1.6.4-4.1.1.el5_2
  • enscript-0:1.6.1-24.7
  • enscript-0:1.6.1-33.el4_7.1
refmap via4
bugtraq 20081117 rPSA-2008-0321-1 enscript
confirm
debian DSA-1670
fedora
  • FEDORA-2008-9351
  • FEDORA-2008-9372
gentoo GLSA-200812-02
mandriva MDVSA-2008:243
osvdb 49569
secunia
  • 32521
  • 32530
  • 32753
  • 32854
  • 32970
  • 33109
suse SUSE-SR:2008:024
ubuntu USN-660-1
Last major update 05-11-2012 - 23:09
Published 04-11-2008 - 16:00
Last modified 11-10-2018 - 16:51
Back to Top