CVE-2012-0830
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 29.8% chance of exploitation in the next 30 days (EPSS). Higher than most.
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 29.8% in the next 30 days (EPSS).
- Severity: 7.5 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 29.8% · EPSS, next 30 days
- Weakness
- CWE-399
- Record status
- Modified
Affected
- PHP 5.3.9
Attack profile CVSS 2.0 · 7.5
- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2012-0830.md and follow it. Check whether this project is affected by CVE-2012-0830. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
References
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c03360041
- http://lists.apple.com/archives/security-announce/2012/May/msg00001.html
- http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00013.html
- http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00016.html
- http://marc.info/?l=bugtraq&m=134012830914727&w=2
- http://openwall.com/lists/oss-security/2012/02/02/12
- http://openwall.com/lists/oss-security/2012/02/03/1
- http://rhn.redhat.com/errata/RHSA-2012-0092.html
- http://secunia.com/advisories/47801
- http://secunia.com/advisories/47806
- http://secunia.com/advisories/47813
- http://secunia.com/advisories/48668
- http://securitytracker.com/id?1026631
- http://support.apple.com/kb/HT5281
- http://svn.php.net/viewvc?view=revision&revision=323007
- http://thexploit.com/sec/critical-php-remote-vulnerability-introduced-in-fix-for-php-hashtable-collision-dos/
- http://www.debian.org/security/2012/dsa-2403
- http://www.h-online.com/security/news/item/Critical-PHP-vulnerability-being-fixed-1427316.html
- http://www.osvdb.org/78819
- http://www.php.net/ChangeLog-5.php#5.3.10
- http://www.securityfocus.com/bid/51830
- https://exchange.xforce.ibmcloud.com/vulnerabilities/72911
- https://gist.github.com/1725489
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c03360041
- http://lists.apple.com/archives/security-announce/2012/May/msg00001.html