CVE-2012-0830

PHP 5.3.9 - Remote Code Execution via Large Number of Variables

Title source: manual
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2012-0830. PoCs published by Stefan Esser.

AI-analyzed exploit summary This exploit targets a memory corruption vulnerability in PHP 5.4.0RC6 (64-bit) by crafting a malicious multipart/form-data POST request. It attempts to execute arbitrary code at a controlled memory address (0x1111111111111111) by manipulating Hashtable structures, bypassing ASLR through brute-force attempts.

Description

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.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Stefan Esser · phpdosphp
https://www.exploit-db.com/exploits/18460

This exploit targets a memory corruption vulnerability in PHP 5.4.0RC6 (64-bit) by crafting a malicious multipart/form-data POST request. It attempts to execute arbitrary code at a controlled memory address (0x1111111111111111) by manipulating Hashtable structures, bypassing ASLR through brute-force attempts.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Complex
Reliability
Racy
Target: PHP 5.4.0RC6 (64-bit)
No auth needed
Prerequisites: Target running PHP 5.4.0RC6 (64-bit) without Suhosin-Patch · Ability to send crafted HTTP POST requests to the target
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (23)

Core 23
Core References
Mailing List vendor-advisory x_refsource_hp
http://marc.info/?l=bugtraq&m=134012830914727&w=2
Various Sources x_refsource_confirm
http://svn.php.net/viewvc?view=revision&revision=323007
Exploit vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/51830
Vendor Advisory vendor-advisory x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2012-0092.html
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://www.osvdb.org/78819
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/47806
Third Party Advisory vendor-advisory x_refsource_debian
http://www.debian.org/security/2012/dsa-2403
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/72911
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/48668
Vendor Advisory x_refsource_confirm
http://www.php.net/ChangeLog-5.php#5.3.10
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/47801
Mailing List mailing-list x_refsource_mlist
http://openwall.com/lists/oss-security/2012/02/02/12
Mailing List mailing-list x_refsource_mlist
http://openwall.com/lists/oss-security/2012/02/03/1
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://securitytracker.com/id?1026631
Vendor Advisory x_refsource_confirm
http://support.apple.com/kb/HT5281
Exploit x_refsource_misc
https://gist.github.com/1725489
Mailing List vendor-advisory x_refsource_apple
http://lists.apple.com/archives/security-announce/2012/May/msg00001.html
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/47813

Scores

EPSS 0.3014
EPSS Percentile 98.0%

Details

CWE
CWE-399
Status published
Products (1)
php/php 5.3.9
Published Feb 06, 2012
Tracked Since Feb 18, 2026