这是 CVE-2019-9053 漏洞利用的 Python 3 移植版本,针对 CMS Made Simple (CMSMS) 2.2.10 之前的版本。该漏洞允许通过 News 模块接口进行 SQL 注入。
已在 TryHackMe Simple CTF Challenge 上测试。

该利用程序利用了 CMS Made Simple 的 News 模块中的 SQL 注入漏洞。它可以:
使用以下命令快速下载并运行:
# Download the exploit
curl -O https://raw.githubusercontent.com/del0x3/CVE-2019-9053-port-py3/main/exploit.py
# Download requirements
curl -O https://raw.githubusercontent.com/del0x3/CVE-2019-9053-port-py3/main/requirements.txt
# Install requirements
pip install -r requirements.txt
# Make exploit executable
chmod +x exploit.py
# Run the exploit
./exploit.py -u http://target.com/cms
使用 wget 的替代方法:
wget https://raw.githubusercontent.com/del0x3/CVE-2019-9053-port-py3/main/exploit.py
wget https://raw.githubusercontent.com/del0x3/CVE-2019-9053-port-py3/main/requirements.txt
pip install -r requirements.txt
chmod +x exploit.py
./exploit.py -u http://target.com/cms
git clone https://github.com/del0x3/CVE-2019-9053-port-py3.git
cd CVE-2019-9053-port-py3
pip install -r requirements.txt
基本用法:
python3 exploit.py -u http://target.com/cms
启用密码破解:
python3 exploit.py -u http://target.com/cms -c -w /path/to/wordlist.txt
-u, --url: 目标基础 URL(必需)-w, --wordlist: 用于密码破解的字典路径-c, --crack: 启用密码破解模式此工具仅用于教育和安全研究目的。未经明确许可,请勿将其用于系统。
MIT License