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!

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

Tags securitymobilesmartphonesAppleoperating systemssoftwaretelecommunicationPhonesconsumer electronicsMobile and WirelessMacintoshMac OS

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

Gregg Keizer

Computerworld (US)
Show Comments

Brand Post

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Andrew Teoh

Brother MFC-L9570CDW Multifunction Printer

Touch screen visibility and operation was great and easy to navigate. Each menu and sub-menu was in an understandable order and category

Louise Coady

Brother MFC-L9570CDW Multifunction Printer

The printer was convenient, produced clear and vibrant images and was very easy to use

Edwina Hargreaves

WD My Cloud Home

I would recommend this device for families and small businesses who want one safe place to store all their important digital content and a way to easily share it with friends, family, business partners, or customers.

Walid Mikhael

Brother QL-820NWB Professional Label Printer

It’s easy to set up, it’s compact and quiet when printing and to top if off, the print quality is excellent. This is hands down the best printer I’ve used for printing labels.

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.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?