Fenix did not implement "enablement delay" on permission prompts or other dangerous UI that overlay the content area (Tapjacking Permission Using Fullscreen on Android)
Firefox for Android did not apply the enablement delay that normally requires two clicks before a permission prompt can be granted, so a fullscreen page could overlay dangerous UI and trick the user into granting permissions. An attacker could clickjack a victim into allowing camera, microphone or location access without their knowledge.
Originally disclosed on Mozilla
- Fixed in 13 months
- Paid in 13 months
- Disclosed after 13 months
Created attachment 9337482
poc.html
Usually, Firefox requires two clicks to grant access when the Permission Dialogue is spoofed. However, on Android Firefox, this implementation is not present because the Permission Dialogue typically doesn't work with new tabs or pop-ups. However, by using an engaging game in Fullscreen mode, an attacker could Clickjack the victim into unknowingly allowing permissions such as Camera, Audio, or Location, etc.
Steps to Reproduce:
1. Download the file poc.html to a folder.
2. Host the file on an HTTPS site.
Open the Firefox browser on your Android device and navigate to the site at https://{YOUR-SITE}/poc.html to begin testing.
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 Android build of Firefox did not implement the enablement delay that guards permission prompts and other dangerous UI, leaving them open to overlay-based clickjacking.
Impact
A victim could be tricked into granting camera, microphone or location permissions, though the report only describes the technique and does not show a full exploit.
What the attacker needed
Firefox on Android; Victim visits attacker's HTTPS page; Victim interacts with fullscreen content
How it was found
- Download the proof-of-concept HTML file to a folder.
- Host the file on an HTTPS site.
- Open Firefox on the Android device and navigate to the hosted page to test.
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.
Some browser prompts, like asking to allow camera access, are meant to be protected so a page cannot trick you into clicking them. This report says the Android version of Firefox skipped that protection, so a fullscreen game could sit on top of the real prompt and make your tap land on 'allow'. That means a malicious page could get access to your camera, microphone or location without you realising.
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.