PHP up to 4.4.4 php_sprintf_appendstring negative memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.6 | $0-$5k | 0.00 |
Summary
A vulnerability has been found in PHP up to 4.4.4 and classified as critical. Affected by this vulnerability is the function php_sprintf_appendstring. This manipulation of the argument negative causes memory corruption.
This vulnerability is registered as CVE-2007-1884. No exploit is available.
The affected component should be upgraded.
Details
A vulnerability was found in PHP up to 4.4.4 (Programming Language Software). It has been declared as critical. Affected by this vulnerability is the function php_sprintf_appendstring. The manipulation of the argument negative 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, integrity, and availability. The summary by CVE is:
Multiple integer signedness errors in the printf function family in PHP 4 before 4.4.5 and PHP 5 before 5.2.1 on 64 bit machines allow context-dependent attackers to execute arbitrary code via (1) certain negative argument numbers that arise in the php_formatted_print function because of 64 to 32 bit truncation, and bypass a check for the maximum allowable value; and (2) a width and precision of -1, which make it possible for the php_sprintf_appendstring function to place an internal buffer at an arbitrary memory location.
The bug was discovered 03/30/2007. The weakness was published 03/30/2007 by Stefan Esser (Website). The advisory is shared at php.net. This vulnerability is known as CVE-2007-1884 since 04/05/2007. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details are known, but no exploit is available.
It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 1 days. During that time the estimated underground price was around $25k-$100k. The vulnerability scanner Nessus provides a plugin with the ID 24906 (PHP < 4.4.5 Multiple Vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CGI abuses and running in the context r. The commercial vulnerability scanner Qualys is able to test this issue with plugin 12259 (PHP Prior to 5.2.1/4.4.5 Multiple Vulnerabilities).
Upgrading to version 4.4.5 eliminates this vulnerability.
The vulnerability is also documented in the databases at X-Force (33755), Tenable (24906), SecurityFocus (BID 23219†), OSVDB (33955†) and Secunia (SA25850†). Similar entries are available at VDB-2592, VDB-2920, VDB-2911 and VDB-2914. Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Product
Type
Name
Version
License
Website
- Product: https://www.php.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 6.6
VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Proof-of-Concept
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 24906
Nessus Name: PHP < 4.4.5 Multiple Vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 100595
OpenVAS Name: PHP Printf() Function 64bit Casting Multiple Format String Vulnerabilities
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: PHP 4.4.5
Timeline
03/30/2007 🔍03/30/2007 🔍
03/30/2007 🔍
04/02/2007 🔍
04/05/2007 🔍
04/05/2007 🔍
04/05/2007 🔍
04/09/2007 🔍
04/16/2007 🔍
06/28/2007 🔍
03/13/2015 🔍
07/18/2019 🔍
Sources
Product: php.orgAdvisory: php.net
Researcher: Stefan Esser
Status: Not defined
Confirmation: 🔍
CVE: CVE-2007-1884 (🔍)
GCVE (CVE): GCVE-0-2007-1884
GCVE (VulDB): GCVE-100-36025
X-Force: 33755
SecurityFocus: 23219 - PHP Printf() Function 64bit Casting Multiple Format String Vulnerabilities
Secunia: 25850
OSVDB: 33955 - PHP php_formatted_print Function 64 Bit Casting Memory Corruption
Vulnerability Center: 14855 - PHP before 4.4.5 and 5.2.1 on 64 bit Machines Code Execution due to Integer Signedness Errors, Medium
Vupen: ADV-2007-1991
See also: 🔍
Entry
Created: 03/13/2015 14:56Updated: 07/18/2019 08:41
Changes: 03/13/2015 14:56 (83), 07/18/2019 08:41 (1)
Complete: 🔍
Cache ID: 216:9BB:103
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.