Skip to content
UI spoofing Disclosed report Intermediate CVE-2024-2609

Firefox external protocol handler prompt is vulnerable to clickjacking

Firefox's external protocol handler prompt can be clickjacked because a popup can open a hidden window and trigger a protocol URI, letting an attacker trick a victim into approving the protocol without realising it. The report demonstrates this with a video and two HTML files.

Shaheen Fazim Follow

Originally disclosed on Mozilla

  • Fixed in 3 months
  • Paid in 3 months
  • Disclosed after 3 months
Text
Created attachment 9365009
demo.mp4

Opening a popup and initiating protocol URI on a hidden window; an attacker can lure the vicitim to clickjack the protocol handler prompt to allow the protocol unknowingly.

Steps to reproduce:
1. Download index.html and popup.html to a folder.
2. Open the index.html and start testing.

The original report as published on Mozilla's Bugzilla, by Shaheen Fazim. 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

Root cause

Likely the protocol handler prompt is rendered in a way that a popup window can cover or overlay it, so user clicks can be redirected to the prompt's allow button.

Impact

An attacker could trick a victim into allowing an external protocol without their knowledge, which may lead to launching another application with attacker-controlled input.

What the attacker needed

Victim uses Firefox; victim visits attacker page; victim clicks on the page

How it was found

  1. Download the provided index.html and popup.html files into a folder.
  2. Open index.html in Firefox and start testing.

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 a website wants to open another app, Firefox shows a prompt asking you to allow it. This report says a malicious site can hide that prompt under a popup so your click lands on 'allow' even though you meant to click something else. That trick is called clickjacking: making you click something you cannot see.

What is UI spoofing?

The interface lies to the user: a framed page catches their clicks, or a browser shows the wrong address or a fake prompt. Paid when it leads to a sensitive action or convincing phishing.

More by Shaheen Fazim

View all

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

Clickjacking and UI spoofing

The lesson behind this report.

The interface lies to the user: a framed page catches their clicks, or a browser shows the wrong address or a fake prompt. Paid when it leads to a sensitive action or convincing phishing.