GLSA-200812-02 : enscript: User-assisted execution of arbitrary code

high Nessus Plugin ID 35019

Synopsis

The remote Gentoo host is missing one or more security-related patches.

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.

Solution

All enscript users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=app-text/enscript-1.6.4-r4'

See Also

https://security.gentoo.org/glsa/200812-02

Plugin Details

Severity: High

ID: 35019

File Name: gentoo_GLSA-200812-02.nasl

Version: 1.15

Type: local

Published: 12/3/2008

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 9.3

Temporal Score: 6.9

Vector: CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:enscript, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Ease: No known exploits are available

Patch Publication Date: 12/2/2008

Reference Information

CVE: CVE-2008-3863, CVE-2008-4306

BID: 31858

CWE: 119

GLSA: 200812-02