__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN xpdf/kdegraphics Buffer Overflows [DSA-931-1] January 9, 2006 18:00 GMT Number Q-092 [REVISED 11 Jan 2006] [REVISED 12 Jan 2006] [REVISED 13 Jan 2006] [REVISED 19 Jan 2006] [REVISED 20 Jan 2006] [REVISED 23 Jan 2006] [REVISED 01 Feb 2006] [REVISED 14 Mar 2006] [REVISED 20 Mar 2006] [REVISED 22 June 2007] ______________________________________________________________________________ PROBLEM: Several heap based buffer overflows in xpdf, the Portable Document Format (PDF) suite. PLATFORM: Debian GNU/Linux 3.0 (woody) Debian GNU/Linux 3.1 (sarge) SGI ProPack 3 Service Pack 6 for SGI Altix family of systems Red Hat Desktop (v. 2.1, v. 3 and v. 4) Red Hat Enterprise Linux AS, ES, WS (v. 2.1, v. 3 and v. 4) Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor Solaris 10 Operating System DAMAGE: Several heap based buffer overflows in xpdf that can lead to the execution of arbitrary code. SOLUTION: Apply current patches. ______________________________________________________________________________ VULNERABILITY The risk is MEDIUM. Execution of arbitrary code. ASSESSMENT: ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/q-092.shtml ORIGINAL BULLETIN: http://www.debian.org/security/2006/dsa-931 ADDITIONAL LINKS: http://www.debian.org/security/2006/dsa-932 http://www.debian.org/security/2006/dsa-936 RHSA-2006:0163-2 https://rhn.redhat.com/errata/RHSA-2006-0163.html RHSA-2006:0177-5 https://rhn.redhat.com/errata/RHSA-2006-0177.html http://www.debian.org/security/2006/dsa-937 http://www.debian.org/security/2006/dsa-938 http://www.debian.org/security/2006/dsa-940 SGI Security Update #53, Number 20060101-01-U http://www.sgi.com/support/security/advisories.html RHSA-2006:0160-14 https://rhn.redhat.com/errata/RHSA-2006-0160.html http://www.debian.org/security/2006/dsa-950 http://www.debian.org/security/2006/dsa-962 http://www.debian.org/security/2006/dsa-961 http://www.debian.org/security/2006/dsa-998 http://www.debian.org/security/2006/dsa-1008 Sun Alert ID: 102972 http://www.sunsolve.sun.com/search/document.do?assetkey=1-26-102971-1 CVE: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name= CAN-2005-3191, CAN-2005-3192, CAN-2005-3193, CVE-2005-3624, CVE-2005-3625, CVE-2005-3626, CVE-2005-3627, CVE-2005-3628 ______________________________________________________________________________ REVISION HISTORY: 01/11/2006 – added a link to DSA 936-1. The heap based buffer overflow in xpdf is also present in libextractor. 01/11/2006 - added links to RHSA-2006:0163-2 cups security update, and RHSA-2006:0177-5 gpdf security update. 01/12/2006 - added links to DSA-937-1 and DSA-938-1 01/13/2006 - added link to DSA-940-1 01/19/2006 - SGI Security Update #53, patch 10258 for SGI ProPack 3 Service Pack 6. 01/20/2006 - added link to RHSA-2006:0160, tetex security update. 01/23/2006 - revised to add a link to Debian Security Advisory DSA-950-1 for Debian GNU/Linux 3.0 alias woody. 02/01/2006 - revised to add a link to Debian Security Advisories DSA-962-1 & DSA-961-1 for Debian GNU/Linux 3.0 alias sarge. 03/14/2006 - revised to add a link to Debian Security Advisory DSA-998-1 for Debian GNU/Linux 3.1 alias sarge. 03/20/2006 - revised to add a link to Debian Security Advisory DSA-1008-1 to note that the current patch in DSA 932 (CVE-2005-3627) does not fix all buffer overflows. 06/22/07 - revised to add a link to Sun Alert ID #102972 for Solaris 10 Operating System. [***** Start DSA-931-1 *****] DSA-931-1 xpdf -- buffer overflows Date Reported: 09 Jan 2006 Affected Packages: xpdf Vulnerable: Yes Security database references: In the Debian bugtracking system: Bug 342281. In Mitre's CVE dictionary: CAN-2005-3191, CAN-2005-3192, CAN-2005-3193, CVE-2005-3624, CVE-2005-3625, CVE-2005-3626, CVE-2005-3627, CVE-2005-3628. More information: "infamous41md" and Chris Evans discovered several heap based buffer overflows in xpdf, the Portable Document Format (PDF) suite, that can lead to a denial of service by crashing the application or possibly to the execution of arbitrary code. For the old stable distribution (woody) these problems have been fixed in version 1.00-3.8. For the stable distribution (sarge) these problems have been fixed in version 3.00-13.4. For the unstable distribution (sid) these problems have been fixed in version 3.01-4. We recommend that you upgrade your xpdf package. Fixed in: Debian GNU/Linux 3.0 (woody) Source: http://security.debian.org/pool/updates/main/x/xpdf/xpdf_1.00-3.8.dsc http://security.debian.org/pool/updates/main/x/xpdf/xpdf_1.00-3.8.diff.gz http://security.debian.org/pool/updates/main/x/xpdf/xpdf_1.00.orig.tar.gz Architecture-independent component: http://security.debian.org/pool/updates/main/x/xpdf/xpdf-common_1.00-3.8_all.deb http://security.debian.org/pool/updates/main/x/xpdf/xpdf_1.00-3.8_all.deb Alpha: http://security.debian.org/pool/updates/main/x/xpdf/xpdf-reader_1.00-3.8_alpha.deb http://security.debian.org/pool/updates/main/x/xpdf/xpdf-utils_1.00-3.8_alpha.deb ARM: http://security.debian.org/pool/updates/main/x/xpdf/xpdf-reader_1.00-3.8_arm.deb http://security.debian.org/pool/updates/main/x/xpdf/xpdf-utils_1.00-3.8_arm.deb Intel IA-32: http://security.debian.org/pool/updates/main/x/xpdf/xpdf-reader_1.00-3.8_i386.deb http://security.debian.org/pool/updates/main/x/xpdf/xpdf-utils_1.00-3.8_i386.deb Intel IA-64: http://security.debian.org/pool/updates/main/x/xpdf/xpdf-reader_1.00-3.8_ia64.deb http://security.debian.org/pool/updates/main/x/xpdf/xpdf-utils_1.00-3.8_ia64.deb HPPA: http://security.debian.org/pool/updates/main/x/xpdf/xpdf-reader_1.00-3.8_hppa.deb http://security.debian.org/pool/updates/main/x/xpdf/xpdf-utils_1.00-3.8_hppa.deb Motorola 680x0: http://security.debian.org/pool/updates/main/x/xpdf/xpdf-reader_1.00-3.8_m68k.deb http://security.debian.org/pool/updates/main/x/xpdf/xpdf-utils_1.00-3.8_m68k.deb Big endian MIPS: http://security.debian.org/pool/updates/main/x/xpdf/xpdf-reader_1.00-3.8_mips.deb http://security.debian.org/pool/updates/main/x/xpdf/xpdf-utils_1.00-3.8_mips.deb Little endian MIPS: http://security.debian.org/pool/updates/main/x/xpdf/xpdf-reader_1.00-3.8_mipsel.deb http://security.debian.org/pool/updates/main/x/xpdf/xpdf-utils_1.00-3.8_mipsel.deb PowerPC: http://security.debian.org/pool/updates/main/x/xpdf/xpdf-reader_1.00-3.8_powerpc.deb http://security.debian.org/pool/updates/main/x/xpdf/xpdf-utils_1.00-3.8_powerpc.deb IBM S/390: http://security.debian.org/pool/updates/main/x/xpdf/xpdf-reader_1.00-3.8_s390.deb http://security.debian.org/pool/updates/main/x/xpdf/xpdf-utils_1.00-3.8_s390.deb Sun Sparc: http://security.debian.org/pool/updates/main/x/xpdf/xpdf-reader_1.00-3.8_sparc.deb http://security.debian.org/pool/updates/main/x/xpdf/xpdf-utils_1.00-3.8_sparc.deb Debian GNU/Linux 3.1 (sarge) Source: http://security.debian.org/pool/updates/main/x/xpdf/xpdf_3.00-13.4.dsc http://security.debian.org/pool/updates/main/x/xpdf/xpdf_3.00-13.4.diff.gz http://security.debian.org/pool/updates/main/x/xpdf/xpdf_3.00.orig.tar.gz Architecture-independent component: http://security.debian.org/pool/updates/main/x/xpdf/xpdf-common_3.00-13.4_all.deb http://security.debian.org/pool/updates/main/x/xpdf/xpdf_3.00-13.4_all.deb Alpha: http://security.debian.org/pool/updates/main/x/xpdf/xpdf-reader_3.00-13.4_alpha.deb http://security.debian.org/pool/updates/main/x/xpdf/xpdf-utils_3.00-13.4_alpha.deb AMD64: http://security.debian.org/pool/updates/main/x/xpdf/xpdf-reader_3.00-13.4_amd64.deb http://security.debian.org/pool/updates/main/x/xpdf/xpdf-utils_3.00-13.4_amd64.deb ARM: http://security.debian.org/pool/updates/main/x/xpdf/xpdf-reader_3.00-13.4_arm.deb http://security.debian.org/pool/updates/main/x/xpdf/xpdf-utils_3.00-13.4_arm.deb Intel IA-32: http://security.debian.org/pool/updates/main/x/xpdf/xpdf-reader_3.00-13.4_i386.deb http://security.debian.org/pool/updates/main/x/xpdf/xpdf-utils_3.00-13.4_i386.deb Intel IA-64: http://security.debian.org/pool/updates/main/x/xpdf/xpdf-reader_3.00-13.4_ia64.deb http://security.debian.org/pool/updates/main/x/xpdf/xpdf-utils_3.00-13.4_ia64.deb HPPA: http://security.debian.org/pool/updates/main/x/xpdf/xpdf-reader_3.00-13.4_hppa.deb http://security.debian.org/pool/updates/main/x/xpdf/xpdf-utils_3.00-13.4_hppa.deb Motorola 680x0: http://security.debian.org/pool/updates/main/x/xpdf/xpdf-reader_3.00-13.4_m68k.deb http://security.debian.org/pool/updates/main/x/xpdf/xpdf-utils_3.00-13.4_m68k.deb Big endian MIPS: http://security.debian.org/pool/updates/main/x/xpdf/xpdf-reader_3.00-13.4_mips.deb http://security.debian.org/pool/updates/main/x/xpdf/xpdf-utils_3.00-13.4_mips.deb Little endian MIPS: http://security.debian.org/pool/updates/main/x/xpdf/xpdf-reader_3.00-13.4_mipsel.deb http://security.debian.org/pool/updates/main/x/xpdf/xpdf-utils_3.00-13.4_mipsel.deb PowerPC: http://security.debian.org/pool/updates/main/x/xpdf/xpdf-reader_3.00-13.4_powerpc.deb http://security.debian.org/pool/updates/main/x/xpdf/xpdf-utils_3.00-13.4_powerpc.deb IBM S/390: http://security.debian.org/pool/updates/main/x/xpdf/xpdf-reader_3.00-13.4_s390.deb http://security.debian.org/pool/updates/main/x/xpdf/xpdf-utils_3.00-13.4_s390.deb Sun Sparc: http://security.debian.org/pool/updates/main/x/xpdf/xpdf-reader_3.00-13.4_sparc.deb http://security.debian.org/pool/updates/main/x/xpdf/xpdf-utils_3.00-13.4_sparc.deb MD5 checksums of the listed files are available in the original advisory. [***** End DSA-931-1 *****] _______________________________________________________________________________ CIAC wishes to acknowledge the contributions of Debian for the information contained in this bulletin. _______________________________________________________________________________ CIAC, the Computer Incident Advisory Capability, is the computer security incident response team for the U.S. Department of Energy (DOE) and the emergency backup response team for the National Institutes of Health (NIH). CIAC is located at the Lawrence Livermore National Laboratory in Livermore, California. CIAC is also a founding member of FIRST, the Forum of Incident Response and Security Teams, a global organization established to foster cooperation and coordination among computer security teams worldwide. CIAC services are available to DOE, DOE contractors, and the NIH. CIAC can be contacted at: Voice: +1 925-422-8193 (7x24) FAX: +1 925-423-8002 STU-III: +1 925-423-2604 E-mail: ciac@ciac.org Previous CIAC notices, anti-virus software, and other information are available from the CIAC Computer Security Archive. World Wide Web: http://www.ciac.org/ Anonymous FTP: ftp.ciac.org PLEASE NOTE: Many users outside of the DOE, ESnet, and NIH computing communities receive CIAC bulletins. If you are not part of these communities, please contact your agency's response team to report incidents. Your agency's team will coordinate with CIAC. The Forum of Incident Response and Security Teams (FIRST) is a world-wide organization. A list of FIRST member organizations and their constituencies can be obtained via WWW at http://www.first.org/. This document was prepared as an account of work sponsored by an agency of the United States Government. Neither the United States Government nor the University of California nor any of their employees, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any information, apparatus, product, or process disclosed, or represents that its use would not infringe privately owned rights. Reference herein to any specific commercial products, process, or service by trade name, trademark, manufacturer, or otherwise, does not necessarily constitute or imply its endorsement, recommendation or favoring by the United States Government or the University of California. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or the University of California, and shall not be used for advertising or product endorsement purposes. LAST 10 CIAC BULLETINS ISSUED (Previous bulletins available from CIAC) Q-082: perl Security Update Q-083: perl Security Update for Red Hat (v.3) Q-084: Cisco Security Notice: Response to DoS in Cisco Clean Access Q-085: Microsoft Windows Metafile File (WMF) Vulnerability Q-086: MS Advisory Win32/Sober.Z@mm on January 6, 2006 Q-087: Blackberry Attachment Service Vulnerability Q-088: Perl Format String Vulnerabilities Q-089: httpd Security Update Q-090: Vulnerability in Graphics Rendering Engine Q-091: mod_auth_pgsql Security Update