PHP 5.3.9 php_variables.c php_register_variable_ex resource management

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

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 10.0
VulDB Meta Temp Score: 9.0

VulDB Base Score: 10.0
VulDB Temp Score: 9.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

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

NVD Base Score: 🔍

Exploitinginfo

Class: Resource management
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

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 Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

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: 🔍

Timelineinfo

01/19/2012 🔍
02/02/2012 +14 days 🔍
02/02/2012 +0 days 🔍
02/02/2012 +0 days 🔍
02/02/2012 +0 days 🔍
02/03/2012 +1 days 🔍
02/03/2012 +0 days 🔍
02/04/2012 +1 days 🔍
02/04/2012 +0 days 🔍
02/06/2012 +2 days 🔍
02/07/2012 +1 days 🔍
02/21/2012 +14 days 🔍
07/12/2013 +507 days 🔍
12/16/2024 +4175 days 🔍

Sourcesinfo

Product: php.org

Advisory: 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: 🔍

Entryinfo

Created: 02/21/2012 01:00
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!