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.
Originally disclosed on Mozilla
- Fixed in 10 days
- Paid in 18 days
- Disclosed after 10 days
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
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
- Create a diagcab file.
- Download it in Firefox.
- Open it from Firefox.
- 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.