Firefox Android Fullscreen Notification Can Be Obscured Using Print Function
Firefox for Android allows an attacker to obscure the fullscreen notification by launching the print dialog while in fullscreen mode. When the victim tries to exit using the back button or gestures, only the print screen closes, leaving the victim trapped in fullscreen and enabling a spoofed page.
Originally disclosed on Mozilla
- Fixed in 13 months
- Paid in 13 months
- Disclosed after 13 months
Created attachment 9339749
poc.zip
Fenix for Android is vulnerable to a Fullscreen spoofing attack, where an attacker could launch the print() function in Fullscreen. Despite the victim seeing the Fullscreen toast notification, attempting to exit by using the back button or gestures only exits the print() screen and not Fullscreen, leaving the victim trapped in Fullscreen mode. This misleading exit from Fullscreen can be exploited by the attacker to display a spoofed page.
Steps to Reproduce:
1. Download and extract the file poc.zip to a folder
2. Start a Python server on the same folder by running the command `python -m http.server 8080`.
3. Open the Android Firefox browser and navigate to the server at http://{YOUR-SERVER-IP}:8080/poc.html to Begin testing.
Video Demonstration: https://youtu.be/3uoQFUjJzRo (YouTube Unlisted)
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 does not properly handle the print dialog's interaction with fullscreen state, so exiting the print dialog does not exit fullscreen.
Impact
An attacker could trap a victim in fullscreen mode and display a spoofed page, potentially misleading the user.
What the attacker needed
Victim uses Firefox on Android; victim visits a malicious page
How it was found
- Download and extract the provided proof-of-concept file to a folder.
- Start a local Python HTTP server in that folder.
- Open Firefox on Android and navigate to the proof-of-concept page on the server.
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 shows a small notice so you know it happened. This report found that a website can open a print dialog on top of that notice, and when you press back to leave, only the print dialog closes, not the fullscreen. That lets a malicious site keep you in fullscreen and show a fake page that looks like a real 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.