Skip to content
Path traversal Write-up Intermediate

Zero-day exploit in WinRaR (CVE-2025–8088) used by Threat Actor

WinRAR did not properly sanitise Alternate Data Stream paths during extraction, allowing a crafted RAR archive to write files outside the chosen extraction folder. Attackers used this to drop malware into startup and system locations, leading to code execution and persistence.

Wrench Follow

Published on wr7nch.medium.com

Russia-based blackhat group RomCom is taking advantage of a security bug in the WinRARapplication by sending RAR attachments disguised as a job application or CV.

Wrench, on wr7nch.medium.com

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 extraction logic failed to sanitise Alternate Data Stream paths containing directory traversal sequences, allowing files to be written outside the intended extraction directory.

Impact

An attacker could execute arbitrary code and maintain persistence on the victim's system, potentially leading to data theft, system compromise, and disruption.

What the attacker needed

Victim uses vulnerable WinRAR on Windows; Victim opens a malicious RAR file

The fix

WinRAR was fixed in version 7.13, which properly sanitises ADS paths during extraction.

How it was found

  1. Send a spearphishing email with a weaponised RAR attachment disguised as a CV or invoice.
  2. The victim opens the RAR archive in a vulnerable WinRAR version.
  3. WinRAR extracts files using Alternate Data Stream paths that include relative traversal sequences.
  4. Malicious files are written outside the extraction folder, for example into the Startup folder or system directories.
  5. The dropped files execute or persist via LNK shortcuts or COM/DLL hijacking.

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 flaw let a malicious archive place files in hidden locations on a Windows computer, such as the Startup folder, so harmful programs could run automatically. The attacker only needed the victim to open a specially crafted RAR file.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

More by Wrench

View all

1 more disclosed report, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.