Original URL: https://www.theregister.com/2008/02/07/iphone_vuln_ipod_touch/

Nasty JavaScript code can zap new iPhone, iPod Touch

Kernel bogey

By Tony Smith

Posted in Security, 7th February 2008 15:33 GMT

Security researchers have discovered you can crash an iPhone through the medium of a cleverly crafted webpage.

The exploit, dubbed a "memory exhaustion remote denial of service vulnerability" by the SecurityFocus website, affects Apple's Mobile Safari web browser, a key component of both the iPhone and the iPod Touch.

Code up a webpage a certain way - all it takes is 19 lines of JavaScript - and if you can persuade an iPhone user to view it, the site will trigger the handset's version of Mac OS X to experience a kernel panic and reboot.

It's considered possible that the exploit might also allow miscreants to load and run code on the handset, but as yet this hasn't been confirmed.

The exploit was first uncovered last month under version 1.1.2 of the iPhone's firmware, but this week it emerged that the vulnerability is also present in firmware 1.1.3.

As yet there's no fix for the bug beyond disabling JavaScript, which sufficiently concerned iPhone and iPod Touch owners can do through the Safari section of the device's Settings application.