PHP up to 5.1.0 Restore zend_ini.c ini_restore denial of service
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.9 | $0-$5k | 0.00 |
Summary
A vulnerability described as problematic has been identified in PHP up to 5.1.0. This impacts the function ini_restore of the file zend_ini.c of the component Restore. Such manipulation leads to denial of service.
This vulnerability is uniquely identified as CVE-2009-2626. Moreover, an exploit is present.
Details
A vulnerability was found in PHP up to 5.1.0 (Programming Language Software) and classified as critical. Affected by this issue is the function ini_restore of the file zend_ini.c of the component Restore. The manipulation with an unknown input leads to a denial of service vulnerability. Using CWE to declare the problem leads to CWE-404. The product does not release or incorrectly releases a resource before it is made available for re-use. Impacted is confidentiality, and availability. CVE summarizes:
The zend_restore_ini_entry_cb function in zend_ini.c in PHP 5.3.0, 5.2.10, and earlier versions allows context-specific attackers to obtain sensitive information (memory contents) and cause a PHP crash by using the ini_set function to declare a variable, then using the ini_restore function to restore the variable.
The weakness was disclosed 12/01/2009 by Maksymilian Arciemowicz with SecurityReason (Website). The advisory is shared for download at debian.org. This vulnerability is handled as CVE-2009-2626 since 07/28/2009. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for exploitation. Technical details as well as a public exploit are known.
The exploit is available at securityfocus.com. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 44041 (Mandriva Linux Security Advisory : php (MDVSA-2010:008)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Mandriva Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 165243 (SUSE Security Update for Multiple Packages (SUSE-SR:2010:005)).
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
The vulnerability is also documented in the databases at X-Force (52374), Exploit-DB (10296), Tenable (44041), SecurityFocus (BID 36009†) and Secunia (SA37482†). The entries VDB-51917, VDB-51778, VDB-51153 and VDB-51041 are pretty similar. Once again VulDB remains the best source for 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: 6.5VulDB Meta Temp Score: 5.9
VulDB Base Score: 6.5
VulDB Temp Score: 5.9
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: Denial of serviceCWE: CWE-404
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 44041
Nessus Name: Mandriva Linux Security Advisory : php (MDVSA-2010:008)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍
OpenVAS ID: 830823
OpenVAS Name: Mandriva Update for php MDVSA-2010:008 (php)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
Timeline
06/07/2007 🔍07/28/2009 🔍
08/10/2009 🔍
11/26/2009 🔍
12/01/2009 🔍
12/01/2009 🔍
01/06/2010 🔍
01/18/2010 🔍
03/18/2015 🔍
02/01/2025 🔍
Sources
Product: php.orgAdvisory: debian.org
Researcher: Maksymilian Arciemowicz
Organization: SecurityReason
Status: Not defined
Confirmation: 🔍
CVE: CVE-2009-2626 (🔍)
GCVE (CVE): GCVE-0-2009-2626
GCVE (VulDB): GCVE-100-50972
OVAL: 🔍
X-Force: 52374
SecurityFocus: 36009 - PHP 'ini_restore()' Memory Information Disclosure Vulnerability
Secunia: 37482 - Debian update for php5, Moderately Critical
Vulnerability Center: 24525 - PHP 5.3 and 5.2.10 Remote Sensitive Information Discloser Vulnerability via Ini_restore() Function, Medium
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 03/18/2015 15:15Updated: 02/01/2025 00:09
Changes: 03/18/2015 15:15 (65), 02/19/2017 16:56 (18), 08/28/2021 09:45 (3), 02/01/2025 00:09 (19)
Complete: 🔍
Cache ID: 216:033:103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.