PHP up to 4.3.10 exif.c exif_process_IFD_TAG integer coercion

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 was found in PHP up to 4.3.10. It has been rated as critical. Affected is the function exif_process_IFD_TAG of the file exif.c. The manipulation leads to integer coercion. This vulnerability is referenced as CVE-2005-1042. No exploit is available. Upgrading the affected component is advised.

Detailsinfo

A vulnerability, which was classified as critical, has been found in PHP up to 4.3.10 (Programming Language Software). This issue affects the function exif_process_IFD_TAG of the file exif.c. The manipulation with an unknown input leads to a integer coercion vulnerability. Using CWE to declare the problem leads to CWE-192. Integer coercion refers to a set of flaws pertaining to the type casting, extension, or truncation of primitive data types. Impacted is confidentiality, integrity, and availability. The summary by CVE is:

Integer overflow in the exif_process_IFD_TAG function in exif.c in PHP before 4.3.11 may allow remote attackers to execute arbitrary code via an IFD tag that leads to a negative byte count.

The bug was discovered 04/14/2005. The weakness was published 05/02/2005 with PHP Group (Website). It is possible to read the advisory at gentoo.org. The identification of this vulnerability is CVE-2005-1042 since 04/12/2005. 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 of the vulnerability are known, but there is no available exploit.

The vulnerability scanner Nessus provides a plugin with the ID 20499 (Ubuntu 4.10 : php4 vulnerabilities (USN-112-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Ubuntu Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 117972 (CentOS Security Update for PHP (CESA-2005:405)).

Upgrading eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (20115), Tenable (20499), SecurityFocus (BID 13163†), OSVDB (15629†) and Vulnerability Center (SBV-7671†). Similar entries are available at VDB-1320, VDB-1318, VDB-1319 and VDB-1554. Be aware that VulDB is the high quality source for vulnerability data.

Productinfo

Type

Name

Version

License

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: Integer coercion
CWE: CWE-192 / CWE-189
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: 20499
Nessus Name: Ubuntu 4.10 : php4 vulnerabilities (USN-112-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 54917
OpenVAS Name: Gentoo Security Advisory GLSA 200504-15 (PHP)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Timelineinfo

04/12/2005 🔍
04/12/2005 +0 days 🔍
04/12/2005 +0 days 🔍
04/14/2005 +2 days 🔍
04/14/2005 +0 days 🔍
04/26/2005 +12 days 🔍
05/02/2005 +6 days 🔍
05/02/2005 +0 days 🔍
01/15/2006 +258 days 🔍
03/10/2015 +3341 days 🔍
06/04/2019 +1547 days 🔍

Sourcesinfo

Product: php.org

Advisory: gentoo.org
Organization: PHP Group
Status: Not defined
Confirmation: 🔍

CVE: CVE-2005-1042 (🔍)
GCVE (CVE): GCVE-0-2005-1042
GCVE (VulDB): GCVE-100-24815

OVAL: 🔍

X-Force: 20115
SecurityFocus: 13163 - PHP Group Exif Module IFD Tag Integer Overflow Vulnerability
OSVDB: 15629 - CVE-2005-1042 - PHP - Integer Overflow Issue
Vulnerability Center: 7671 - Integer Overflow in PHP 4.3 - 4.3.10 via exif_process_IFD_TAG Function, High

See also: 🔍

Entryinfo

Created: 03/10/2015 23:05
Updated: 06/04/2019 18:31
Changes: 03/10/2015 23:05 (73), 06/04/2019 18:31 (8)
Complete: 🔍
Cache ID: 216::103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!