
Exploit for CVE-2019-9053, an unauthenticated SQL injection in CMS Made Simple 2.2.9, that extracts admin credentials and optionally cracks the password using a wordlist.
This repository contains an exploit for an unauthenticated SQL injection vulnerability in CMS Made Simple versions 2.2.9 and earlier. This vulnerability, identified under CVE-2019-9053, allows an attacker to retrieve sensitive information such as the username, hashed password, email, and salt of the CMS administrator.
The original script was written by Daniele Scanu from Certimeter Group and has been updated by Azrenom to be compatible with Python 3 and to include several optimizations for error handling and overall stability.
requeststermcolorBefore running the script, install the required dependencies using pip:
pip install requests termcolor
To run the exploit and retrieve information about the CMS administrator without attempting to crack the password:
python3 exploit.py -u http://[TARGET-IP]/cms
Replace `[TARGET-IP]` with the actual IP address or URL where CMS Made Simple is hosted.
If you have a wordlist and want to attempt cracking the administrator's password after retrieving the salt and hashed password:
python3 exploit.py -u http://[TARGET-IP]/cms --crack -w /usr/share/wordlist/dirb/big.txt
| Option | Description |
|---|
The script operates in several stages:
This script is provided for educational and research purposes only. Any use against systems without explicit permission from the owner is illegal. Use it only in controlled environments or with proper authorization.
If you'd like to contribute to this project, you can:
| `-u` or `--url` | Required. Target CMS URL (e.g. `http://10.10.10.100/cms\`) |
| `-w` or `--wordlist` | Optional. Path to the wordlist to crack the password |
| `-c` or `--crack` | Optional. Enables password cracking after completing the exploit |