Android system permission prompts (camera, microphone) can hide fullscreen notification
Android system permission prompts, such as those for the camera, microphone or file chooser, can appear over Firefox for Android while a page is in fullscreen without dismissing fullscreen mode. This lets a page hide the fullscreen notification and spoof the browser interface.
Originally disclosed on Mozilla
- Fixed in 2 months
- Paid in 2 months
- Disclosed after 2 months
Created attachment 9402662
poc.html
Various Android system permission prompts, such as those for the camera and microphone, which are when called for the first time or when the user opts for 'ask every time, can be used to hide fullscreen notifications on Firefox for Android and can be exploited for spoofing.
Below, the proof of concept demonstrates two methods to hide fullscreen notifications: by triggering specific Android prompts, such as the microphone permission or file chooser Android permission (when called for the first time or when the user opts for 'ask every time')
Steps to reproduce:
1. Download the `poc.html` file and host this file on an HTTPS server (use: https://test-ece44.web.app/firefox/full.html).
2. Open the above hosted site in the latest Android Firefox browser, and click on "Go fullscreen". You will see that the permission hides the fullscreen notification. You can also test the input file permission as well; both do not exit fullscreen when called and can be used for spoofing.
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 fullscreen notification is not re-shown or kept on top when an Android system permission dialog is triggered, so the dialog covers it while fullscreen persists.
Impact
A page could hide the fullscreen notification and spoof the browser or another app's interface, though this is limited to Firefox for Android and requires the user to trigger a permission prompt.
What the attacker needed
Firefox for Android; victim visits attacker page; victim enters fullscreen; permission prompt is triggered
How it was found
- Host the proof-of-concept page on an HTTPS server.
- Open the hosted page in the latest Android Firefox browser.
- Click the button to go fullscreen and observe that the permission prompt hides the fullscreen notification.
- Repeat with the file input permission to see the same behaviour.
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.
When a website goes fullscreen, the browser normally shows a notice so you know the page is now covering your screen. On Firefox for Android, the report says that asking for a phone permission (like the microphone or a file picker) makes a system pop-up appear, and the fullscreen notice gets hidden behind it. Because the page stays fullscreen, a malicious site could pretend to be the browser or another app.
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.