TippingPoint Zero Day Initiative
 

LibTIFF TileSize Parsing Remote Code Execution Vulnerability

ZDI-12-043: March 13th, 2012

CVE ID

CVSS Score

Affected Vendors

Affected Products

Vulnerability Details


This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of LibTIFF. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

The specific flaw exists within the LibTIFF Library and occurs when the application attempts to allocate space for a tile. When calculating the size for a buffer, the library will perform a multiply which can cause an integer overflow. After allocation, the library will initialize the buffer with tile data. This can cause code execution under the context of the application that utilizes the LibTIFF library.

Vendor Response

Libtiff states:


Disclosure Timeline

    2011-05-12 - Vulnerability reported to vendor
    2012-03-13 - Coordinated public release of advisory

Credit

This vulnerability was discovered by:
    Alexander Gavrun