
CMS Made Simple < 2.2.10 - SQLインジェクション (python3用に書き直し), CVE-2019-905
CMS Made Simple < 2.2.10 - SQLインジェクション (python3用に書き直し), CVE-2019-9053
このエクスプロイトをKali Linuxで実行するのは問題がありました。python2にはtermcolorがないため、わずかな修正でpython3で動作するようにしました。 すべてのクレジットは: https://www.exploit-db.com/exploits/46635
https://tryhackme.com の脆弱なCMSマシンでテストしました。期待通り動作しています。
┌──(xtafnull㉿kali)-[/opt]
└─$ python3 46635.py
[+] Specify an url target
[+] Example usage (no cracking password): exploit.py -u http://target-uri
[+] Example usage (with cracking password): exploit.py -u http://target-uri --crack -w /path-wordlist
[+] Setup the variable TIME with an appropriate time, because this sql injection is a time based.