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

This script is Copyright (C) 2008-2014 Tenable Network Security, Inc.


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.

See also :

http://www.gentoo.org/security/en/glsa/glsa-200812-02.xml

Solution :

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

Risk factor :

High / CVSS Base Score : 9.3
(CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 35019 (gentoo_GLSA-200812-02.nasl)

Bugtraq ID:

CVE ID: CVE-2008-3863
CVE-2008-4306