search menu icon-carat-right cmu-wordmark

CERT Coordination Center

SuSe Linux LibTIFF package vulnerable to buffer overflow

Vulnerability Note VU#129910

Original Release Date: 2004-12-01 | Last Revised: 2004-12-01

Overview

The SuSe Linux version of LibTIFF is vulnerable to a buffer overflow that may allow a remote attacker to execute arbitrary code.

Description

SuSe LibTIFF is a library used to encode and decode images in Tag Image File Format (TIFF) format on SuSE systems. A lack of input validation in the OJPEG (old JPEG) handling routine, OJPEGVSetField (in libtiff/tif_ojpeg.c), may cause a heap-based buffer overflow. Consequently, a remote attacker may be able to exploit this vulnerability by supplying an application using LibTIFF with a specially crafted TIFF image.

Please note that OJPEG support is enabled by default in versions of the SuSE LibTIFF library without the latest security updates (announced at SUSE-SA:2004:038) installed.

Impact

If a remote attacker can persuade a user to access a specially crafted TIFF image, that attacker may be able to execute arbitrary code with the privileges of the application linked to LibTIFF.

Solution

Update SuSE


There is currently no patch available to resolve this issue. Please see the workarounds below for mitigation tactics. SuSE has released updates that disable OJPEG support as part of SuSE Security Announcement SUSE-SA:2004:03.

Disable OJPEG support


Until an update can be applied, you may wish to disable OJPEG support. To do this, the LibTIFF libraries will have to be recompiled with OJPEG support disabled.

Do Not Accept TIFF Images from Untrusted Sources

Exploitation occurs by accessing a specially crafted TIFF image. By only accessing TIFF images from trusted or known sources, the chances of exploitation are reduced.

Vendor Information

129910
 
Affected   Unknown   Unaffected

SuSE Inc.

Notified:  October 26, 2004 Updated:  October 27, 2004

Status

  Vulnerable

Vendor Statement

We shipped products which where affected by this vulnerability. After receiving the report from iDEFENSE we decided to disable OJPEG support in our libtiff packages.

We have released updated libtiff packages disabling the OJPEG support.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

The CERT/CC has no additional comments at this time.

If you have feedback, comments, or additional information about this vulnerability, please send us email.


CVSS Metrics

Group Score Vector
Base N/A N/A
Temporal N/A N/A
Environmental N/A

References

Acknowledgements

This vulnerability was reported by iDefense.iDefense credits Andrei Nigmatulin for discovering this vulnerability.

This document was written by Jeff Gennari.

Other Information

CVE IDs: CVE-2004-0929
Severity Metric: 3.24
Date Public: 2004-10-22
Date First Published: 2004-12-01
Date Last Updated: 2004-12-01 15:40 UTC
Document Revision: 172

Sponsored by the Department of Homeland Security Office of Cybersecurity and Communications.