Closed Bug 1844494 Opened 3 years ago Closed 3 years ago

Prompt titles show spoofy generic "this site" with iframe Sandbox

Categories

(Core :: DOM: Core & HTML, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1789495

People

(Reporter: alisyarief.404, Unassigned)

References

Details

(Keywords: csectype-spoof, reporter-external, Whiteboard: [reporter-external] [client-bounty-form] [verif?])

Attachments

(4 files)

Attached video POC.mp4 —

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

Flags: sec-bounty?
Attached file ifr.html —
Attached file orrigin.html —
Group: firefox-core-security → dom-core-security
Component: Security → DOM: Security
Product: Firefox → Core
Attached video POC_Android.mp4 —

Reproduce in

Android Firefox Version : 115.2.0
OS : Android

I do not see any use of CORS in this test whatsoever. What am I missing?

Flags: needinfo?(alisyarief.404)

Sorry im missing
Yes this not cors bypass but bypass url prompt not show url organ

Thanks

Flags: needinfo?(alisyarief.404)
See Also: → 1844642
Component: DOM: Security → DOM: Core & HTML
Summary: Bypass CORS Origin with iframe Sandbox → Prompt titles show spoofy generic "this site" with iframe Sandbox

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

Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: csectype-spoof
Group: dom-core-security
Severity: -- → S4
Status: NEW → RESOLVED
Closed: 3 years ago
Duplicate of bug: 1844642
Resolution: --- → DUPLICATE
Flags: sec-bounty? → sec-bounty-

Actually we already had a bug about needing a different prompt title for sandboxed content

Duplicate of bug: 1789495
No longer duplicate of bug: 1844642
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: