Skip to content
Misconfiguration Advisory Intermediate

(0Day) Microsoft Windows CAB File SmartScreen Bypass Vulnerability

Windows fails to apply the Mark-of-the-Web to files extracted from a CAB archive downloaded from an untrusted location. An attacker could use this to run arbitrary code as the current user after the victim opens a malicious file or visits a malicious page.

Peter Girnus Follow

Originally disclosed on Zero Day Initiative

High 8.8 View original

This vulnerability allows remote attackers to bypass the Mark-of-the-Web protection mechanism on affected installations of Microsoft Windows. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

Peter Girnus (@gothburz) - Trend Micro Zero Day Initiative, 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 CAB extraction process does not propagate the Mark-of-the-Web from the downloaded archive to the files it extracts.

Impact

An attacker could execute arbitrary code in the context of the current user, but the victim must first visit a malicious page or open a malicious file.

What the attacker needed

Victim opens a malicious file or page; CAB file from an untrusted location

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.

The Mark-of-the-Web is a tag Windows adds to files downloaded from the internet so it can warn you before opening them. This report says that when Windows unpacks a CAB file (a compressed archive) from the internet, the files inside do not get that tag. Without the warning, a victim might open a dangerous file and let an attacker run code on their computer.

What is Misconfiguration?

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

More by Peter Girnus

View all

3 more disclosed reports, best first.

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.