{"id":"CVE-2012-2335","state":"PUBLISHED","title":"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 ","description":"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.","publishedAt":"2012-05-11T10:00:00.000Z","updatedAt":"2024-08-06T19:34:23.818Z","severity":null,"assigner":"redhat","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://bugs.php.net/bug.php?id=61910","http://lists.opensuse.org/opensuse-security-announce/2012-06/msg00004.html","http://lists.opensuse.org/opensuse-security-announce/2012-07/msg00003.html","http://secunia.com/advisories/49014","http://git.php.net/?p=php-src.git%3Ba=blob%3Bf=sapi/cgi/cgi_main.c%3Bh=a7ac26f0#l1569","https://h20564.www2.hp.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c03839862","http://eindbazen.net/2012/05/php-cgi-advisory-cve-2012-1823/","http://www.kb.cert.org/vuls/id/520827","http://www.php.net/archive/2012.php#id2012-05-06-1","https://exchange.xforce.ibmcloud.com/vulnerabilities/75652"],"weaknesses":[],"ingestedAt":"2026-10-29T19:40:19.239Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2012/2xxx/CVE-2012-2335.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2012-2335","state":"PUBLISHED","datePublished":"2012-05-11T10:00:00.000Z","dateUpdated":"2024-08-06T19:34:23.818Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2012-04-19T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://bugs.php.net/bug.php?id=61910","tags":["x_refsource_MISC"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-06/msg00004.html","name":"SUSE-SU-2012:0721","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-07/msg00003.html","name":"SUSE-SU-2012:0840","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://secunia.com/advisories/49014","name":"49014","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://git.php.net/?p=php-src.git%3Ba=blob%3Bf=sapi/cgi/cgi_main.c%3Bh=a7ac26f0#l1569","tags":["x_refsource_MISC"]},{"url":"https://h20564.www2.hp.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c03839862","name":"SSRT100992","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://eindbazen.net/2012/05/php-cgi-advisory-cve-2012-1823/","tags":["x_refsource_MISC"]},{"url":"http://www.kb.cert.org/vuls/id/520827","name":"VU#520827","tags":["third-party-advisory","x_refsource_CERT-VN"]},{"url":"http://www.php.net/archive/2012.php#id2012-05-06-1","tags":["x_refsource_MISC"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/75652","name":"php-phpwrapperfcgi-code-exec(75652)","tags":["vdb-entry","x_refsource_XF"]},{"url":"https://h20564.www2.hp.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c03839862","name":"HPSBMU02900","tags":["vendor-advisory","x_refsource_HP"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2018-01-04T20:57:01.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"},"datePublic":"2012-05-06T00:00:00.000Z"},"adp":[{"title":"CVE Program Container","references":[{"url":"https://bugs.php.net/bug.php?id=61910","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-06/msg00004.html","name":"SUSE-SU-2012:0721","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-07/msg00003.html","name":"SUSE-SU-2012:0840","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://secunia.com/advisories/49014","name":"49014","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://git.php.net/?p=php-src.git%3Ba=blob%3Bf=sapi/cgi/cgi_main.c%3Bh=a7ac26f0#l1569","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://h20564.www2.hp.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c03839862","name":"SSRT100992","tags":["vendor-advisory","x_refsource_HP","x_transferred"]},{"url":"http://eindbazen.net/2012/05/php-cgi-advisory-cve-2012-1823/","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.kb.cert.org/vuls/id/520827","name":"VU#520827","tags":["third-party-advisory","x_refsource_CERT-VN","x_transferred"]},{"url":"http://www.php.net/archive/2012.php#id2012-05-06-1","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/75652","name":"php-phpwrapperfcgi-code-exec(75652)","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"https://h20564.www2.hp.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c03839862","name":"HPSBMU02900","tags":["vendor-advisory","x_refsource_HP","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T19:34:23.818Z"}}]}}}