PHP-CGI Query String Parameter Vulnerability. Actively exploited: CISA added this vulnerability to its Known Exploited Vulnerabilities catalog on 25/03/2022. Patch affected systems as an emergency.
| Package | Affected versions | Patched versions |
|---|---|---|
| php | ≥ 5.4.0, < 5.4.2< 5.3.12 | 5.4.25.3.12 |
| application stack | = 2.0 | |
| gluster storage server for on-premise | = 2.0 | |
| storage | = 2.0 | |
| storage for public cloud | = 2.0 |
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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free