Prompt titles show spoofy generic "this site" with iframe Sandbox
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
People
(Reporter: alisyarief.404, Unassigned)
References
Details
(Keywords: csectype-spoof, reporter-external, Whiteboard: [reporter-external] [client-bounty-form] [verif?])
Attachments
(4 files)
Bypass Cors Origin can bypass sandbox="allow-scripts allow-popups allow-modals"
if not include sandbox domain origin show, but if include sandbox origin domain not show
Script Testing :
- orrigin.html in domain URL
- ifr.html in localhost
Reproduce in
Firefox Version : 115.0.2 (64-bit)
OS : Windows 11
Detail Video and script in attachment
Thanks
Updated•3 years ago
|
Reproduce in
Android Firefox Version : 115.2.0
OS : Android
Comment 4•3 years ago
|
||
I do not see any use of CORS in this test whatsoever. What am I missing?
Sorry im missing
Yes this not cors bypass but bypass url prompt not show url organ
Thanks
Updated•3 years ago
|
Comment 6•3 years ago
|
||
See discussion in bug 1844642 comment 2 and 3 — this is the same issue, just different ways to create an opaque origin. It's possible we would want to treat "sandbox" (explicitly untrusted) content differently from non-sandboxed data: urls. There are probably one or two other cases where we end up with a null origin and it would have the same issue.
The current behavior is well known (problems and all). we aren't protecting people by keeping this hidden
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•2 years ago
|
Comment 8•1 year ago
|
||
Actually we already had a bug about needing a different prompt title for sandboxed content
Description
•