Lucene search

K
nessusTenable6993.PRM
HistoryAug 20, 2013 - 12:00 a.m.

PHP < 5.3.12 / 5.4.x < 5.4.2 CGI Query String Code Execution

2013-08-2000:00:00
Tenable
www.tenable.com
24

PHP versions earlier than 5.3.12 / 5.4.2 are affected by the following vulnerabilities.

An error in the file ‘sapi/cgi/cgi_main.c’ can allow a remote attacker to obtain PHP source code from the web server or to potentially execute arbitrary code. In vulnerable configurations, PHP treats certain query string parameters as command line arguments including switches such as ‘-s’, ‘-d’, and ‘-c’.

Note that this vulnerability is exploitable only when PHP is used in CGI-based configurations. Apache with ‘mod_php’ is not an exploitable configuration.

Binary data 6993.prm
VendorProductVersionCPE
phpphpcpe:/a:php:php