Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2025-8088 PoC — WinRAR 安全漏洞

Source
Associated Vulnerability
Title:WinRAR 安全漏洞 (CVE-2025-8088)
Description:WinRAR是WinRAR公司的一款文件压缩器。该产品支持RAR、ZIP等格式文件的压缩和解压等。 WinRAR存在安全漏洞,该漏洞源于路径遍历问题,可能导致任意代码执行。
Description
Path traversal tool based on cve-2025-8088 vulnerability
Readme
# 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
```python
# 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:
```shell
python CVE-2025-8088.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.




File Snapshot

[4.0K] /data/pocs/9c5a1919513bcb26ca79266efc3eec751bad639c ├── [ 207] config.py ├── [4.3K] CVE-2025-8088.py ├── [1.5K] extract.py └── [1.5K] README.md 0 directories, 4 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.