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

High Nessus Plugin ID 35019

New! Vulnerability Priority Rating (VPR)

Tenable calculates a dynamic VPR for every vulnerability. VPR combines vulnerability information with threat intelligence and machine learning algorithms to predict which vulnerabilities are most likely to be exploited in attacks. Read more about what VPR is and how it's different from CVSS.

VPR Score: 5.9

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: 2008/12/03

Updated: 2021/01/06

Dependencies: 12634

Risk Information

Risk Factor: High

VPR Score: 5.9

CVSS v2.0

Base Score: 9.3

Temporal Score: 6.9

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

Temporal Vector: CVSS2#E:U/RL:OF/RC: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 Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2008/12/02

Reference Information

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

BID: 31858

GLSA: 200812-02

CWE: 119