<<< Date Index >>>     <<< Thread Index >>>

[ GLSA 200904-07 ] Xpdf: Untrusted search path



- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200904-07
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: Xpdf: Untrusted search path
      Date: April 07, 2009
      Bugs: #242930
        ID: 200904-07

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

A vulnerability in Xpdf might allow local attackers to execute
arbitrary code.

Background
==========

Xpdf is a PDF file viewer that runs under the X Window System.

Affected packages
=================

    -------------------------------------------------------------------
     Package        /  Vulnerable  /                        Unaffected
    -------------------------------------------------------------------
  1  app-text/xpdf      < 3.02-r2                           >= 3.02-r2

Description
===========

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.

Resolution
==========

All Xpdf users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=app-text/xpdf-3.02-r2"

References
==========

  [ 1 ] CVE-2009-1144
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-1144

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200904-07.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@xxxxxxxxxx or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2009 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5

Attachment: signature.asc
Description: This is a digitally signed message part.