漏洞詳情
PHP-FPM(PHP FastCGI Process Manager):PHP FastCGI 進程管理器。php-fastcgi用於解析php請求,php-fpm管理php-fastcgi。
利用前提
當 Nginx + PHP-FPM的環境存在以下配置,可導致RCE。
location ~ [^/]\.php(/|$) {
...
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_pass php:9000;
...
}
漏洞復現


參考
https://github.com/neex/phuip-fpizdam/
https://github.com/vulhub/vulhub/tree/master/php/CVE-2019-11043
