Jail users into Full Screen Mode no matter what key/function they press, they're trapped in regardlessly. (Firefox Focus for Android Lock Exit Fullscreen Mode)
Firefox Focus for Android could be trapped in full-screen mode after the page was reloaded, preventing the user from exiting with the back button or other keys. An attacker could use this to spoof a full-screen interface and keep the user jailed in it.
- Fixed in 4 months
- Paid in 5 months
- Disclosed after 4 months
Created attachment 9397532
jailfs.mp4
We are able to jail users persistently no matter what key/function they press allowing consistent full screen spoof even when tapping on Android back button repeatedly, for example.
Steps to reproduce:
1. Go to https://pwning.click/jailfs.php and tap on "Full Screen Mode"
2. Leave the browser and continue whatever tasks you were doing on your Android Phone on apps for a few minutes or longer.
3. When you come back to Focus, the app will reload and trap you into Full Screen Mode consistently no matter what key/function (e.g. back button) you press.
This has the same impact to this fixed sec-high issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1719088
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 browser did not restore its normal user interface after a page reload while the page was in full-screen mode.
Impact
A user could be trapped in a spoofed full-screen view and unable to return to normal browser controls, which may facilitate phishing or UI deception.
What the attacker needed
Firefox Focus for Android; victim visits a malicious page; victim taps full-screen button; browser reloads after backgrounding
How it was found
- Open the provided test page and tap the full-screen button.
- Leave the browser and use other apps for a few minutes.
- Return to the browser so it reloads the page.
- Try to exit full-screen with the back button or other keys.
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.
Full-screen mode hides the browser controls so a web page fills the whole screen. Normally you can leave it with the back button. Here, after the browser reloaded the page, those controls did not come back, so the user was stuck looking at whatever the page showed.
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.