Poppler, KDE: User-assisted execution of arbitrary code
1.
Gentoo Linux Security Advisory
Version Information
| Advisory Reference |
GLSA 200711-22 / poppler koffice kword kdegraphics kpdf |
| Release Date |
November 18, 2007 |
| Latest Revision |
November 18, 2007: 01 |
| Impact |
normal |
| Exploitable |
remote |
| Package |
Vulnerable versions |
Unaffected versions |
Architecture(s) |
| app-text/poppler |
<
0.6.1-r1 |
>=
0.6.1-r1 |
All supported architectures
|
| kde-base/kpdf |
<
3.5.8-r1 |
revision >=
3.5.7-r3,
>=
3.5.8-r1 |
All supported architectures
|
| kde-base/kdegraphics |
<
3.5.8-r1 |
revision >=
3.5.7-r3,
>=
3.5.8-r1 |
All supported architectures
|
| app-office/kword |
<
1.6.3-r2 |
>=
1.6.3-r2 |
All supported architectures
|
| app-office/koffice |
<
1.6.3-r2 |
>=
1.6.3-r2 |
All supported architectures
|
Related bugreports:
#196735, #198409
Synopsis
Poppler and various KDE components are vulnerable to multiple memory
management issues possibly resulting in the execution of arbitrary code.
2.
Impact Information
Background
Poppler is a cross-platform PDF rendering library originally based on
Xpdf. KOffice is an integrated office suite for KDE. KWord is the
KOffice word processor. KPDF is a KDE-based PDF viewer included in the
kdegraphics package.
Description
Alin Rad Pop (Secunia Research) discovered several vulnerabilities in
the "Stream.cc" file of Xpdf: An integer overflow in the
DCTStream::reset() method and a boundary error in the
CCITTFaxStream::lookChar() method, both leading to heap-based buffer
overflows (CVE-2007-5392, CVE-2007-5393). He also discovered a boundary
checking error in the DCTStream::readProgressiveDataUnit() method
causing memory corruption (CVE-2007-4352). Note: Gentoo's version of
Xpdf is patched to use the Poppler library, so the update to Poppler
will also fix Xpdf.
Impact
By enticing a user to view or process a specially crafted PDF file with
KWord or KPDF or a Poppler-based program such as Gentoo's viewers Xpdf,
ePDFView, and Evince or the CUPS printing system, a remote attacker
could cause an overflow, potentially resulting in the execution of
arbitrary code with the privileges of the user running the application.
3.
Resolution Information
Workaround
There is no known workaround at this time.
Resolution
All Poppler users should upgrade to the latest version:
Code Listing 3.1: Resolution |
# emerge --sync
# emerge --ask --oneshot --verbose ">=app-text/poppler-0.6.1-r1"
|
All KPDF users should upgrade to the latest version:
Code Listing 3.2: Resolution |
# emerge --sync
# emerge --ask --oneshot --verbose ">=kde-base/kpdf-3.5.7-r3"
|
All KDE Graphics Libraries users should upgrade to the latest version:
Code Listing 3.3: Resolution |
# emerge --sync
# emerge --ask --oneshot --verbose ">=kde-base/kdegraphics-3.5.7-r3"
|
All KWord users should upgrade to the latest version:
Code Listing 3.4: Resolution |
# emerge --sync
# emerge --ask --oneshot --verbose ">=app-office/kword-1.6.3-r2"
|
All KOffice users should upgrade to the latest version:
Code Listing 3.5: Resolution |
# emerge --sync
# emerge --ask --oneshot --verbose ">=app-office/koffice-1.6.3-r2"
|
4.
References
|