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

Clickjacking to allow permission using window.moveTo in a popup

A page could trick a user into granting a browser permission through clickjacking, using window.moveTo inside a popup to reposition the window. An attacker could get a victim to approve a permission they did not intend to grant.

Hafiizh Follow

Originally disclosed on Mozilla

  • Fixed in 41 days
  • Paid in 46 days
  • Disclosed after 41 days
Text
Created attachment 9361956
bandicam 2023-11-04 04-40-56-944.mp4

i found a vulnerability where user can fall for clickjacking to allow permission

I tested on Firefox version 120.0b4 (64-bit)

steps to reproduce:

1. open clickjacknew.html then click open button
2. Click the "click 3 fastly" button fastly.

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

Impact

A user could be tricked into granting a permission they did not intend to allow; the report only demonstrates this on one Firefox beta version.

What the attacker needed

Victim uses Firefox 120.0b4; victim opens attacker page; victim clicks rapidly

How it was found

  1. Open the provided HTML file and press the open button.
  2. Press the 'click 3 fastly' button repeatedly and quickly.

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 hidden or moving page sits under your mouse so that a click you mean for one thing lands on another. Here a popup window is moved around while the user clicks quickly, so the click ends up on a permission prompt. The result is that the user approves something without realising it.

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.