PHP up to 4.0.7 curl_init memory corruption

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.
5.1$0-$5k0.00

A vulnerability classified as critical was found in PHP up to 4.0.7 (Programming Language Software). This vulnerability affects the function curl_init. The manipulation with an unknown input leads to a memory corruption vulnerability. The CWE definition for the vulnerability is CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. As an impact it is known to affect confidentiality. CVE summarizes:

PHP 4.0 with cURL functions allows remote attackers to bypass the open_basedir setting and read arbitrary files via a file: URL argument to the curl_init function.

The bug was discovered 10/27/2004. The weakness was published 12/31/2004 by FraMe as Bug 2344 as not defined bug report (Bugzilla). The advisory is available at bugzilla.fedora.us. This vulnerability was named CVE-2004-1392 since 02/05/2005. The exploitation appears to be easy. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. Technical details are known, but there is no available exploit.

The vulnerability was handled as a non-public zero-day exploit for at least 65 days. During that time the estimated underground price was around $25k-$100k. The vulnerability scanner Nessus provides a plugin with the ID 18163 (RHEL 3 : PHP (RHSA-2005:405)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Red Hat 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 5 months after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (17900) and Tenable (18163). Similar entries are available at 1320, 1318, 1319 and 1554.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.3
VulDB Meta Temp Score: 5.1

VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock

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

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
ATT&CK: Unknown

Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 18163
Nessus Name: RHEL 3 : PHP (RHSA-2005:405)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

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

Timelineinfo

10/27/2004 🔍
10/27/2004 +0 days 🔍
10/28/2004 +1 days 🔍
10/28/2004 +0 days 🔍
12/31/2004 +64 days 🔍
12/31/2004 +0 days 🔍
02/05/2005 +36 days 🔍
04/28/2005 +82 days 🔍
04/29/2005 +1 days 🔍
04/29/2005 +0 days 🔍
05/01/2005 +2 days 🔍
04/14/2015 +3635 days 🔍
06/05/2019 +1513 days 🔍

Sourcesinfo

Product: php.org

Advisory: Bug 2344
Researcher: FraMe
Status: Not defined

CVE: CVE-2004-1392 (🔍)
OVAL: 🔍

X-Force: 17900
SecurityTracker: 1011984
Vulnerability Center: 7718 - PHP <= 5.0.2 Allows Reading Arbitrary Files via open_basedir, Medium
SecurityFocus: 11557 - PHP cURL Open_Basedir Restriction Bypass Vulnerability
Secunia: 15182 - Red Hat update for php, Highly Critical
OSVDB: 11196 - CVE-2004-1392 - PHP - Security Bypass Issue

See also: 🔍

Entryinfo

Created: 04/14/2015 13:28
Updated: 06/05/2019 08:46
Changes: 04/14/2015 13:28 (82), 06/05/2019 08:46 (5)
Complete: 🔍

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!