Secunia Logo  
 
LibTIFF Two Integer Overflow Vulnerabilities
Secunia Advisory: SA13607
Release Date: 2004-12-22
Last Update: 2005-10-27
Popularity: 14,970 views

Critical:
Highly critical
Impact: System access
Where: From remote
Solution Status: Vendor Patch

Software:LibTIFF 3.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2004-1307
CVE-2004-1308


Description:
infamous41md has reported two vulnerabilities in LibTIFF, which can be exploited by malicious people to compromise a vulnerable system.

1) The vulnerability is caused due to an integer overflow in the "TIFFFetchStripThing()" function in "tif_dirread.c" when parsing TIFF files. This can be exploited via a specially crafted TIFF image file to execute arbitrary code via an application linked against the vulnerable library.

The vulnerability has been reported in version 3.6.1. Other versions may also be affected.

2) The vulnerability is caused due to an integer overflow in the "CheckMalloc()" function in "tif_dirread.c" and "tif_fax3.c" when handling data from a certain directory entry in the file header. This can be exploited via specially crafted TIFF image file to execute arbitrary code via an application linked against the vulnerable library.

The vulnerability has been reported in versions 3.5.7 and 3.7.0. Other versions may also be affected.

Solution:
Update to version 3.7.1.
ftp://ftp.remotesensing.org/pub/libtiff/

Provided and/or discovered by:
infamous41md

Changelog:
2005-01-12: Added link to US-CERT vulnerability note.
2005-05-05: Added link to US-CERT vulnerability note.
2005-10-27: Added CVE reference.

Original Advisory:
iDEFENSE:
http://www.idefense.com/application/poi/display?id=173&type=vulnerabilities
http://www.idefense.com/application/poi/display?id=174&type=vulnerabilities

Other References:
US-CERT VU#125598:
http://www.kb.cert.org/vuls/id/125598

US-CERT VU#539110:
http://www.kb.cert.org/vuls/id/539110


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. OpenSSL DSA / ECDSA "EVP_VerifyFinal()" Spoofing Vulnerability // 70 views
2. Symantec Mail Security for SMTP Response Handling Denial of Service // 43 views
3. Red Hat update for openssl // 32 views
4. Joomla! "X_CMS_LIBRARY_PATH" Directory Traversal Vulnerability // 32 views
5. SAP GUI TabOne ActiveX Control Caption List Buffer Overflow // 31 views
6. Zeroboard Multiple Vulnerabilities // 29 views
7. Nokia Phones SMS Denial of Service Vulnerability // 27 views
8. ComponentOne SizerOne CTab ActiveX Control Caption List Buffer Overflow // 24 views
9. Red Hat update for xterm // 24 views
10. vBulletin Personal Sticky Threads Add-on Security Bypass Vulnerability // 23 views