Skip to content

4daysday/cve-2025-8088

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CVE-2025-8088 WinRAR path traversal tool

⚠ This tool is created solely for educational use only. Unauthorized use outside of controlled environments is strictly prohibited.

A Python script that exploits CVE-2025-8088, a path traversal vulnerability in WinRAR, by generating a malicious archive that places executable payloads into the Windows startup folder using multiple relative directory levels to ensure reliable execution regardless of the extraction location

Requirements

  • Windows OS
  • Python 3.4+
  • Pip
  • WinRar

Features

  • Fully customizable decoy files
  • Deploys payload to Windows startup for persistence
  • Hides payload using ADS
  • Patches RAR headers structure for path injection
  • Ensures archive integrity by regenerating CRC values

How it works?

  1. Creates decoy files
  2. Embeds payload streams using multiple levels of path traversal using ADS
  3. Modifies archives structure with ADS
  4. CRC recalculation
  5. Delivers output to Startup

Configuration⚙

Configure the config.py file

# Configuration
DECOY_FILE_NAME = "document"
DROP_PATH = "AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\Startup\\payload.bat"
PAYLOAD = "@echo off\nstart /B C:\Users\Public\file.exe\n"

To use your own decoy file, type its full path instead of name.

Run💨

Run the script:

python main.py

The output will appear in the output folder.

Disclaimer

This tool is created solely for educational use only. Unauthorized use outside of controlled environments is strictly prohibited.

This project does not include exploit-capable logic, malware, or harmful payloads.

Any misuse is strictly prohibited.

By using this repository, you agree to comply with all applicable laws and ethical standards.

About

Path traversal tool based on cve-2025-8088

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages