The problem with doing -- and not doing -- an iPhone jailbreak
Jailbreak your iPhone or stay off the Internet, say security researchers.
By Robert Lemos
July 08, 2011 — CSO —
Code that exploits two iPhone flaws to allow people to jailbreak their devices could, ironically, force security-conscious users to use the vulnerabilities to jailbreak their own iPhones and apply a third-party patch.
Wednesday, an iPhone hacker known as Comex updated a site dedicated to jailbreaking iPhones with code that uses two previously unknown vulnerabilities to gain root access to users' devices and jailbreak them, allowing non-App store code to run on Apple's platform. By visiting the site, users who want to jailbreak their phones can install the custom operating system on iPhones, iPads and the iPod Touch in less than 20 seconds, security firm Websense writes in a blog post.
"And it's very, very simple and works flawlessly," Patrik Runald, a security researcher with Websense, writes in the blog post. "It doesn't crash your browser, and it even looks and feels like a regular App Store installation. Very slick but also very dangerous."
Clicking on the "Free" button on the jailbreak site downloads a PDF file containing an exploit that takes advantage of a vulnerability in the built-in PDF reader's handling of a certain font type. The program is "dangerous," argues Runald, because the exploit could be reverse engineered and turned into an attack.
"It wouldn't be hard for a malicious attacker to reverse engineer how the jailbreak works and create something similar that doesn't require the user to click on (a button) and silently installs malicious code on your iOS device, either through the browser or via an email attachment," he writes.
While cybercriminals have not yet adapted the exploit to create infected sites that can install malicious code, the risk exists, say researchers. Apple is working on a fix for the issue, but did not specify timing.
"Apple takes security very seriously," the spokesperson said on Friday. "We have said that a fix will be available."
While the patch will likely come before the next major iOS update, version 5.0, security-conscious iPhone users have little recourse but to install a third-party patch, says Charlie Miller, a security consultant with Accuvant. To do that, they would have to jailbreak their phone first.
"If you jailbreak the phone -- I'm serious -- if you jailbreak and you go to Cydia, the app store for jailbroken phones, there is a program that you can patch the phone with," he says.