Xpdf splash/splash.cc buffer overflow
| xpdf-splash-bo (24391) |
Description:
Xpdf is vulnerable to a heap-based buffer overflow in the splash/splash.cc file, which is used to process splash images. By creating a malicious PDF file containing a specially-crafted splash image, a remote attacker could overflow a buffer to cause a denial of service and possibly execute arbitrary code on the system with privileges of the Xpdf process. Exploitation of this vulnerability would require the attacker to deliver the malicious PDF file to a potential victim, either by hosting the file on a Web site or sending it to the victim as an email attachment, and then the victim would have to open the file using Xpdf or an application linked to Xpdf.
Platforms Affected:
- Canonical, Ubuntu 4.10
- Canonical, Ubuntu 5.04
- Canonical, Ubuntu 5.10
- Debian, Debian Linux 3.1
- Foolabs, Xpdf 3.01
- Gentoo, Linux
- KDE, KDE 3.4.0 - 3.5.1
- MandrakeSoft, Mandrake Linux 2006 X86_64
- MandrakeSoft, Mandrake Linux 2006
- MandrakeSoft, Mandrake Linux Corporate Server 3.0
- MandrakeSoft, Mandrake Linux Corporate Server 3.0 X86_64
- RedHat, Enterprise Linux 4 WS
- RedHat, Enterprise Linux 4 ES
- RedHat, Enterprise Linux 4 AS
- RedHat, Enterprise Linux 4 Desktop
Remedy:
For KDE kpdf:
Refer to KDE Security Advisory 20060202-1 for patch or upgrade information. See References.
For Debian GNU/Linux:
Refer to DSA-974-1 and DSA-971-1 for patch, upgrade, or suggested workaround information. See References.
For Red Hat Linux (xpdf):
Refer to RHSA-2006:0201-3 for patch, upgrade, or suggested workaround information. See References.
For Red Hat Linux (kdegraphics):
Refer to RHSA-2006:0206-3 for patch, upgrade, or suggested workaround information. See References.
For Gentoo Linux (GPdf):
Refer to Gentoo Linux Security Announcement GLSA 2006-02-12 for patch, upgrade, or suggested workaround information. See References.
For Gentoo Linux (KPdf):
Refer to Gentoo Linux Security Announcement GLSA 2006-02-05 for patch, upgrade, or suggested workaround information. See References.
For Gentoo Linux (Xpdf and Poppler):
Refer to Gentoo Linux Security Announcement GLSA 2006-02-04 for patch, upgrade, or suggested workaround information. See References.
For Ubuntu Linux:
Refer to USN-249-1 for patch, upgrade, or suggested workaround information. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
Consequences:
Gain Access
References:
- KDE Security Advisory 20060202-1, kpdf/xpdf heap based buffer overflow at http://www.kde.org/info/security/advisory-20060202-1.txt.
- Red Hat Bugzilla Bug 179046, CVE-2006-0301 PDF splash handling heap overflow at https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=179046.
- CVE-2006-0301: Heap-based buffer overflow in Splash.cc in xpdf, as used in other products such as (1) poppler, (2) kdegraphics, (3) gpdf, (4) pdfkit.framework, and others, allows attackers to cause a denial of service and possibly execute arbitrary code via crafted splash images that produce certain values that exceed the width or height of the associated bitmap.
- DSA-971: xpdf -- buffer overflow
- DSA-972: pdfkit.framework -- buffer overflows
- DSA-974: gpdf -- buffer overflows
- GLSA-200602-04: Xpdf, Poppler: Heap overflow
- GLSA-200602-05: KPdf: Heap based overflow
- GLSA-200602-12: GPdf: heap overflows in included Xpdf code
- MDKSA-2006:030: Updated poppler packages fixes heap-based buffer overflow vulnerability
- MDKSA-2006:031: Updated kdegraphics packages fixes heap-based buffer overflow vulnerability
- MDKSA-2006:032: Updated xpdf packages fixes heap-based buffer overflow vulnerability
- RHSA-2006-0201: xpdf security update
- RHSA-2006-0206: kdegraphics security update
- SA18274: PDFKit Framework PDF Splash Image Buffer Overflow
- SA18677: Xpdf PDF Splash Image Handling Vulnerability
- SA18707: KDE kpdf Splash Image Handling Buffer Overflow
- SECTRACK ID: 1015576: KDE kpdf Heap Overflow in Splash Rasterizer Engine Lets Remote Users Execute Arbitrary Code
- USN-249-1: xpdf
- VUPEN/ADV-2006-0389: Xpdf Splash.cc Splash Images Handling Buffer Overflow Vulnerability
- VUPEN/ADV-2006-0422: KDE Kpdf Splash.cc Images Handling Buffer Overflow Vulnerability
Reported:
Jan 31, 2006
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
