PHP 5.3.9 php_variables.c php_register_variable_ex resource management
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 9.0 | $0-$5k | 0.00 |
Summary
A vulnerability categorized as critical has been discovered in PHP 5.3.9. This affects the function php_register_variable_ex of the file php_variables.c. Executing a manipulation can lead to resource management.
This vulnerability is registered as CVE-2012-0830. Furthermore, an exploit is available.
It is advisable to upgrade the affected component.
Details
A vulnerability classified as critical was found in PHP 5.3.9 (Programming Language Software). This vulnerability affects the function php_register_variable_ex of the file php_variables.c. The manipulation with an unknown input leads to a resource management vulnerability. The CWE definition for the vulnerability is CWE-399. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:
The php_register_variable_ex function in php_variables.c in PHP 5.3.9 allows remote attackers to execute arbitrary code via a request containing a large number of variables, related to improper handling of array variables. NOTE: this vulnerability exists because of an incorrect fix for CVE-2011-4885.
The weakness was published 02/02/2012 by Stefan Esser (Website). The advisory is shared for download at h20000.www2.hp.com. This vulnerability was named CVE-2012-0830 since 01/19/2012. The exploitation appears to be difficult. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. Technical details and also a public exploit are known.
A public exploit has been developed by Stefan Esser and been published 2 days after the advisory. It is possible to download the exploit at exploit-db.com. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 68448 (Oracle Linux 5 : php53 (ELSA-2012-0092)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Oracle Linux Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 185005 (HP-UX Apache Web Server Running PHP Denial of Service Vulenrability (HPSBUX02791)).
Upgrading to version 5.3.10 eliminates this vulnerability. A possible mitigation has been published immediately after the disclosure of the vulnerability. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 11994.
The vulnerability is also documented in the databases at X-Force (72911), Exploit-DB (18460), Tenable (68448), SecurityFocus (BID 51830†) and OSVDB (78819†). Similar entries are available at VDB-4519, VDB-5319, VDB-9012 and VDB-61162. VulDB is the best source for vulnerability data and more expert information about this specific topic.
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: 10.0VulDB Meta Temp Score: 9.0
VulDB Base Score: 10.0
VulDB Temp Score: 9.0
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: Resource managementCWE: CWE-399 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Author: Stefan Esser
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 68448
Nessus Name: Oracle Linux 5 : php53 (ELSA-2012-0092)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍
OpenVAS ID: 70721
OpenVAS Name: Debian Security Advisory DSA 2403-1 (php5)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Exploit Delay Time: 🔍
Upgrade: PHP 5.3.10
TippingPoint: 🔍
McAfee IPS: 🔍
McAfee IPS Version: 🔍
ISS Proventia IPS: 🔍
PaloAlto IPS: 🔍
Fortigate IPS: 🔍
Timeline
01/19/2012 🔍02/02/2012 🔍
02/02/2012 🔍
02/02/2012 🔍
02/02/2012 🔍
02/03/2012 🔍
02/03/2012 🔍
02/04/2012 🔍
02/04/2012 🔍
02/06/2012 🔍
02/07/2012 🔍
02/21/2012 🔍
07/12/2013 🔍
12/16/2024 🔍
Sources
Product: php.orgAdvisory: h20000.www2.hp.com⛔
Researcher: Stefan Esser
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2012-0830 (🔍)
GCVE (CVE): GCVE-0-2012-0830
GCVE (VulDB): GCVE-100-4600
OVAL: 🔍
X-Force: 72911 - PHP php_register_variable_ex() code execution, High Risk
SecurityFocus: 51830 - PHP 'php_register_variable_ex()' Function Arbitrary Code Execution Vulnerability
Secunia: 47801 - Debian update for php5, Highly Critical
OSVDB: 78819
SecurityTracker: 1026631 - PHP php_register_variable_ex() Lets Remote Users Execute Arbitrary Code
Vulnerability Center: 34402 - PHP 5.3.9 php_register_variable_ex() Allows Remote Code Execution Vulnerability, Critical
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 02/21/2012 01:00Updated: 12/16/2024 06:39
Changes: 02/21/2012 01:00 (88), 04/09/2017 14:30 (16), 03/20/2021 17:00 (3), 12/16/2024 06:39 (14)
Complete: 🔍
Cache ID: 216:5F4:103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.