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.