ID CVE-2006-2656
Summary Stack-based buffer overflow in the tiffsplit command in libtiff 3.8.2 and earlier might might allow attackers to execute arbitrary code via a long filename. NOTE: tiffsplit is not setuid. If there is not a common scenario under which tiffsplit is called with attacker-controlled command line arguments, then perhaps this issue should not be included in CVE.
References
Vulnerable Configurations
  • LibTIFF 3.4
    cpe:2.3:a:libtiff:libtiff:3.4
  • LibTIFF 3.5.1
    cpe:2.3:a:libtiff:libtiff:3.5.1
  • LibTIFF 3.5.2
    cpe:2.3:a:libtiff:libtiff:3.5.2
  • LibTIFF 3.5.3
    cpe:2.3:a:libtiff:libtiff:3.5.3
  • LibTIFF 3.5.4
    cpe:2.3:a:libtiff:libtiff:3.5.4
  • LibTIFF 3.5.5
    cpe:2.3:a:libtiff:libtiff:3.5.5
  • LibTIFF 3.5.6
    cpe:2.3:a:libtiff:libtiff:3.5.6
  • LibTIFF 3.5.7
    cpe:2.3:a:libtiff:libtiff:3.5.7
  • LibTIFF 3.6.0
    cpe:2.3:a:libtiff:libtiff:3.6.0
  • LibTIFF 3.6.1
    cpe:2.3:a:libtiff:libtiff:3.6.1
  • LibTIFF 3.7.0
    cpe:2.3:a:libtiff:libtiff:3.7.0
  • LibTIFF 3.7.1
    cpe:2.3:a:libtiff:libtiff:3.7.1
  • LibTIFF 3.8.0
    cpe:2.3:a:libtiff:libtiff:3.8.0
  • LibTIFF 3.8.1
    cpe:2.3:a:libtiff:libtiff:3.8.1
  • LibTIFF 3.8.2
    cpe:2.3:a:libtiff:libtiff:3.8.2
