Skip to content
Misconfiguration Advisory Advanced CVE-2024-30370

RARLAB WinRAR Mark-Of-The-Web Bypass Vulnerability

A crafted archive entry in WinRAR could be extracted without the Mark-Of-The-Web flag, allowing a file to be created that lacks the usual security warning. An attacker could combine this with another vulnerability to execute arbitrary code as the current user.

Orange Tsai .8361) Follow

Originally disclosed on Zero Day Initiative

Medium 4.3 View original

This vulnerability allows remote attackers to bypass the Mark-Of-The-Web protection mechanism on affected installations of RARLAB WinRAR. User interaction is required to exploit this vulnerability in that the target must perform a specific action on a malicious page.

Orange Tsai(@orange.8361) and NiNi (@terrynini38514) from DEVCORE Research Team, on the Zero Day Initiative

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 report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the archive extraction logic failed to propagate the Mark-Of-The-Web to files it created from archive entries.

Impact

An attacker could create files that bypass the Mark-Of-The-Web protection, and could chain this with other vulnerabilities to execute arbitrary code as the current user.

What the attacker needed

Target performs an action on a malicious page; WinRAR installed

The fix

RARLAB issued an update to correct the vulnerability.

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 report has not been written yet. The Original tab links to the source.

When you download a file on Windows, it gets a hidden tag called the Mark-Of-The-Web so Windows knows it came from the internet and may warn you before opening it. This bug let a specially made archive create a file without that tag, so the usual warning could be skipped. On its own it does not run code, but it can help another attack succeed.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.