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.
- Fixed in 6 months
- Paid in 3 months
- Disclosed after 6 months
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
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
- Open the attached file.
- 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.