Skip to content
UI spoofing Disclosed report Intermediate CVE-2025-1935

Clickjacking of permission prompts for registerprotocol

A web page could trick a user into adding a custom protocol handler through clickjacking, because the permission prompt could be triggered by a double-click without the user moving the mouse. An attacker could use this to register a malicious protocol handler on the victim's browser.

Hafiizh Follow

Originally disclosed on Mozilla

  • Fixed in 14 months
  • Paid in 14 months
  • Disclosed after 14 months
Text
Created attachment 9365492
bandicam 2023-11-26 09-46-34-630.mp4

i found a vulnerability where user can fall for clickjacking to added register protocol permission

I tested on Firefox version 122.0a1 (2023-11-25) (64-bit)

steps to reproduce:

1. open https://pwed.my.id/clickjack/registerprotocol.html or Open registerprotocol.html
2. double click the "double click" button without moving the mouse then the register protocol will be added

The original report as published on Mozilla's Bugzilla, by Hafiizh. 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 permission prompt for registering a protocol handler can be triggered by a double-click without requiring mouse movement, making it susceptible to clickjacking.

What the attacker needed

Victim uses Firefox; victim visits attacker page; victim double-clicks without moving mouse

How it was found

  1. Open the provided test page or the local registerprotocol.html file.
  2. Double-click the button labelled 'double click' without moving the mouse.
  3. The register protocol permission is added.

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.

Clickjacking is when a malicious page tricks you into clicking something you didn't intend to, often by hiding or disguising a button. Here, a double-click on a button could cause the browser to show a permission prompt for adding a custom protocol handler, and the user might accept it without realising. This could let an attacker register a protocol handler that opens their own application or website when you click certain links.

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 Hafiizh

View all

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