Fix 1816287 can be Bypassed using setInterval/setTimout Functions
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox116 | --- | fixed |
People
(Reporter: fazim.pentester, Assigned: edgar)
References
Details
(Keywords: csectype-spoof, reporter-external, sec-moderate, Whiteboard: [reporter-external] [client-bounty-form] [verif?] [adv-main116-])
Attachments
(4 files)
The fix applied in the report (https://bugzilla.mozilla.org/show_bug.cgi?id=1816287) to address full-screen notification obscuration in Firefox using maximized external application can be bypassed by utilizing the "setInterval" function.
Tested on latest Firefox Nightly (115.0a1) build
| Reporter | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 2•2 years ago
|
||
Rating the same as bug 1816287 assuming this works. It doesn't seem to on Mac: I get console errors
⚠️ Request for fullscreen was denied because requesting element is not in the currently focused tab.
❗️⃝ Uncaught (in promise) TypeError: Fullscreen request denied
which I think means the previous fix is working on mac. Or maybe it's because I've got "ask every time" turned on?
| Assignee | ||
Comment 3•2 years ago
|
||
Lets wait for bug 1821884 to be resolved first, the solution there might help this as well.
| Reporter | ||
Updated•2 years ago
|
| Reporter | ||
Updated•2 years ago
|
Comment 4•2 years ago
|
||
(In reply to Edgar Chen [:edgar] from comment #3)
Lets wait for bug 1821884 to be resolved first, the solution there might help this as well.
Did this work out ie has this been addressed by that fix?
| Assignee | ||
Comment 5•2 years ago
|
||
Hmm, I could not reproduce this on Mac, Linux and Windows, I always got
Request for fullscreen was denied because requesting element is not in the currently focused tab.
So I can not verify, but I believe it should as long as we update the focus properly when other application is opened.
Comment 6•2 years ago
|
||
Reporter, are you still seeing this on today's nightly build? (https://nightly.mozilla.org/ )
| Reporter | ||
Comment 7•2 years ago
|
||
(In reply to :Gijs (he/him) from comment #6)
Reporter, are you still seeing this on today's nightly build? (https://nightly.mozilla.org/ )
Yes, this poc still works on the latest Firefox Nightly build 116.0a1 (2023-06-11) (64-bit)
| Reporter | ||
Comment 8•2 years ago
|
||
(In reply to Shaheen Fazim from comment #7)
(In reply to :Gijs (he/him) from comment #6)
Reporter, are you still seeing this on today's nightly build? (https://nightly.mozilla.org/ )
Yes, this poc still works on the latest Firefox Nightly build 116.0a1 (2023-06-11) (64-bit)
Oh, I tested it again, and it's not working.
| Assignee | ||
Comment 9•2 years ago
|
||
(In reply to Shaheen Fazim from comment #8)
Oh, I tested it again, and it's not working.
I assume you see the fullscreen notification after switching focus back to the browser window that is in fullscreen mode, am I correct? Thanks!
| Reporter | ||
Comment 10•2 years ago
|
||
| Reporter | ||
Comment 11•2 years ago
|
||
(In reply to Edgar Chen [:edgar] from comment #9)
I assume you see the fullscreen notification after switching focus back to the browser window that is in fullscreen mode, am I correct? Thanks!
Yes.
| Reporter | ||
Comment 12•2 years ago
|
||
| Assignee | ||
Comment 13•2 years ago
|
||
Thanks for the video, this has been addressed by bug 1821884, i.e. the fullscreen notification isn't be hidden by other application, so mark as RESOLVED FIXED.
Updated•2 years ago
|
Updated•2 years ago
|
Comment 15•2 years ago
|
||
This turned out to be a duplicate of, despite the variation in what alternate window was used in the PoC.
| Reporter | ||
Comment 16•2 years ago
|
||
(In reply to Frederik Braun [:freddy] from comment #15)
This turned out to be a duplicate of, despite the variation in what alternate window was used in the PoC.
Can you please CC me?
Comment 17•2 years ago
|
||
Done.
| Reporter | ||
Comment 18•2 years ago
|
||
Thanks 😄
| Reporter | ||
Comment 19•2 years ago
|
||
Oh, this is a different method I didn't think of. Nice! Even if there's a new method, I guess fixing this will prevent these issues. Thanks for the fixes, @edgar and @sefeng.
Updated•2 years ago
|
Updated•2 years ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Description
•