Skip to content
UI spoofing Disclosed report Intermediate CVE-2023-29534

Obscuring the Full-Screen Toast in Android Through the Select Tag

In Firefox for Android, a page could trigger the native select-option picker and full-screen mode at the same time, hiding the full-screen toast notification. An attacker could use this to conceal the toast while showing a spoofed page in the background.

Shaheen Fazim Follow

Originally disclosed on Mozilla

  • Fixed in 34 days
  • Paid in 39 days
  • Disclosed after 34 days
Text
Created attachment 9316962
poc.rar

In the Firefox Android (Fenix) browser, an attacker can conceal full-screen toast notifications using the following method. 

I recently reported a similar method that uses a URI to launch an external app prompt to hide the Full-Screen Toast (https://bugzilla.mozilla.org/show_bug.cgi?id=1816007). This is a similar method, but it uses internal HTML elements such as the 'select' tag to obscure the full-screen toast from the victim.

When the victim clicks the button, the following proof-of-concept (POC) triggers the launch of Select Option and Fullscreen simultaneously. This obscures the full-screen toast and loads a spoofed page in the background.

Steps to Reproduce:

1. Download and extract the file `poc.rar` 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/kBPErXr197w (YouTube Unlisted)

The original report as published on Mozilla's Bugzilla, by Shaheen Fazim. Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

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 full-screen toast is drawn in the page layer, so a native select-option dialog triggered at the same time is rendered above it and hides it.

Impact

An attacker could hide the full-screen notification and show a spoofed page, which may help in phishing, though the report does not demonstrate any further harm.

What the attacker needed

Victim uses Firefox for Android; victim clicks a button on the page

How it was found

  1. Extract the provided proof-of-concept archive to a folder.
  2. Serve that folder with a local Python HTTP server on port 8080.
  3. Open the proof-of-concept page in Firefox for Android to start testing.

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 full-screen, the browser shows a small notice so you know the page has taken over the screen. This report shows that a page can open a native dropdown menu at the same moment, which covers that notice. Hiding the notice makes it easier to trick someone into thinking they are still on a trusted site.

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.

More by Shaheen Fazim

View all

38 more disclosed reports, best first.

More from Mozilla

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Clickjacking and UI spoofing

The lesson behind this report.

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.