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

SecurityTracker
Archives


 


Category:   Application (Generic)  >   KDE Vendors:   KDE.org
(Gentoo Issues Fix for KDE Kpdf and KOffice) Xpdf Buffer Overflow in makeFileKey2() Lets Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1012971
SecurityTracker URL:  http://securitytracker.com/id/1012971
CVE Reference:   CVE-2005-0064   (Links to External Site)
Updated:  Jan 24 2005
Original Entry Date:  Jan 24 2005
Impact:   Execution of arbitrary code via network, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  

Description:   iDEFENSE reported a buffer overflow vulnerability in Xpdf. A remote user may be able to execute arbitrary code on the target system. KDE Kpdf and KOffice are affected.

A remote user can create a specially crafted PDF file to trigger a stack overflow in the 'Decrypt::makeFileKey2' function in the processing of the /Encrypt /Length tag. Arbitrary code can be executed with the privileges of the Xpdf process or the user running Xpdf.

The flaw resides in 'xpdf/Decrypt.cc'.

The vendor was notified on January 6, 2005.

The original advisory is available at:

http://www.idefense.com/application/poi/display?id=186&type=vulnerabilities

Impact:   A remote user can create a PDF file that, when processed by Xpdf, will execute arbitrary code on the target system. The code will run with the privileges of Xpdf.
Solution:   Gentoo has released a fix for KDE Kpdf and KOffice, which are affected by this vulnerability.

All KPdf users should upgrade to the latest version of kdegraphics:

# emerge --sync
# emerge --ask --oneshot --verbose kde-base/kdegraphics

All KOffice users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose app-office/koffice

Cause:   Boundary error
Underlying OS:  Linux (Gentoo)

Message History:   This archive entry is a follow-up to the message listed below.
Jan 19 2005 Xpdf Buffer Overflow in makeFileKey2() Lets Remote Users Execute Arbitrary Code



 Source Message Contents

Subject:  [gentoo-announce] [ GLSA 200501-32 ] KPdf, KOffice: Stack overflow in included Xpdf code


--nextPart2980546.CEo6qxJsCb
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200501-32
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: KPdf, KOffice: Stack overflow in included Xpdf code
      Date: January 23, 2005
      Bugs: #78619, #78620
        ID: 200501-32

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

Synopsis
========

KPdf and KOffice both include vulnerable Xpdf code to handle PDF files,
making them vulnerable to the execution of arbitrary code.

Background
==========

KPdf is a KDE-based PDF viewer included in the kdegraphics package.
KOffice is an integrated office suite for KDE.

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

    -------------------------------------------------------------------
     Package               /  Vulnerable  /                 Unaffected
    -------------------------------------------------------------------
  1  app-office/koffice       < 1.3.5-r2                   >= 1.3.5-r2
  2  kde-base/kdegraphics     < 3.3.2-r2                   >= 3.3.2-r2
                                                          *>= 3.2.3-r4
    -------------------------------------------------------------------
     2 affected packages on all of their supported architectures.
    -------------------------------------------------------------------

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

KPdf and KOffice both include Xpdf code to handle PDF files. Xpdf is
vulnerable to a new stack overflow, as described in GLSA 200501-28.

Impact
======

An attacker could entice a user to open a specially-crafted PDF file,
potentially resulting in the execution of arbitrary code with the
rights of the user running the affected application.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All KPdf users should upgrade to the latest version of kdegraphics:

    # emerge --sync
    # emerge --ask --oneshot --verbose kde-base/kdegraphics

All KOffice users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose app-office/koffice

References
==========

  [ 1 ] GLSA 200501-18
        http://www.gentoo.org/security/en/glsa/glsa-200501-28.xml
  [ 2 ] CAN-2005-0064
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0064
  [ 3 ] KDE Security Advisory: kpdf Buffer Overflow Vulnerability
        http://www.kde.org/info/security/advisory-20050119-1.txt
  [ 4 ] KDE Security Advisory: KOffice PDF Import Filter Vulnerability
        http://www.kde.org/info/security/advisory-20050120-1.txt

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

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

  http://security.gentoo.org/glsa/glsa-200501-32.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 2005 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.0

--nextPart2980546.CEo6qxJsCb
Content-Type: application/pgp-signature

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

iD8DBQBB86gXzKC5hMHO6rkRAmHuAJwK8I8flpJu9r4BavjOnU8BCeGUHQCeLFwy
aA7SfNpE07natWTKgSSFbug=
=Kl62
-----END PGP SIGNATURE-----

--nextPart2980546.CEo6qxJsCb--

 
 


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