Skip to content
UI spoofing Disclosed report Intermediate CVE-2023-6206

Clickjacking of permission prompts for camera, microphone, geolocation via full screen

A clickjacking vulnerability in Firefox allowed an attacker to trick a user into granting location permission by rapidly clicking a button that overlapped the permission prompt. The attacker could obtain the user's geolocation without proper consent.

Hafiizh Follow

Originally disclosed on Mozilla

  • Fixed in 34 days
  • Paid in 39 days
  • Disclosed after 34 days
Text
Created attachment 9357003
video_2023-10-06_15-08-06.mp4

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

I tested on Firefox version 118.0.1 (64-bit)

steps to reproduce:

1. Open lock2-1-firefox.html
2. fastly move to the "do many clicks here" button.
3. Quickly click the "do many clicks here" button 6-7 times without moving the mouse then the location permission will be allowed

references : https://bugzilla.mozilla.org/show_bug.cgi?id=1826116

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 appeared under the user's cursor without a delay or click-jacking protection, so rapid clicks were registered on the prompt itself.

What the attacker needed

Victim uses Firefox 118.0.1; victim visits a malicious page; victim clicks rapidly as instructed

How it was found

  1. Open the provided HTML file in Firefox.
  2. Move the mouse quickly to the button labelled 'do many clicks here'.
  3. Click that button 6-7 times rapidly without moving the mouse.
  4. The location permission prompt appears and is automatically accepted by the rapid clicks.

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, like a hidden button under your cursor. Here, quickly clicking a button many times caused the browser's permission pop-up to appear under the mouse, so the clicks accidentally approved location access.

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.