requestFullScreen twice Able to Instantly Hide Fullscreen Notification
A browser bug lets a page hide the fullscreen notification toast by requesting fullscreen twice in quick succession after appending a new element. An attacker could make a page enter fullscreen while the user never sees the warning that fullscreen is active.
Originally disclosed on Mozilla
- Fixed in 6 months
- Paid in 6 months
- Disclosed after 6 months
Created attachment 9416973 testcase.html
After requestFullScreen inside element, then append another element to that element, when user re-request fullscreen by quickly reclicking again, the fullscreen notification is immediately disappear (become hidden).
When testing this on mozregression, I able to reproduce the hide fullscreen notification after commit Bug 1821884 - Reshow initial fullscreen notification
Tested on:
- Firefox Nightly 125.0.2 on Ubuntu 24.04 (X11 and Wayland)
- Firefox Nightly 130.0a1 (2024-07-30) on Ubuntu 24.04 (X11 and Wayland)
Steps to reproduce:
- Visit attached testcase.html
- Double-click fast anywhere in the page
- Fullscreen notification toast is immediately disappear
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 flaw in how the fullscreen notification is shown and re-shown when fullscreen is requested again while an element is added to the fullscreen element.
Impact
A page could enter fullscreen without the user seeing the notification, which may help disguise a spoofed interface, though the text does not demonstrate any further exploitation.
What the attacker needed
Victim double-clicks quickly on the page; attacker controls page content
How it was found
- Open the attached test case page.
- Double-click quickly anywhere on the page.
- Observe that the fullscreen notification toast disappears immediately.
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 message so you know it happened. This report shows a way to make that message vanish straight away, so a user might not realise the page has taken over the screen.
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.