Apple Mac OS X 3.6.1 libTIFF tif_dirread.c tifffetchstripthing heap-based overflow

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.0$0-$5k0.00

Summaryinfo

A vulnerability marked as critical has been reported in Apple Mac OS X 3.6.1. This issue affects the function tifffetchstripthing of the file tif_dirread.c of the component libTIFF. The manipulation leads to heap-based overflow. This vulnerability is referenced as CVE-2004-1307. No exploit is available. It is suggested to upgrade the affected component.

Detailsinfo

A vulnerability, which was classified as critical, has been found in Apple Mac OS X 3.6.1 (Operating System). This issue affects the function tifffetchstripthing of the file tif_dirread.c of the component libTIFF. The manipulation with an unknown input leads to a heap-based overflow vulnerability. Using CWE to declare the problem leads to CWE-122. A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc(). Impacted is confidentiality, integrity, and availability. The summary by CVE is:

Integer overflow in the TIFFFetchStripThing function in tif_dirread.c for libtiff 3.6.1 allows remote attackers to execute arbitrary code via a TIFF file with the STRIPOFFSETS flag and a large number of strips, which causes a zero byte buffer to be allocated and leads to a heap-based buffer overflow.

The bug was discovered 12/21/2004. The weakness was published 12/21/2004 as confirmed advisory (CERT.org). The advisory is shared at kb.cert.org. The identification of this vulnerability is CVE-2004-1307 since 12/21/2004. The exploitation is known to be easy. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details are known, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 16048 (Debian DSA-617-1 : tiff - insufficient input validation), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 117960 (CentOS Security Update for kdegraphics (CESA-2005:021)).

Upgrading eliminates this vulnerability. A possible mitigation has been published 3 days after the disclosure of the vulnerability. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 3595.

The vulnerability is also documented in the databases at X-Force (18639), Tenable (16048), OSVDB (12556†) and Vulnerability Center (SBV-8025†). Similar entries are available at VDB-1419, VDB-1442, VDB-1441 and VDB-22364. If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Productinfo

Type

Vendor

Name

Version

License

Support

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 7.0

VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Heap-based overflow
CWE: CWE-122 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 16048
Nessus Name: Debian DSA-617-1 : tiff - insufficient input validation
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 855074
OpenVAS Name: Solaris Update for kpasswd, libgss.so.1 and libkadm5clnt.so.1 109224-11
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
TippingPoint: 🔍

Timelineinfo

12/21/2004 🔍
12/21/2004 +0 days 🔍
12/21/2004 +0 days 🔍
12/21/2004 +0 days 🔍
12/21/2004 +0 days 🔍
12/24/2004 +3 days 🔍
12/27/2004 +3 days 🔍
05/22/2005 +146 days 🔍
02/27/2015 +3568 days 🔍
01/22/2025 +3617 days 🔍

Sourcesinfo

Vendor: apple.com

Advisory: kb.cert.org
Status: Confirmed

CVE: CVE-2004-1307 (🔍)
GCVE (CVE): GCVE-0-2004-1307
GCVE (VulDB): GCVE-100-22565

OVAL: 🔍

CERT: 🔍
X-Force: 18639
OSVDB: 12556 - CVE-2004-1307 - LibtTIFF - Integer-overflow Issue
Vulnerability Center: 8025 - Integer Overflow in LibTiff 3.6.1 viaTIFFFetchStripThing Function, Medium

scip Labs: https://www.scip.ch/en/?labs.20150108
See also: 🔍

Entryinfo

Created: 02/27/2015 23:34
Updated: 01/22/2025 09:29
Changes: 02/27/2015 23:34 (75), 06/01/2019 16:58 (6), 01/22/2025 09:29 (17)
Complete: 🔍
Cache ID: 216:322:103

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!