Skip to content
Misconfiguration Advisory Intermediate CVE-2024-11117

Inappropriate implementation in FileSystem (CVE-2024-11117)

The FileSystem API's showDirectoryPicker() method allowed saving a .bat file without the usual cross-confirmation popup that appears when downloading such files. An attacker could trick a user into holding the Enter key to accept dialogs and save the file.

Ameen Basha M K Follow

Originally disclosed on Chrome VRP

  • Fix shipped in 22 months

VULNERABILITY DETAILS
As stated in my another issue Reference added in next line when we download a extension say .exe/.bat it will show pop up for cross confirmation. but by using showDirectoryPicker() Method we can save the .bat file without any popup's

https://bugs.chromium.org/p/chromium/issues/detail?id=1405195

VERSION
Chrome Version: Version 108.0.5359.125 (Official Build) (64-bit)
Operating System: Windows 10 Updated to latest Patch

REPRODUCTION CASE

Poc

  1. Open the below html file. Click on save the jpg file
  2. It will show the Directory Picker Dialog
  3. Approve them
  4. You can now see the Bat file is saved into the disk without any popup

If we can specify the exact folder to open via showDirectoryPicker Method Then This will have a higher impact which of similar to my above report

We can trick the user to hold enter for 2 Sec this will Accept all the dialogs and save the file.

I have tried open the direct sub folder but it is not possible so it needs User interaction to download a file

CREDIT INFORMATION
Externally reported security bugs may appear in Chrome release notes. If
this bug is included, how would you like to be credited?
Reporter credit: Ameen Basha M K (Acknowledge my name with my profile/ mail id)

The original report as published on the Chromium issue tracker, by Ameen Basha M K. Images and videos are our own copies; raw HTML is shown as text. View it on Chromium issue tracker.

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

An attacker could save a dangerous .bat file without the usual warning, but user interaction (holding Enter) is required.

What the attacker needed

Victim uses Chrome on Windows; victim visits a malicious webpage; victim holds Enter for 2 seconds

How it was found

  1. Open the provided HTML file and click to save the jpg file.
  2. A directory picker dialog appears.
  3. Approve the dialog.
  4. The .bat file is saved to disk without any popup.

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 dangerous file like a .bat, Chrome normally shows a warning popup. This report found that using a special file-saving feature (showDirectoryPicker) skipped that warning, so a malicious website could save the file without you noticing. The attacker still needed the user to press Enter for a couple of seconds to accept the dialogs.

What is Misconfiguration?

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

More by Ameen Basha M K

View all

23 more disclosed reports, best first.

More from Google Chrome

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.