Overview
Multiple integer overflows in the LibTIFF library may allow an attacker to execute arbitrary code.
Description
LibTIFF is a library used to encode and decode images in Tag Image File Format (TIFF) format. A number of potential integer overflow errors exist in the LibTIFF library. A lack of input validation on user-controlled data may allow a remote attacker to manipulate calls to the malloc() routine. One instance of these vulnerabilities is in the TIFFFetchStripThing()routine within the tif_dirread.c file. A lack of validation on data specifying the size of an TIFF image may allow a remote attacker to manipulte malloc()to create a buffer with insufficient size. When data is copied to this under-sized buffer, a heap-based buffer overflow may occur. In order to exploit this specific attack vector, an attacker must craft a TIFF image with the STRIPOFFSETS flag set. |
Impact
Depending on the application being used and the attack vector being exploited, potential consequences range from a denial-of-service condition to the execution of arbitrary code with the privileges of the LibTIFF process. |
Solution
Apply Patch
|
Vendor Information
CVSS Metrics
| Group | Score | Vector |
|---|---|---|
| Base | ||
| Temporal | ||
| Environmental |
References
- http://secunia.com/advisories/12818/
- http://www.ciac.org/ciac/bulletins/p-015.shtml
- http://securitytracker.com/alerts/2004/Oct/1011674.html
- http://seclists.org/lists/bugtraq/2004/Oct/0135.html
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0886
- http://www.osvdb.org/displayvuln.php?osvdb_id=10751
- http://securitytracker.com/alerts/2004/Dec/1012651.html
- http://www.idefense.com/application/poi/display?id=173&type=vulnerabilities
Acknowledgements
This vulnerability was reported in Secunia Security Advisory SA12818.Secunia credits Matthias Clasen for providing information regarding this vulnerability.
This document was written by Jeff Gennari.
Other Information
| CVE IDs: | CVE-2004-0886 |
| Severity Metric: | 10.33 |
| Date Public: | 2004-10-14 |
| Date First Published: | 2004-12-01 |
| Date Last Updated: | 2005-01-25 18:11 UTC |
| Document Revision: | 131 |