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

Clickjacking to allowed location permission (bypassing button-enable delay)

A web page could be framed and made fullscreen so that rapid repeated clicks on a button bypassed the browser's delay before enabling the location permission prompt. An attacker could trick a user into granting location permission without a clear, deliberate action.

Hafiizh Follow

Originally disclosed on Mozilla

  • Fixed in 27 days
  • Paid in 29 days
  • Disclosed after 27 days
Text
Created attachment 9326638
bandicam 2023-04-03 21-21-19-749.mp4

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

I tested on Firefox version 111.0.1 (64-bit)

steps  to reproduce:

1. open https://pipabajabakrie.com/upload/geofullscreen6.html
2. Click the "try it" button. then it will appear in fullscreen mode
3. Quickly click the "try it" button 3 times without moving the mouse then the location permission will be allowed

I am attaching 2 videos. one video on firefox and another on chrome where in chrome the mouse click doesn't work in notification permission with same steps to reproduces

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 location permission to a site, potentially disclosing their physical location; the reporter notes the same steps did not work in Chrome for notification permission.

What the attacker needed

Victim uses Firefox; victim clicks a crafted page; victim clicks rapidly without moving mouse

How it was found

  1. Open the provided test page.
  2. Click the 'try it' button to enter fullscreen mode.
  3. Quickly click the 'try it' button three times without moving the mouse.
  4. The location permission is then allowed.

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 hides or overlays a real button so your clicks go to something you did not intend. Here, the page also went fullscreen and the user clicked quickly several times, which got around a safety delay that normally stops accidental permission grants. The result is that the browser allowed the site to ask for and receive your location.

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.