Hexret
CVE-2012-1823critical 9.8PoC available

PHP-CGI query-string argument injection

Under the CGI SAPI, a query string with no = character is delivered to php-cgi as command-line arguments, so URL-supplied options like -d reach PHP's option parser and turn into remote code execution.

Product
PHP (php-cgi, sapi/cgi)
Vendor
The PHP Group
Affected
< 5.3.12; 5.4.0 through 5.4.1 (php-cgi / CGI SAPI)
Fixed in
5.3.12 and 5.4.2
Weakness
CWE-77
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
11 May 2012

Practice this CVE, free

Classified as

References

Related CVEs