CVSS
Base: 7.5 (as of 30-05-2006 - 15:09)
Impact:
Exploitability:
CWE CWE-119
CAPEC
  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
  • Overflow Binary Resource File
    An attack of this type exploits a buffer overflow vulnerability in the handling of binary resources. Binary resources may include music files like MP3, image files like JPEG files, and any other binary file. These attacks may pass unnoticed to the client machine through normal usage of files, such as a browser loading a seemingly innocent JPEG file. This can allow the attacker access to the execution stack and execute arbitrary code in the target process. This attack pattern is a variant of standard buffer overflow attacks using an unexpected vector (binary files) to wrap its attack and open up a new attack vector. The attacker is required to either directly serve the binary content to the victim, or place it in a locale like a MP3 sharing application, for the victim to download. The attacker then is notified upon the download or otherwise locates the vulnerability opened up by the buffer overflow.
  • Buffer Overflow via Symbolic Links
    This type of attack leverages the use of symbolic links to cause buffer overflows. An attacker can try to create or manipulate a symbolic link file such that its contents result in out of bounds data. When the target software processes the symbolic link file, it could potentially overflow internal buffers with insufficient bounds checking.
  • Overflow Variables and Tags
    This type of attack leverages the use of tags or variables from a formatted configuration data to cause buffer overflow. The attacker crafts a malicious HTML page or configuration file that includes oversized strings, thus causing an overflow.
  • Buffer Overflow via Parameter Expansion
    In this attack, the target software is given input that the attacker knows will be modified and expanded in size during processing. This attack relies on the target software failing to anticipate that the expanded data may exceed some internal limit, thereby creating a buffer overflow.
  • Buffer Overflow in an API Call
    This attack targets libraries or shared code modules which are vulnerable to buffer overflow attacks. An attacker who has access to an API may try to embed malicious code in the API function call and exploit a buffer overflow vulnerability in the function's implementation. All clients that make use of the code library thus become vulnerable by association. This has a very broad effect on security across a system, usually affecting more than one software process.
  • Buffer Overflow in Local Command-Line Utilities
    This attack targets command-line utilities available in a number of shells. An attacker can leverage a vulnerability found in a command-line utility to escalate privilege to root.
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
exploit-db via4
description tiffsplit (libtiff. CVE-2006-2656. Local exploit for linux platform
id EDB-ID:1831
last seen 2016-01-31
modified 2006-05-26
published 2006-05-26
reporter nitr0us
source https://www.exploit-db.com/download/1831/
title tiffsplit libtiff <= 3.8.2 - Local Stack Buffer Overflow PoC
nessus via4
  • NASL family Ubuntu Local Security Checks
    NASL id UBUNTU_USN-289-1.NASL
    description A buffer overflow has been found in the tiff2pdf utility. By tricking an user into processing a specially crafted TIF file with tiff2pdf, this could potentially be exploited to execute arbitrary code with the privileges of the user. (CVE-2006-2193) A. Alejandro Hernandez discovered a buffer overflow in the tiffsplit utility. By calling tiffsplit with specially crafted long arguments, an user can execute arbitrary code. If tiffsplit is used in e. g. a web-based frontend or similar automated system, this could lead to remote arbitary code execution with the privileges of that system. (In normal interactive command line usage this is not a vulnerability.) (CVE-2006-2656). Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-12-01
    plugin id 27861
    published 2007-11-10
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=27861
    title Ubuntu 5.04 / 5.10 / 6.06 LTS : tiff vulnerabilities (USN-289-1)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_TIFF-1594.NASL
    description This update fixes a stack-based buffer overflow in tiffsplit that can be triggered with long filemanes (CVE-2006-2656) and a buffer overflow in tiff2pdf. Both tools are not setuid but may be exploited in conjunction with other applications. Exploitation very unlikely.
    last seen 2019-02-21
    modified 2018-07-19
    plugin id 27468
    published 2007-10-17
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=27468
    title openSUSE 10 Security Update : tiff (tiff-1594)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-1091.NASL
    description Several problems have been discovered in the TIFF library. The Common Vulnerabilities and Exposures project identifies the following issues : - CVE-2006-2193 SuSE discovered a buffer overflow in the conversion of TIFF files into PDF documents which could be exploited when tiff2pdf is used e.g. in a printer filter. - CVE-2006-2656 The tiffsplit command from the TIFF library contains a buffer overflow in the commandline handling which could be exploited when the program is executed automatically on unknown filenames.
    last seen 2019-02-21
    modified 2018-08-09
    plugin id 22633
    published 2006-10-14
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=22633
    title Debian DSA-1091-1 : tiff - buffer overflows
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2006-591.NASL
    description The tiffsplit command contained code that handled fixed-size buffers insecurely, possibly leading to stack overflows. This problem is fixed in the updated package. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-07-19
    plugin id 24116
    published 2007-01-17
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=24116
    title Fedora Core 4 : libtiff-3.7.1-6.fc4.2 (2006-591)
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-200607-03.NASL
    description The remote host is affected by the vulnerability described in GLSA-200607-03 (libTIFF: Multiple buffer overflows) A buffer overflow has been found in the t2p_write_pdf_string function in tiff2pdf, which can been triggered with a TIFF file containing a DocumentName tag with UTF-8 characters. An additional buffer overflow has been found in the handling of the parameters in tiffsplit. Impact : A remote attacker could entice a user to load a specially crafted TIFF file, resulting in the possible execution of arbitrary code. Workaround : There is no known workaround at this time.
    last seen 2019-02-21
    modified 2018-08-10
    plugin id 22010
    published 2006-07-10
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=22010
    title GLSA-200607-03 : libTIFF: Multiple buffer overflows
  • NASL family Mandriva Local Security Checks
    NASL id MANDRAKE_MDKSA-2006-095.NASL
    description A stack-based buffer overflow in the tiffsplit command in libtiff 3.8.2 and earlier might might allow attackers to execute arbitrary code via a long filename. NOTE: tiffsplit is not setuid, and there may not be a common scenario under which tiffsplit is called with attacker-controlled command line arguments. The updated packages have been patched to correct this issue.
    last seen 2019-02-21
    modified 2018-07-19
    plugin id 21661
    published 2006-06-06
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=21661
    title Mandrake Linux Security Advisory : libtiff (MDKSA-2006:095)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2006-0603.NASL
    description Updated libtiff packages that fix several security flaws are now available for Red Hat Enterprise Linux. This update has been rated as having important security impact by the Red Hat Security Response Team. The libtiff package contains a library of functions for manipulating TIFF (Tagged Image File Format) files. Tavis Ormandy of Google discovered a number of flaws in libtiff during a security audit. An attacker could create a carefully crafted TIFF file in such a way that it was possible to cause an application linked with libtiff to crash or possibly execute arbitrary code. (CVE-2006-3459, CVE-2006-3460, CVE-2006-3461, CVE-2006-3462, CVE-2006-3463, CVE-2006-3464, CVE-2006-3465) All users are advised to upgrade to these updated packages, which contain backported fixes for these issues.
    last seen 2019-02-21
    modified 2018-11-16
    plugin id 22149
    published 2006-08-04
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=22149
    title RHEL 2.1 / 3 / 4 : libtiff (RHSA-2006:0603)
  • NASL family CentOS Local Security Checks
    NASL id CENTOS_RHSA-2006-0603.NASL
    description Updated libtiff packages that fix several security flaws are now available for Red Hat Enterprise Linux. This update has been rated as having important security impact by the Red Hat Security Response Team. The libtiff package contains a library of functions for manipulating TIFF (Tagged Image File Format) files. Tavis Ormandy of Google discovered a number of flaws in libtiff during a security audit. An attacker could create a carefully crafted TIFF file in such a way that it was possible to cause an application linked with libtiff to crash or possibly execute arbitrary code. (CVE-2006-3459, CVE-2006-3460, CVE-2006-3461, CVE-2006-3462, CVE-2006-3463, CVE-2006-3464, CVE-2006-3465) All users are advised to upgrade to these updated packages, which contain backported fixes for these issues.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 22161
    published 2006-08-07
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=22161
    title CentOS 3 / 4 : libtiff (CESA-2006:0603)
  • NASL family Oracle Linux Local Security Checks
    NASL id ORACLELINUX_ELSA-2006-0603.NASL
    description From Red Hat Security Advisory 2006:0603 : Updated libtiff packages that fix several security flaws are now available for Red Hat Enterprise Linux. This update has been rated as having important security impact by the Red Hat Security Response Team. The libtiff package contains a library of functions for manipulating TIFF (Tagged Image File Format) files. Tavis Ormandy of Google discovered a number of flaws in libtiff during a security audit. An attacker could create a carefully crafted TIFF file in such a way that it was possible to cause an application linked with libtiff to crash or possibly execute arbitrary code. (CVE-2006-3459, CVE-2006-3460, CVE-2006-3461, CVE-2006-3462, CVE-2006-3463, CVE-2006-3464, CVE-2006-3465) All users are advised to upgrade to these updated packages, which contain backported fixes for these issues.
    last seen 2019-02-21
    modified 2018-07-18
    plugin id 67398
    published 2013-07-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=67398
    title Oracle Linux 3 : libtiff (ELSA-2006-0603)
redhat via4
rpms
  • libtiff-0:3.5.7-25.el3.4
  • libtiff-devel-0:3.5.7-25.el3.4
  • libtiff-0:3.6.1-12
  • libtiff-devel-0:3.6.1-12
refmap via4
debian DSA-1091
fedora FEDORA-2006-591
gentoo GLSA-200607-03
mandriva MDKSA-2006:095
secunia
  • 20501
  • 20520
  • 20766
  • 21002
suse SUSE-SR:2006:014
ubuntu USN-289-1
vuln-dev 20060524 tiffsplit (libtiff <= 3.8.2) bss & stack buffer overflow...
statements via4
contributor Mark J Cox
lastmodified 2008-08-12
organization Red Hat
statement This issue was addressed in libtiff packages as shipped in Red Hat Enterprise Linux 2.1, 3, and 4 via: https://rhn.redhat.com/errata/RHSA-2006-0603.html Red Hat Enterprise Linux 5 is not vulnerable to this issue as it contains a backported patch.
Last major update 17-10-2016 - 23:39
Published 30-05-2006 - 14:02
Last modified 03-10-2018 - 17:41
Back to Top