This is a YAML file written specifically for the php-CGI RCE vulnerability - High Risk
Introduction
php-CGI is an interface used by web servers to run PHP scripts. It connects the PHP interpreter to the web server through CGI (Common Gateway Interface).
Vulnerability Cause
PHP ignored the Best-Fit feature for character conversion in Windows during design. When php-cgi runs on Windows and uses the following character sets (Simplified Chinese 936 / Traditional Chinese 950 / Japanese 932, etc.), attackers can bypass the CVE-2012-1823 patch, thereby executing arbitrary PHP code without requiring login.
Affected Versions
PHP Windows 8.3.0 <= affected versions < 8.3.8
PHP Windows 8.2.0 <= affected versions < 8.2.20
PHP Windows 8.1.0 <= affected versions < 8.1.29
XAMPP Windows affected versions <= 8.2.12
XAMPP Windows affected versions <= 8.1.25
XAMPP Windows affected versions <= 8.0.30
Reference
WeChat Official Account: nday POC
This file can be used with the nuclei tool. Finding vulnerabilities, after all, should be a joyful experience.
If you have any questions, feel free to raise them. Thank you.