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.
- Fixed in 34 days
- Paid in 39 days
- Disclosed after 34 days
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
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
- Open the provided HTML file in Firefox.
- Move the mouse quickly to the button labelled 'do many clicks here'.
- Click that button 6-7 times rapidly without moving the mouse.
- 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.