Public Vulnerability Reports

Multiple Vendor LibTIFF 3.9.2 Stack Buffer Overflow Vulnerability

06.21.10

BACKGROUND

libTIFF is a free and popular image library that provides support for displaying and manipulating Tag Image File Format (TIFF) image data. This library is used by numerous applications and is included in various vendor operating system distributions. For more information, see the vendor's site found at the following link:

http://www.libtiff.org

DESCRIPTION

Remote exploitation of a stack buffer overflow vulnerability in version 3.9.2 of LibTIFF, as included in various vendors' operating system distributions, could allow an attacker to execute arbitrary code with the privileges of the current user.

This vulnerability is due to insufficient bounds checking when copying data into a stack allocated buffer. During the processing of a certain EXIF tag a fixed sized stack buffer is used as a destination location for a memory copy. This memory copy can cause the bounds of a stack buffer to be overflown and this condition may lead to arbitrary code execution.

ANALYSIS

Exploitation of this vulnerability results in the execution of arbitrary code with the privileges of the current user. In order to exploit this vulnerability, a user must load a web page containing a specially crafted TIFF image. An attacker typically accomplishes this via social engineering or injecting content into compromised, trusted sites. Typical social engineering attacks will pass URLs as part of instant messages or electronic mail.

DETECTION

iDefense has confirmed the existence of this vulnerability in version 3.9.2 of libTIFF. Previous versions are not affected.

WORKAROUND

iDefense is currently unaware of any workaround for this issue.

VENDOR RESPONSE

Multiple vendors have released patches to address this issue. Information about downloadable vendor updates can be found by clicking on the URL shown.

http://www.remotesensing.org/libtiff/v3.9.4.html#libtiff
http://www.ubuntu.com/usn/usn-954-1
https://bugzilla.redhat.com/show_bug.cgi?id=599576

CVE INFORMATION

The Common Vulnerabilities and Exposures (CVE) project has assigned the name CVE-2010-2067 to this issue. This is a candidate for inclusion in the CVE list (http://cve.mitre.org/), which standardizes names for security problems.

DISCLOSURE TIMELINE

05/27/2010 Initial Vendor Notification
05/27/2010 Initial Vendor Reply
06/21/2010 Coordinated Public Disclosure

CREDIT

This vulnerability was reported to iDefense by Dan Rosenberg.

Get paid for vulnerability research
http://labs.idefense.com/methodology/vulnerability/vcp.php

Free tools, research and upcoming events
http://labs.idefense.com/

LEGAL NOTICES

Copyright © 2010 Verisign, Inc.

Permission is granted for the redistribution of this alert electronically. It may not be edited in any way without the express written consent of iDefense. If you wish to reprint the whole or any part of this alert in any other medium other than electronically, please e-mail customer service for permission.

Disclaimer: The information in the advisory is believed to be accurate at the time of publishing based on currently available information. Use of the information constitutes acceptance for use in an AS IS condition. There are no warranties with regard to this information. Neither the author nor the publisher accepts any liability for any direct, indirect, or consequential loss or damage arising from use of, or reliance on, this information.