SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Generic)  >   Xpdf Vendors:   Glyph and Cog
(Gentoo Issues Fix) Xpdf Integer Overflows in indexHigh and pageSize May Let Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1011867
SecurityTracker URL:  http://securitytracker.com/id/1011867
CVE Reference:   CVE-2004-0888   (Links to External Site)
Date:  Oct 21 2004
Impact:   Execution of arbitrary code via network, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 3.00
Description:   Some integer overflows were reported in Xpdf. A remote user may be able to execute arbitrary code on a target user's system.

Several vendors reported that there are integer overflows in Xpdf. A remote user can create a specially crafted PDF file that, when viewed by the target user, may execute arbitrary code.

The flaws reside in 'pdftops/Catalog.cc' and 'pdftops/XRef.cc'. A specially crafted Index color size (indexHigh) or Page size can trigger the overflow.

Chris Evans is credited with discovering these flaws.

CUPS, the Common UNIX Printing System, is also affected because it includes Xpdf.

Impact:   A remote user may be able to execute arbitrary code on a target user's system when the target user loads a malformed PDF file.
Solution:   Gentoo has released a fix and indicates that all Xpdf users should upgrade to the latest version:

# emerge sync

# emerge -pv ">=app-text/xpdf-3.00-r3"
# emerge ">=app-text/xpdf-3.00-r3"

Vendor URL:  www.foolabs.com/xpdf/ (Links to External Site)
Cause:   Boundary error
Underlying OS:  Linux (Gentoo)

Message History:   This archive entry is a follow-up to the message listed below.
Oct 21 2004 Xpdf Integer Overflows in indexHigh and pageSize May Let Remote Users Execute Arbitrary Code



 Source Message Contents

Subject:  [gentoo-announce] [ GLSA 200410-20 ] Xpdf, CUPS: Multiple integer overflows


This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig75945C01A5B4FFB74C415DBF
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200410-20
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: Xpdf, CUPS: Multiple integer overflows
      Date: October 21, 2004
        ID: 200410-20

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

Synopsis
========

Multiple integer overflows were discovered in Xpdf, potentially
resulting in execution of arbitrary code upon viewing a malicious PDF
file. CUPS includes Xpdf code and therefore is vulnerable to the same
issues.

Background
==========

Xpdf is an open source viewer for Portable Document Format (PDF) files.
The Common UNIX Printing System (CUPS) is a cross-platform print
spooler that includes some Xpdf code.

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

    -------------------------------------------------------------------
     Package         /   Vulnerable   /                     Unaffected
    -------------------------------------------------------------------
  1  app-text/xpdf       <= 3.00-r2                         >= 3.00-r3
  2  net-print/cups     <= 1.1.20-r3                      >= 1.1.20-r4
    -------------------------------------------------------------------
     2 affected packages on all of their supported architectures.
    -------------------------------------------------------------------

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

Chris Evans discovered multiple integer overflow issues in Xpdf.

Impact
======

An attacker could entice an user to open a specially-crafted PDF file,
potentially resulting in execution of arbitrary code with the rights of
the user running Xpdf. By enticing an user to directly print the PDF
file to a CUPS printer, an attacker could also crash the CUPS spooler
or execute arbitrary code with the rights of the CUPS spooler, which is
usually the "lp" user.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All Xpdf users should upgrade to the latest version:

    # emerge sync

    # emerge -pv ">=app-text/xpdf-3.00-r3"
    # emerge ">=app-text/xpdf-3.00-r3"

All CUPS users should also upgrade to the latest version:

    # emerge sync

    # emerge -pv ">=net-print/cups-1.1.20-r4"
    # emerge ">=net-print/cups-1.1.20-r4"

References
==========

  [ 1 ] CAN-2004-0888
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0888
  [ 2 ] CAN-2004-0889
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0889

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

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

  http://security.gentoo.org/glsa/glsa-200410-20.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@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2004 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/1.0


--------------enig75945C01A5B4FFB74C415DBF
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBd8pNvcL1obalX08RAqBaAJ0XQ05zJuYtyXHeGUCoHMo8ZMFWzwCeOwWT
thWX7CKQuyMdJr1eo1ZtdjY=
=Kndt
-----END PGP SIGNATURE-----

--------------enig75945C01A5B4FFB74C415DBF--

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2019, SecurityGlobal.net LLC