Skip to content
UI spoofing Disclosed report Intermediate CVE-2020-26953

Entering fullscreen without UI message showing

Firefox could enter fullscreen mode without showing the security notification that normally warns the user, on Windows and macOS. An attacker could therefore make a page go fullscreen without the user being told, which undermines the anti-spoofing purpose of that notice.

Abdulrahman Alqabandi Follow

Originally disclosed on Mozilla

  • Fixed in 2 months
  • Paid in 2 months
  • Disclosed after 2 months
Text
Created attachment 9167532
letsrepro.html

OS/Firefox version:
Works on Firefox 79.0 (64-bit) using Windows 10 Pro
Works on Nightly 81.0a1 (2020-08-01) (64-bit) using Windows 10 Pro
Works on Firefox 79.0 (64-bit) using macOS Catalina Version 10.15.5

Does _not_ work on Firefox 79.0 (64-bit) using Ubuntu 18.04.4 desktop

Repro: 
1. Host attached PoC HTML in an HTTP server (localhost will do, if other then make sure its HTTPS)
2. Open the hosted 'letsrepro.html' and click the anchor tag

Result:
Firefox enters full screen mode without the security UI saying you are entering fullscreen appearing.

Expected:
When entering full screen mode, the UI indicating so should always appear to prevent security concerns.
See Bug 1432856


Other info:
For some reason a WebSocket connection attempt has to happen first for this to work
If I remove 'new WebSocket("ws://nonexistent");' from the PoC, it does not work.

The original report as published on Mozilla's Bugzilla, by Abdulrahman Alqabandi. 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 a timing or state issue in the fullscreen transition that is only triggered after a WebSocket connection attempt, causing the security notification to be skipped.

Impact

A page could enter fullscreen without the user being warned, which could aid spoofing; the issue was seen on Windows and macOS but not on Ubuntu.

What the attacker needed

Victim clicks a link or anchor; page served over HTTP localhost or HTTPS; Windows or macOS Firefox

How it was found

  1. Host the proof-of-concept HTML file on an HTTP server, using HTTPS if not localhost.
  2. Open the hosted page and click the anchor tag.
  3. Observe that fullscreen is entered without the security notification appearing.

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.

Browsers show a small message when a page switches to fullscreen, so you know the page is taking over your screen and it is harder to fake other windows. Here, on some systems, that message did not appear, so a page could go fullscreen silently. The report notes a failed WebSocket connection had to happen first for the problem to show.

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 Abdulrahman Alqabandi

View all

33 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.