LibTIFF library tiff library image decoding routines buffer overflow
| libtiff-library-decoding-bo (17703) |
Description:
LibTIFF is vulnerable to a heap-based overflow in the tiff library image decoding routines in the tif_next.c and tif_thunder.c files and possibly the tif_luv.c file. By creating a specially-crafted TIFF image file, a remote attacker could overflow a buffer and execute arbitrary code on the system, once the victim opens the malicious file.
Platforms Affected:
- Avaya, Intuity Audix LX 1.1
- Avaya, MN100
- Avaya, Modular Messaging
- Conectiva, Linux 10
- Conectiva, Linux 9.0
- Debian, Debian Linux 3.0
- Gentoo, Linux
- MandrakeSoft, Mandrake Linux 10.0
- MandrakeSoft, Mandrake Linux 10.0 AMD64
- MandrakeSoft, Mandrake Linux 10.1
- MandrakeSoft, Mandrake Linux 10.1 X86_64
- MandrakeSoft, Mandrake Linux 9.2
- MandrakeSoft, Mandrake Linux 9.2 AMD64
- MandrakeSoft, Mandrake Linux Corporate Server 2.1
- MandrakeSoft, Mandrake Linux Corporate Server 2.1 X86_64
- MandrakeSoft, Mandrake Linux Corporate Server 3.0 X86_64
- MandrakeSoft, Mandrake Linux Corporate Server 3.0
- MandrakeSoft, Mandrake Multi Network Firewall 8.2
- OpenPKG, OpenPKG 2.0
- OpenPKG, OpenPKG 2.1
- OpenPKG, OpenPKG CURRENT
- RedHat, Enterprise Linux 2.1 AW
- RedHat, Enterprise Linux 2.1 WS
- RedHat, Enterprise Linux 2.1 AS
- RedHat, Enterprise Linux 2.1 ES
- RedHat, Enterprise Linux 3 AS
- RedHat, Enterprise Linux 3 Desktop
- RedHat, Enterprise Linux 3 ES
- RedHat, Enterprise Linux 3 WS
- RedHat, Linux Advanced Workstation 2.1 Itanium
- Sam Leffler, LibTIFF
- SCO, SCO UnixWare 7.1.4
- Slackware, Slackware Linux 10.0
- Slackware, Slackware Linux 8.1
- Slackware, Slackware Linux 9.0
- Slackware, Slackware Linux 9.1
- Slackware, Slackware Linux current
- Sun, Solaris 10 SPARC
- Sun, Solaris 10 x86
- Sun, Solaris 7.0 SPARC
- Sun, Solaris 7.0 x86
- Sun, Solaris 8 x86
- Sun, Solaris 8 SPARC
- Sun, Solaris 9 x86
- Sun, Solaris 9 SPARC
- SuSE, Linux Enterprise Server 8
- SuSE, Linux Enterprise Server 9
- SuSE, SuSE Linux 8.1
- SuSE, SuSE Linux 8.2
- SuSE, SuSE Linux 9.0
- SuSE, SuSE Linux 9.1
- SuSE, SuSE Linux Desktop 1.0
- SuSE, SuSE SLES 9
- Trustix, Enterprise Server 2
- Trustix, Secure Linux 2.0
- Trustix, Secure Linux 2.1
- Turbolinux, Turbolinux 10 Desktop
- Turbolinux, Turbolinux 10 F...
- Turbolinux, Turbolinux 10 Server
- Turbolinux, Turbolinux 7 Server
- Turbolinux, Turbolinux 7 Workstation
- Turbolinux, Turbolinux 8 Server
- Turbolinux, Turbolinux 8 Workstation
- Turbolinux, Turbolinux Home
Remedy:
For Gentoo Linux containing the media-libs/tiff package:
Upgrade to the latest version of media-libs/tiff (3.6.1-r2 or later), as listed in GLSA 200410-11 / tiff. See References.
For Gentoo Linux containing the media-gfx/xv package:
Upgrade to the latest version of media-gfx/xv (3.10a-r8 or later), as listed in GLSA 200410-11 / tiff. See References.
For OpenPKG:
Upgrade to the latest tiff package, as listed in OpenPKG Security Advisory OpenPKG-SA-2004.043. See References.
OpenPKG CURRENT:3.6.1-20041013 or later
OpenPKG 2.1:3.6.1-2.1.1 or later
OpenPKG 2.0: tiff-3.6.1-2.0.1 or later
For Trustix Secure Linux:
Upgrade to the latest tiff package, as listed in Trustix Secure Linux Security Advisory #2004-0054 for more information. See References.
For Mandrake Linux:
Upgrade to the latest libtiff package, as listed below. Refer to MandrakeSoft Security Advisory MDKSA-2004:109 for more information. See References.
Mandrake Linux 9.2: 3.5.7-11.3.92mdk or later
Mandrake Linux Multi Network Firewall 8.2: 3.5.5-9.3.M82mdk or later
Mandrake Linux Corporate Server 2.1: 3.5.7-5.3.C21mdk or later
Mandrake Linux 10.0: 3.5.7-11.3.100mdk or later
For Red Hat Linux (kdegraphics):
Refer to RHSA-2005:021-09 for patch, upgrade, or suggested workaround information. See References.
For Red Hat Linux (tetex):
Refer to RHSA-2005:354-03 for patch, upgrade, or suggested workaround information. See References.
For Red Hat Linux:
Upgrade to the latest libtiff package, as listed below. Refer to RHSA-2004:577-16 for more information. See References.
Red Hat Enterprise Linux AS (v. 2.1), ES (v. 2.1), WS (v. 2.1), and Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor: 3.5.5-17 or later
Red Hat Enterprise Linux AS (v. 3), ES (v. 3), WS (v. 3), Desktop: 3.5.7-20.1.x86_64 or later
For SuSE Linux:
Upgrade to the latest libtiff package, as listed below. Refer to SuSE Security Announcement SUSE-SA:2004:038 for more information. See References.
SuSE Linux 9.1: 3.6.1-38.12 or later
SuSE Linux 9.0: 3.5.7-376 or later
SuSE Linux 8.2: 3.5.7-376 or later
SuSE Linux 8.1: 3.5.7-376 or later
For Mandrake Linux:
Upgrade to the latest wxGTK2 package, as listed below. Refer to MandrakeSoft Security Advisory MDKSA-2004:111 for more information. See References.
Mandrake Linux 10.0: 2.5.0-0.cvs20030817.1.3.100mdk or later
For Slackware Linux:
Upgrade to the latest libtiff package, as listed below. Refer to slackware-security Mailing List, Mon, 1 Nov 2004 00:00:50 -0800 (PST) for more information. See References.
Slackware Linux 8.1: 3.5.7-i386-3 or later
Slackware Linux 9.0: 3.5.7-i386-4 or later
Slackware Linux 9.1: 3.5.7-i486-4 or later
Slackware Linux 10.0 and -current: 3.7.0-i486-1or later
For Conectiva Linux:
Upgrade to the latest libtiff3 package, as listed below. Refer to Conectiva Linux Security Announcement CLSA-2004:888 for more information. See References.
Conectiva Linux 10.0: 3.5.7-53035U10_1cl or later
Conectiva Linux 9: 3.5.7-8492U90_1cl or later
For Mac OS:
Apply Security Update 2004-12-02, as listed in AppleCare Knowledge Base Document 61798. See References.
For KDE:
Upgrade to the latest version (3.3.2 or later), as listed in KDE Security Advisory 2004-12-09. See References.
For Turbolinux:
Upgrade to the latest libtiff package, as listed below. Refer to Turbolinux Security Advisory TLSA-2005-4 for more information. See References.
Turbolinux 10 Server: 3.6.1-4 or later
Turbolinux Home: 3.5.7-7 or later
Turbolinux 10 Desktop: 3.5.7-7 or later
Turbolinux 8 Server: 3.5.7-7 or later
Turbolinux 8 Workstation: 3.5.5-7 or later
Turbolinux 7 Server: 3.5.5-7 or later
Turbolinux 7 Workstation: 3.5.5-7 or later
For SCO UnixWare 7.1.4:
Upgrade to the appropriate fixed binaries, as listed in SCO Security Advisory SCOSA-2005.19. See References.
For SGI Advanced Linux Environment 3:
Apply the appropriate patch for your system, as listed in SGI Security Advisory 20050404-01-U. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
Consequences:
Gain Access
References:
- AppleCare Knowledge Base Document 61798, Security Update 2004-12-02 at http://docs.info.apple.com/article.html?artnum=61798.
- Avaya Security Advisory ASA-2005-002, Vulnerabilities in libtiff - (RHSA-2004-577) at http://support.avaya.com/japple/css/japple?PAGE=avaya.css.OpenPage&temp.template.name=SecurityAdvisory.
- CIAC Information Bulletin P-049, Apple Security Update 2004-12-02 at http://www.ciac.org/ciac/bulletins/p-049.shtml.
- CIAC INFORMATION BULLETIN P-171, SGI Advanced Linux Environment 3 Security Update #33 at http://www.ciac.org/ciac/bulletins/p-171.shtml.
- Conectiva Linux Security Announcement CLSA-2004:888, Fixes for libtiff vulnerabilities at http://distro.conectiva.com.br/atualizacoes/index.php?id=a&anuncio=000888.
- KDE Security Advisory 2004-12-09, kfax libtiff vulnerabilities at http://www.kde.org/info/security/advisory-20041209-2.txt.
- LibTIFF Web site, LibTIFF - TIFF Library and Utilities at http://www.libtiff.org/.
- SCO Security Advisory SCOSA-2005.19, UnixWare 7.1.4 : libtiff Multiple vulnerabilities at ftp://ftp.sco.com/pub/updates/UnixWare/SCOSA-2005.19/SCOSA-2005.19.txt.
- SGI Security Advisory 20050404-01-U, SGI Advanced Linux Environment 3 Security Update #35 at ftp://patches.sgi.com/support/free/security/advisories/20050404-01-U.asc.
- slackware-security Mailing List, Mon, 1 Nov 2004 00:00:50 -0800 (PST), [slackware-security] libtiff (SSA:2004-305-02) at http://slackware.com/security/viewer.php?l=slackware-security&y=2004&m=slackware-security.408946.
- Sun Alert ID: 201072, Multiple Security Vulnerabilities in libtiff(3) at http://sunsolve.sun.com/search/document.do?assetkey=1-66-201072-1.
- Sun Alert ID: 57769, Multiple Security Vulnerabilities in libtiff(3) at http://au.sunsolve.sun.com/search/document.do?assetkey=1-26-57769-1&searchclause=%22category:security%22%20%22availability,%20security%22.
- Trustix Secure Linux Security Advisory #2004-0054, Multiple security vulnerabilities at http://www.trustix.net/errata/2004/0054/.
- BID-11406: LibTIFF Multiple Buffer Overflow Vulnerabilities
- CVE-2004-0803: Multiple vulnerabilities in the RLE (run length encoding) decoders for libtiff 3.6.1 and earlier, related to buffer overflows and integer overflows, allow remote attackers to execute arbitrary code via TIFF files.
- DSA-567: tiff -- heap overflows
- GLSA-200410-11: tiff: Buffer overflows in image decoding
- GLSA-200412-02: PDFlib: Multiple overflows in the included TIFF library
- GLSA-200412-17: kfax: Multiple overflows in the included TIFF library
- MDKSA-2004:109: Updated libtiff packages fix multiple vulnerabilities
- MDKSA-2004:111: Updated wxGTK2 packages fix vulnerabilities
- MDKSA-2005:052: Updated kdegraphics packages fix vulnerabilities
- OpenPKG-SA-2004.043: libtiff
- RHSA-2004-577: libtiff security update
- RHSA-2005-021: kdegraphics security update
- RHSA-2005-354: tetex security update
- SA12818: LibTIFF Multiple Image Decoder Parsing Vulnerabilities
- SUSE-SA:2004:037: kernel: remote denial of service
- SUSE-SA:2004:038: libtiff: local privilege escalation
Reported:
Oct 13, 2004
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
