#VU33324 Resource management error in PHP - CVE-2012-0830


| Updated: 2020-08-04

Vulnerability identifier: #VU33324

Vulnerability risk: Medium

CVSSv4.0: 5.5 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/U:Green]

CVE-ID: CVE-2012-0830

CWE-ID: CWE-399

Exploitation vector: Network

Exploit availability: Yes

Vulnerable software:
PHP
Universal components / Libraries / Scripting languages

Vendor: PHP Group

Description

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

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.

Mitigation
Install update from vendor's website.

Vulnerable software versions

PHP: 5.3.9


External links
https://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c03360041
https://lists.apple.com/archives/security-announce/2012/May/msg00001.html
https://lists.opensuse.org/opensuse-security-announce/2012-03/msg00013.html
https://lists.opensuse.org/opensuse-security-announce/2012-03/msg00016.html
https://marc.info/?l=bugtraq&m=134012830914727&w=2
https://openwall.com/lists/oss-security/2012/02/02/12
https://openwall.com/lists/oss-security/2012/02/03/1
https://rhn.redhat.com/errata/RHSA-2012-0092.html
https://secunia.com/advisories/47801
https://secunia.com/advisories/47806
https://secunia.com/advisories/47813
https://secunia.com/advisories/48668
https://securitytracker.com/id?1026631
https://support.apple.com/kb/HT5281
https://svn.php.net/viewvc?view=revision&revision=323007
https://thexploit.com/sec/critical-php-remote-vulnerability-introduced-in-fix-for-php-hashtable-collision-dos/
https://www.debian.org/security/2012/dsa-2403
https://www.h-online.com/security/news/item/Critical-PHP-vulnerability-being-fixed-1427316.html
https://www.osvdb.org/78819
https://www.php.net/ChangeLog-5.php#5.3.10
https://www.securityfocus.com/bid/51830
https://exchange.xforce.ibmcloud.com/vulnerabilities/72911
https://gist.github.com/1725489


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.


Latest bulletins with this vulnerability