blob: c9fbbfd3a7b6198a4a5b53ccb2f466012eb8407e [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200904-07">
<title>Xpdf: Untrusted search path</title>
<synopsis>
A vulnerability in Xpdf might allow local attackers to execute arbitrary
code.
</synopsis>
<product type="ebuild">xpdf</product>
<announced>April 07, 2009</announced>
<revised>April 07, 2009: 01</revised>
<bug>242930</bug>
<access>local</access>
<affected>
<package name="app-text/xpdf" auto="yes" arch="*">
<unaffected range="ge">3.02-r2</unaffected>
<vulnerable range="lt">3.02-r2</vulnerable>
</package>
</affected>
<background>
<p>
Xpdf is a PDF file viewer that runs under the X Window System.
</p>
</background>
<description>
<p>
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.
</p>
</description>
<impact type="normal">
<p>
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.
</p>
</impact>
<workaround>
<p>
Do not run Xpdf from untrusted working directories.
</p>
</workaround>
<resolution>
<p>
All Xpdf users should upgrade to the latest version:
</p>
<code>
# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=app-text/xpdf-3.02-r2&quot;</code>
</resolution>
<references>
<uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-1144">CVE-2009-1144</uri>
</references>
<metadata tag="requester" timestamp="Sat, 04 Apr 2009 12:41:57 +0000">
rbu
</metadata>
<metadata tag="submitter" timestamp="Sat, 04 Apr 2009 12:52:05 +0000">
rbu
</metadata>
<metadata tag="bugReady" timestamp="Sat, 04 Apr 2009 12:52:11 +0000">
rbu
</metadata>
</glsa>