Apple plugs critical iPhone jailbreak holes

Patches iOS just 10 days after exploits appeared; but researcher wonders about Mac OS X

Apple today patched the two vulnerabilities used to jailbreak Apple's newest iOS 4 operating system, bugs that security researchers warned could be used to hijack iPhones , iPod Touches or iPads .

The patches came just 10 days after a group published a site that automatically exploited and then jailbroke any iOS 4 device that used the mobile Safari browser to surf to jailbreakme.com .

Last week, one prominent iPhone vulnerability researcher called the exploit -- which was actually a two-stage hack -- both "sweet" and "scary."

Also last week, other researchers confirmed that the first exploit of the pair leveraged a flaw in Safari's parsing of fonts in PDF documents to compromise the browser. A second vulnerability was exploited to break out of the isolating "sandbox" and gain full, or "root," control of the device.

Today, Apple identified both bugs.

"A stack buffer overflow exists in FreeType's handling of CFF [Compact Font Format] opcodes," Apple's advisory said. "Viewing a PDF document with maliciously crafted embedded fonts may allow arbitrary code execution."

FreeType is an open-source font engine that Apple uses as a component in both its Mac OS X desktop operating system and in iOS on its mobile devices.

The vulnerability used by jailbreak.com to gain root access to iPhones was in IOSurface, a code framework available to developers in both iOS and Mac OS X, Apple said. "Malicious code running as the user may gain system privileges," the advisory read.

Apple issued a separate update for the iPad because the tablet still runs a predecessor of iOS 4.

According to the Apple advisory, the update does not apply to 2007's first-generation iPhone, but only to the iPhone 3G or later running iOS 2.0 or later.

Nor is Apple apparently patching either of the vulnerabilities in Mac OS X, or even acknowledging whether they exist in the desktop operating system. "Apple no patchy os x. Is it not vulnerable or do they only care in stopping jailbreaking?" tweeted Charlie Miller Wednesday.

A well-known security researcher with a reputation for hacking Macs and iPhones, Miller called the jailbreaking two-stage exploit "beautiful work" last week.

Today's patches weren't a surprise.

Earlier this week, security blogger Ryan Naraine reported that sources had told him Apple was going to ship an iOS update this week. And last Friday, the FreeType patched the CFF bug in its source tree, which would have given Apple the necessary source code to craft their update.

Users can download the iOS update by connecting their iPhone, iPod Touch or iPad to their PC or Mac, running iTunes, clicking on the device in the listing on the left and then clicking the "Check for Update" button.

Join the newsletter!

Error: Please check your email address.
Rocket to Success - Your 10 Tips for Smarter ERP System Selection

Tags telecommunicationMobile and WirelesssmartphonesPhonesMacintoshsoftwaremobileoperating systemsAppleconsumer electronicsMac OSsecurity

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Gregg Keizer

Computerworld (US)
Show Comments

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Ben Ramsden

Sharp PN-40TC1 Huddle Board

Brainstorming, innovation, problem solving, and negotiation have all become much more productive and valuable if people can easily collaborate in real time with minimal friction.

Sarah Ieroianni

Brother QL-820NWB Professional Label Printer

The print quality also does not disappoint, it’s clear, bold, doesn’t smudge and the text is perfectly sized.

Ratchada Dunn

Sharp PN-40TC1 Huddle Board

The Huddle Board’s built in program; Sharp Touch Viewing software allows us to easily manipulate and edit our documents (jpegs and PDFs) all at the same time on the dashboard.

George Khoury

Sharp PN-40TC1 Huddle Board

The biggest perks for me would be that it comes with easy to use and comprehensive programs that make the collaboration process a whole lot more intuitive and organic

David Coyle

Brother PocketJet PJ-773 A4 Portable Thermal Printer

I rate the printer as a 5 out of 5 stars as it has been able to fit seamlessly into my busy and mobile lifestyle.

Kurt Hegetschweiler

Brother PocketJet PJ-773 A4 Portable Thermal Printer

It’s perfect for mobile workers. Just take it out — it’s small enough to sit anywhere — turn it on, load a sheet of paper, and start printing.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?