Permissions, Privileges, and Access Controls in PHP - CVE-2012-2335

 

Permissions, Privileges, and Access Controls in PHP - CVE-2012-2335

Published: May 11, 2012 / Updated: August 11, 2020


Vulnerability identifier: #VU44086
CSH Severity: Medium
CVSS v4: 6.9 [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]
CVE-ID: CVE-2012-2335
CWE-ID: CWE-264
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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

php-wrapper.fcgi does not properly handle command-line arguments, which allows remote attackers to bypass a protection mechanism in PHP 5.3.12 and 5.4.2 and execute arbitrary code by leveraging improper interaction between the PHP sapi/cgi/cgi_main.c component and a query string beginning with a +- sequence.


Affected software

PHP
Gentoo Linux
SUSE Linux

How to mitigate CVE-2012-2335

Install update from vendor's website.


External References

Related Security Bulletins