GLSA-200904-07 : Xpdf: Untrusted search path

medium Nessus Plugin ID 36095

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-200904-07 (Xpdf: Untrusted search path)

Erik Wallin reported that Gentoo's Xpdf attempts to read the 'xpdfrc' file from the current working directory if it cannot find a '.xpdfrc' file in the user's home directory. This is caused by a missing definition of the SYSTEM_XPDFRC macro when compiling a repackaged version of Xpdf.
Impact :

A local attacker could entice a user to run 'xpdf' from a directory containing a specially crafted 'xpdfrc' file, resulting in the execution of arbitrary code when attempting to, e.g., print a file.
Workaround :

Do not run Xpdf from untrusted working directories.

Solution

All Xpdf users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=app-text/xpdf-3.02-r2'

See Also

https://security.gentoo.org/glsa/200904-07

Plugin Details

Severity: Medium

ID: 36095

File Name: gentoo_GLSA-200904-07.nasl

Version: 1.13

Type: local

Published: 4/7/2009

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.9

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

Vulnerability Information

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

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

Patch Publication Date: 4/7/2009

Reference Information

CVE: CVE-2009-1144

CWE: 94

GLSA: 200904-07