Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
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.

FeedsContactPrivacyΒ© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2025-31125 β€” Vite WASM Import Path Traversal πŸ›‘οΈ | Kitploit
Tools/GitHubGitHub/0xgh057r3c0n/cve-2025-31125
Vulnerability AnalysisExploitationWeb Application ExploitationInformation GatheringPenetration TestingLearning & Education
GitHub0xgh057r3c0n/cve-2025-31125

CVE-2025-31125

Vite WASM Import Path Traversal πŸ›‘οΈ

View Repository
121 year agoNot yet reviewed

Most Popular

View all β†’

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    1.0k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    634
  • 3

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    417
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    383
  • 5

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    328
  • 6

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    288

Explore all tools

Browse our collection of tools

View all tools β†’
Share

CVE-2025-31125 Exploit - Vite WASM Import Path Traversal πŸ›‘οΈ

This script is a proof-of-concept (PoC) exploit for CVE-2025-31125, a vulnerability found in Vite. The exploit leverages a WASM Import Path Traversal issue to retrieve sensitive files from vulnerable servers running the Vite framework. It allows attackers to access files like /etc/passwd, /etc/shadow, /etc/hosts, and other sensitive files exposed by the server. ⚠️


🚨 Disclaimer

This tool is for educational purposes only and should only be used on systems you own or have explicit permission to test. Unauthorized access to systems is illegal and can result in legal consequences. Use this tool responsibly! βš–οΈ


✨ Features

  • Exploits Vite WASM Import Path Traversal vulnerability (CVE-2025-31125). πŸš€
  • Extracts and decodes embedded base64 WASM content from vulnerable servers. πŸ“œ
  • Supports multiple file paths, including /etc/passwd, /etc/shadow, and more! πŸ’»
  • Test multiple URLs from a file containing one URL per line. πŸ—‚οΈ
  • SSL certificate verification can be disabled for testing environments. πŸ”
  • Custom path traversal for different file paths on vulnerable servers. πŸ› οΈ

πŸ–₯️ Requirements

  • Python 3.6 or higher 🐍
  • requests library πŸ“¦
  • urllib3 library πŸ”’
  • toilet (optional, for banner) 🎨

Install Python dependencies:

pip3 install -r requirements.txt

To install toilet (optional for banner) on your system:

  • On Ubuntu/Debian: sudo apt install toilet
  • On MacOS: brew install toilet

πŸš€ Installation

  1. Clone the repository to your local machine:
git clone https://github.com/0xgh057r3c0n/CVE-2025-31125.git
cd CVE-2025-31125
  1. Install required Python dependencies:
pip3 install -r requirements.txt

πŸ’» Usage

To use the script, provide either a single target URL using -u or a file with multiple target URLs using -f.

Available Arguments:

  • -u, --url: Target a single URL. 🌐
  • -f, --file: Provide a file with a list of target URLs (one per line). πŸ“„
  • --path: Specify the path to exploit (e.g., /etc/passwd, /etc/shadow). Default is /etc/passwd. πŸ› οΈ
  • --no-verify: Disable SSL verification (useful for self-signed certificates). πŸ”’

Examples:

Single Target with Default Path (/etc/passwd)

python3 exploit.py -u https://example.com --no-verify

Single Target with Custom Path (/etc/shadow)

python3 exploit.py -u https://example.com --no-verify --path /etc/shadow

Multiple Targets from File with Default Path (/etc/passwd)

python3 exploit.py -f targets.txt --no-verify

Multiple Targets from File with Custom Path (/etc/hosts)

python3 exploit.py -f targets.txt --no-verify --path /etc/hosts

πŸ“ž Contact Info

πŸ™‹β€β™‚οΈ Contact (For Collaboration, Research & Cybersecurity Discussions):

  • πŸ“§ Email: [email protected]
  • πŸ”— LinkedIn: Gaurav Bhattacharjee
  • πŸ™ GitHub: 0xgh057r3c0n
  • 🌐 Portfolio: https://0xgh057r3c0n.github.io/

πŸ“ License

This project is licensed under the MIT License. 🌟


πŸ–ΌοΈ Logo

Logo


⚠️ Important Note:

  • Use this tool responsibly only on authorized targets.
  • Unauthorized access to networks or systems is illegal. πŸ”΄
  • This tool is for educational purposes only.

Download Tool