Skip to content
UI spoofing Disclosed report Intermediate

iframe sandbox escape

A sandboxed iframe could be escaped by navigating to a privileged Firefox URL scheme, which should have been blocked. An attacker could use this to break out of the sandbox and open arbitrary URLs outside the iframe's restrictions.

Jun Follow

Originally disclosed on Mozilla

  • Fixed in 6 months
  • Paid in 3 months
  • Disclosed after 6 months
Text
Created attachment 8961208
sandbox.html

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36

Steps to reproduce:

1. Open attached file.
2. Click on the link inside iframe.


Actual results:

No popup shown


Expected results:

iframe sandbox can be escaped with firefox://open-url?url=URL_here

The original report as published on Mozilla's Bugzilla, by Jun. 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

Impact

The text claims the iframe sandbox could be escaped, though the observed result was that no popup was shown, so the practical impact is not demonstrated.

What the attacker needed

Victim opens a crafted page; victim clicks a link in an iframe

How it was found

  1. Open the attached file.
  2. Click the link inside the iframe.

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.

A sandboxed iframe is a web page embedded inside another page with restrictions, so it cannot do things like open new windows. This report says a special internal browser address could be used from inside that restricted frame to escape the restrictions. The reporter expected a popup to appear but it did not, so the exact effect is unclear from the text.

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 Jun

View all

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