Description
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not properly handle query strings that lack an = (equals sign) character, which allows remote attackers to execute arbitrary code by placing command-line options in the query string, related to lack of skipping a certain php_getopt for the 'd' case.
Remediation
References
Related Vulnerabilities
WordPress Plugin Nokia Maps & Places Cross-Site Scripting (1.6.6)
WordPress Plugin Language Bar Flags Cross-Site Request Forgery (1.0.8)
WordPress Plugin Kraken.io Image Optimizer Cross-Site Request Forgery (2.6.5)
ownCloud Generation of Error Message Containing Sensitive Information Vulnerability (CVE-2021-35947)