PHP up to 5.2.0 zend_hash_init a:2147483649:{ memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.8 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as problematic, has been found in PHP up to 5.2.0. The affected element is the function zend_hash_init. Performing a manipulation of the argument a:2147483649:{ results in memory corruption.
This vulnerability is known as CVE-2007-0988. No exploit is available.
It is advisable to upgrade the affected component.
Details
A vulnerability, which was classified as problematic, was found in PHP up to 5.2.0 (Programming Language Software). This affects the function zend_hash_init. The manipulation of the argument a:2147483649:{ with an unknown input leads to a memory corruption vulnerability. CWE is classifying the issue as 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. This is going to have an impact on availability. The summary by CVE is:
The zend_hash_init function in PHP 5 before 5.2.1 and PHP 4 before 4.4.5, when running on a 64-bit platform, allows context-dependent attackers to cause a denial of service (infinite loop) by unserializing certain integer expressions, which only cause 32-bit arguments to be used after the check for a negative value, as demonstrated by an "a:2147483649:{" argument.
The bug was discovered 02/08/2007. The weakness was published 02/09/2007 (Website). The advisory is shared at php.net. This vulnerability is uniquely identified as CVE-2007-0988 since 02/16/2007. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. 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 $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 29378 (SuSE 10 Security Update : PHP5 (ZYPP Patch Number 3290)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. 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 5.2.1 eliminates this vulnerability. A possible mitigation has been published 4 months after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at X-Force (32709), Tenable (29378), OSVDB (32762†), Secunia (SA24089†) and SecurityTracker (ID 1017671†). Similar entries are available at VDB-2920, VDB-2911, VDB-2914 and VDB-2917. If you want to get the best quality for vulnerability data then you always have to consider VulDB.
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: 5.3VulDB Meta Temp Score: 4.8
VulDB Base Score: 5.3
VulDB Temp Score: 4.8
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: 29378
Nessus Name: SuSE 10 Security Update : PHP5 (ZYPP Patch Number 3290)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍
OpenVAS ID: 58119
OpenVAS Name: Debian Security Advisory DSA 1264-1 (php4)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: PHP 5.2.1
Timeline
02/08/2007 🔍02/09/2007 🔍
02/09/2007 🔍
02/09/2007 🔍
02/16/2007 🔍
02/20/2007 🔍
02/20/2007 🔍
02/20/2007 🔍
02/26/2007 🔍
05/08/2007 🔍
12/13/2007 🔍
03/13/2015 🔍
07/15/2019 🔍
Sources
Product: php.orgAdvisory: php.net
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2007-0988 (🔍)
GCVE (CVE): GCVE-0-2007-0988
GCVE (VulDB): GCVE-100-35085
OVAL: 🔍
X-Force: 32709
Secunia: 24089 - PHP Multiple Vulnerabilities, Moderately Critical
OSVDB: 32762 - PHP on 64-bit zend_hash_init Function Remote DoS
SecurityTracker: 1017671
Vulnerability Center: 14381 - PHP zend_hash_init Function Denial of Service, Medium
Vupen: ADV-2007-1991
See also: 🔍
Entry
Created: 03/13/2015 12:16Updated: 07/15/2019 11:36
Changes: 03/13/2015 12:16 (88), 07/15/2019 11:36 (2)
Complete: 🔍
Cache ID: 216:743:103
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.