{"uuid": "776acf8b-bf52-4b90-a87f-492cfc6f64a3", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2012-1823", "type": "seen", "source": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/php_cgi_arg_injection.rb", "content": "{\"aliases\": [], \"arch\": \"php\", \"author\": [\"egypt \", \"hdm \", \"jjarmoc\", \"kingcope\", \"juan vazquez \"], \"autofilter_ports\": [80, 8080, 443, 8000, 8888, 8880, 8008, 3000, 8443], \"autofilter_services\": [\"http\", \"https\"], \"check\": true, \"default_credential\": false, \"description\": \"When run as a CGI, PHP up to version 5.3.12 and 5.4.2 is vulnerable to\\n          an argument injection vulnerability.  This module takes advantage of\\n          the -d flag to set php.ini directives to achieve code execution.\\n\\n          From the advisory: \\\"if there is NO unescaped '=' in the query string,\\n          the string is split on '+' (encoded space) characters, urldecoded,\\n          passed to a function that escapes shell metacharacters (the \\\"encoded in\\n          a system-defined manner\\\" from the RFC) and then passes them to the CGI\\n          binary.\\\" This module can also be used to exploit the plesk 0day disclosed\\n          by kingcope and exploited in the wild on June 2013.\", \"disclosure_date\": \"2012-05-03\", \"fullname\": \"exploit/multi/http/php_cgi_arg_injection\", \"is_install_path\": true, \"mod_time\": \"2026-04-22 11:58:04 +0000\", \"name\": \"PHP CGI Argument Injection\", \"needs_cleanup\": null, \"notes\": {\"Reliability\": [\"repeatable-session\"], \"SideEffects\": [\"ioc-in-logs\"], \"Stability\": [\"crash-safe\"]}, \"path\": \"/modules/exploits/multi/http/php_cgi_arg_injection.rb\", \"platform\": \"PHP\", \"post_auth\": false, \"rank\": 600, \"ref_name\": \"multi/http/php_cgi_arg_injection\", \"references\": [\"CVE-2012-1823\", \"OSVDB-81633\", \"OSVDB-93979\", \"EDB-25986\", \"URL-http://web.archive.org/web/20120503154724/http://eindbazen.net/2012/05/php-cgi-advisory-cve-2012-1823/\", \"URL-http://kb.parallels.com/en/116241\"], \"rport\": 80, \"session_types\": false, \"targets\": [\"Automatic\"], \"type\": \"exploit\"}", "creation_timestamp": "2026-09-08T06:50:07.802810Z"}