PHP 5.3.9 php_register_variable_ex() Code Execution

High Log Correlation Engine Plugin ID 801084


The remote web server uses a version of PHP that is affected by a code execution vulnerability.


PHP version 5.3.9 is reportedly affected by a code execution vulnerability. Specifically, the fix for the hash collision denial of service vulnerability (CVE-2011-4885) itself has introduced a remote code execution vulnerability in the php_register_variable_ex() in the file php_variables.c. A new configuration variable, max_input_vars, was added as part of the fix. If the number of input variables exceeds this value and the variable being processed is an array, code execution can occur.


Upgrade to PHP version 5.3.10 or later.

See Also

Plugin Details

Severity: High

ID: 801084

Family: Web Servers

Published: 2012/02/06

Nessus ID: 57825, 58039

Risk Information

Risk Factor: High

CVSS v2.0

Base Score: 10

Temporal Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

Temporal Vector: CVSS2#E:POC/RL:OF/RC:C

Vulnerability Information

Patch Publication Date: 2012/02/02

Vulnerability Publication Date: 2012/02/01

Reference Information

CVE: CVE-2012-0830

BID: 51830