
CVE-2019-11043 PHP7.x RCE
PHP 7.1.x 7.1.33 미만, 7.2.x 7.2.24 미만, 7.3.x 7.3.11 미만 버전에서
PHP 7.2.20/7.3.10에서 테스트됨
1. 비교적 안정적이며, 쿼리 길이와 헤더 헤더 필드 길이를 브루트포스만 하면 됩니다.
2. auto_session으로 취약점 존재 여부 탐지
3. 대상 워커 프로세스 수를 판단하여 견고성 구현
4. 모든 워커 프로세스 오염
location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
include fastcgi_params;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
fastcgi_pass 127.0.0.1:9000;
python cve_2019_11043.py -u http://xxxx/index.php