Skip to content
Misconfiguration Advisory Beginner CVE-2024-7005

Insufficient validation of untrusted input in Safe Browsing (CVE-2024-7005)

Chrome's Safe Browsing download protection did not treat .iqy (Excel Web Query) files as dangerous, so a user could download and open one without a warning. Opening such a file can make Excel fetch remote data and execute a malicious PowerShell process.

Umar Farooq Follow

Originally disclosed on Chrome VRP

  • Fix shipped in 12 months

VULNERABILITY DETAILS

Hi,

IQY attachments are called Excel Web Query files and when opened will attempt to pull data from external sources.

if the user opens the attached IQY file, it queries to the URL indicated in its code. The web query file pulls data, which contains a script that can abuse Excel’s Dynamic Data Exchange (DDE) feature, from the targeted URL into an Excel file. This enables the execution of a malicious PowerShell process.

the spreadsheet can also be a formula that will be executed by Excel. These formulas can then be used to locally launch PowerShell scripts that download and install malware onto the computer.

Add a Harmful Warning to .iqy file Extension.

There is No (.iqy) file Extension in Chrome Safe Browsing List:

safe_browsing/content/resources/download_file_types.asciipb

To Add:

file_types {
extension: "iqy"
ping_setting: FULL_PING
platform_settings {
platform: PLATFORM_TYPE_WINDOWS
danger_level: ALLOW_ON_USER_GESTURE
auto_open_hint: DISALLOW_AUTO_OPEN
}
}

VERSION
Chrome Version: [115.0.5790.110] + [stable]
Chrome Version: [116.0.5845.49] + [beta]
Operating System: [Windows 10]

REPRODUCTION CASE

  1. Create .iqy Extension File
  2. Drag to Chrome Browser (Or) Host in Your Server & Download from Chrome

CREDIT INFORMATION
Reporter credit: [P Umar Farooq]

The original report as published on the Chromium issue tracker, by Umar Farooq. 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

A user who opens a downloaded .iqy file could have Excel fetch remote content and run a malicious PowerShell process, potentially installing malware; the report does not show this happening in practice.

What the attacker needed

Windows with Excel installed; victim downloads and opens the .iqy file

The fix

The .iqy extension should be added to Chrome's Safe Browsing download file-type list with a warning and auto-open disallowed; the text does not say whether this was fixed.

How it was found

  1. Create a file with the .iqy extension.
  2. Drag the file into Chrome, or host it on a server and download it through Chrome.

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.

Safe Browsing is a Chrome feature that warns you before you download or open dangerous files. This report says Chrome's list of dangerous file types was missing .iqy, a file that Excel uses to fetch data from the internet. Because of that gap, a user could download and open the file without a warning, and the file could then make Excel run harmful commands on the computer.

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 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.