
Unauthenticated time-based blind SQL injection exploit for CMS Made Simple <= 2.2.9. Extracts admin credentials and optionally cracks password hashes using a wordlist.
This exploit performs an unauthenticated time-based blind SQL injection against CMS Made Simple <= 2.2.9, allowing extraction of:
Optionally, it can crack the password using a provided wordlist.
cmsms_sqli_py3.py – Python 3 exploit script.Python 3 (pre-installed on Kali)
termcolor module:
pip install termcolor
Wordlist for cracking (optional), e.g., /usr/share/wordlists/rockyou.txt
python3 cmsms_sqli_py3.py -u http://target-uri
python3 cmsms_sqli_py3.py -u http://target-uri --crack -w /path/to/wordlist.txt
Example:
python3 cmsms_sqli_py3.py -u http://simplectf.thm/simple/ --crack -w /usr/share/wordlists/rockyou.txt
Performs time-based blind SQL injection on:
moduleinterface.php?mact=News,m1_,default,0&m1_idlist=<payload>
Extracts data character by character by checking response delays.
Extracts:
cms_siteprefs table)cms_users)cms_users)cms_users)Optionally attempts to crack the extracted hash using the provided wordlist and salt.
✅ Fully Python 3 compatible (stable on TryHackMe/HTB workflows). ✅ Works within your virtual environment (venv) cleanly. ✅ Uses color output for clear tracking of progress.
This exploit is for educational purposes only. Do not use it on systems you do not own or have explicit permission to test.
If you need automatic reporting of extracted credentials or auto-login payload generation for your pentest workflow, let me know.