Skip to content
Misconfiguration Disclosed report Beginner CVE-2023-37208

Diagcab file extension = Executable files may contain viruses or other malicious code

Firefox does not blocklist the .diagcab file extension, so a downloaded diagcab file can be opened directly from the browser without the usual executable-file warning. The reporter claims this enables one-click exploits on Windows, noting that Chrome and Edge already blocklist the extension.

Umar Farooq Follow

Originally disclosed on Mozilla

  • Fixed in 10 days
  • Paid in 18 days
  • Disclosed after 10 days
Text
Created attachment 9338350
Firefox POC.mp4

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.42

Steps to reproduce:

Create Diagcab file. 

Download In Firefox Browser And Open From Firefox Browser 

No " Executable files may contain viruses or other malicious code that could harm your computer "


Actual results:


Diagcab File Comes Under harmful files. 

Diagcab file extension Should Be blocklisted to prevent users To Open Directly from Firefox Browser 

Diagcab file extension Leads to One-Click Exploits in Windows

This File is Already Blocklisted In Chrome & Edge Browsers

The original report as published on Mozilla's Bugzilla, by Umar Farooq. Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

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

Impact

A user who downloads and opens a malicious diagcab file could be exposed to a one-click exploit on Windows, because Firefox does not warn or block the file.

What the attacker needed

Windows victim; victim downloads a malicious diagcab file; victim opens the file from Firefox

The fix

The .diagcab extension should be added to Firefox's blocklist of dangerous file types, as it already is in Chrome and Edge.

How it was found

  1. Create a diagcab file.
  2. Download it in Firefox.
  3. Open it from Firefox.
  4. Observe that no executable-file warning appears.

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.

A diagcab file is a Windows troubleshooting package that can run code when opened. Firefox normally warns you before opening dangerous file types, but it does not do so for this extension. The reporter says this lets a malicious file run with a single click, and that other browsers already block it.

What is Misconfiguration?

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

More by Umar Farooq

View all

15 more disclosed reports, best first.

More from Mozilla

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.