**WinRAR Path Traversal 0-Day (CVE-2025–8088): PoC ve Güvenlik Analizi Raporu**
A path traversal flaw in WinRAR versions before 7.13 allowed a crafted RAR archive to write files to arbitrary locations, including Windows Startup folders, by abusing Alternate Data Streams. An attacker could achieve persistence and execute malicious code by tricking a user into opening a malicious archive.
Published on seg0.medium.com
ESET araştırmacıları tarafından 18 Temmuz 2025 tarihinde gerçekleştirilen bir analiz sırasında, olağandışı yollarla oluşturulmuş bir RAR arşivi içerisinde msedge.dll adında kötü amaçlı bir DLL dosyası tespit edildi. Yapılan detaylı teknik incelemeler sonucunda, arşivin WinRAR’ın 7.12 sürümünü de kapsayan bir güvenlik…
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the archive extraction logic failed to properly validate file paths when Alternate Data Streams were present, allowing directory traversal.
What the attacker needed
Victim opens a malicious RAR archive; WinRAR version before 7.13
The fix
The vulnerability was fixed in WinRAR 7.13 and users should upgrade to that version or later.
How it was found
- Create a legitimate-looking PDF file.
- Create a malicious .bat file.
- Add the .bat file's content as an Alternate Data Stream to the PDF.
- Compress the PDF with WinRAR using the -os and -ep parameters to include ADS and omit paths.
- Edit the RAR file's hex values to replace the buffer with a path traversal payload.
- Run a Python script to recalculate CRC32 values and produce a valid RAR.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
WinRAR is a program for opening compressed files. A path traversal bug lets a malicious archive place files outside the folder you chose, for example in the Windows Startup folder so they run automatically. The attacker only needs you to open a specially crafted archive.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.