Advisory Details

March 13th, 2012

LibTIFF TileSize Parsing Remote Code Execution Vulnerability

ZDI-12-043
ZDI-CAN-1221

CVE ID CVE-2012-1173
CVSS SCORE 7.5, AV:N/AC:L/Au:N/C:P/I:P/A:P
AFFECTED VENDORS Libtiff
AFFECTED PRODUCTS libtiff
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.

ADDITIONAL DETAILS
DISCLOSURE TIMELINE
  • 2011-05-12 - Vulnerability reported to vendor
  • 2012-03-13 - Coordinated public release of advisory
CREDIT Alexander Gavrun
BACK TO ADVISORIES