
CMS Made Simple < 2.2.10 - SQL 인젝션 (python3용 재작성), CVE-2019-905
CMS Made Simple < 2.2.10 - SQL Injection (python3로 재작성됨), CVE-2019-9053
칼리 리눅스에서 이 익스플로잇을 실행하는 것이 문제가 있다는 것을 알게 되었습니다. python2에는 termcolor가 없기 때문입니다. 그래서 약간의 수정으로 python3에서 작동하도록 만들었습니다. 모든 크레딧은 다음에게 돌아갑니다: https://www.exploit-db.com/exploits/46635
취약한 CMS 시스템을 대상으로 https://tryhackme.com 에서 테스트했습니다. 의도한 대로 작동합니다.
┌──(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.