Android system permission prompts (camera, microphone) can hide fullscreen notification
Categories
(Firefox for Android :: General, defect, P2)
Tracking
()
People
(Reporter: fazim.pentester, Assigned: polly)
References
Details
(Keywords: csectype-spoof, reporter-external, sec-moderate, Whiteboard: [client-bounty-form][adv-main130-])
Attachments
(3 files)
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:
- Download the
poc.html
file and host this file on an HTTPS server (use: https://test-ece44.web.app/firefox/full.html). - 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.
Reporter | ||
Comment 1•1 year ago
|
||
Updated•1 year ago
|
Updated•1 year ago
|
Comment 2•1 year ago
|
||
We thought we fixed this in bug 1871217 in Firefox 126, but we apparently didn't (bug 1874795). This might end up being a dupe of bug 1874795, but let's fix that and see if this is covered.
Updated•1 year ago
|
Updated•1 year ago
|
Reporter | ||
Comment 3•11 months ago
|
||
Hi Polly, I just tested this bug on the latest nightly version and noticed that the file selection no longer opens with fullscreen api. Can you check this aswell? Thanks.
Assignee | ||
Comment 4•11 months ago
|
||
yes, i think this is also fixed - see this screenshot where the fullscreen notification appears above the system permission prompt.
I'm also not getting a permission request for Browse... Maybe the permissions model has changed since this bug was raised, so it doesn't need to ask any more? I suspect all system permission dialogs would behave in a similar way, though.
Assignee | ||
Updated•11 months ago
|
Assignee | ||
Updated•11 months ago
|
Updated•11 months ago
|
Updated•11 months ago
|
Comment 5•10 months ago
|
||
This bug will be referenced in the advisory for the fix (bug 1902996)
Updated•3 months ago
|
Description
•