Engineer Demonstrates iPhone Hack After Acknowledging Apple's Patch

By Scott M. Fulton, III | Published August 3, 2007, 11:26 AM

Though security consultant Charlie Miller went through with a scheduled demonstration late yesterday afternoon of how he and his colleagues discovered how to hack the Apple iPhone to obtain personally identifiable information from it, he and his company's Web site both acknowledged that Apple had patched the vulnerability.

The demonstration took place at the BlackHat convention in Las Vegas, where apparently Miller used an unpatched iPhone. Though the specific hole Miller discovered was apparently sealed over, the techniques he demonstrated for uncovering those techniques, and the information he learned along the way, indicate that this may not be the only hole to emerge from what could be characterized as a design flaw.

The problem is an ironic one, according to Miller's slides: The open source library WebKit upon which the iPhone's Safari browser is based, uses "unpatched" code - specifically, a much earlier version of the Perl Regular Expression Library (PREL 6.2) than the current one (7.2). Since the change logs and bug fixes for open source projects are...well, open, it's an academic matter for someone to visit a Web site to read up on the fixes that a library's own developers made to its own software in the process of updating it.

From there, Miller showed, someone out to hack a device that still uses the older, unfixed version of the library can simply employ "fuzzing" - a trial-and-error method of finding sequences of characters that "annoy" a vulnerable portion of the code" - to find out what sequences trip up the code.

In the case of PREL, the change log which listed the discrepancy that developers addressed during the fix, was dated July 2006. Miller pointed out that this could lead to vulnerabilities in Mac OS X versions of Safari as well.

But the iPhone's problems in this case were exacerbated by two fundamental design decisions, he went on, which cannot be changed with mere patches: One is that code appears to be executable from the stack - from the register that's supposed to point to elements of data, not executable instructions.

The other is that internal code addresses are not randomized at boot time, so it's possible to execute system code using memory addresses rather than address names - the latter of which could have been secured.

Last May, Miller raised some eyebrows with the release of a white paper for a Carnegie-Mellon University security workshop, entitled, "The Legitimate Vulnerability Market: Inside the Secretive World of 0-day Exploit Sales" (PDF available here).

As it turned out, he actually demonstrated through experiments with buying and selling exploits on the black market that such a market has yet to become "legitimate," due to the fact that there's no commoditization process with which to establish an index of relative value for any one exploit for sale, with respect to another.

Comments

Some might label this effort as futile, but it actually puts more emphasis on the importance of applying updates. Maybe word will get around to the iPhone community to keep their phones updated.

Score: 0

|

Can Linux do BitLocker better than Windows 7?

Betanews kicks off a new series with a look at how the Linux operating system's FDE stacks up against BitLocker, the Windows feature that today commands a $120 premium.

Firefox 3.5: The need for speed

This has been the big payoff week for Mozilla's developers, who worked overtime to squeeze out the last drop of performance from their new JavaScript engine.

'GeoHot' gets a shower, cleans up nice, reveals new iPhone 3G S jailbreak

Either puberty has been very kind to the author of the new 'Purple Ra1n' jailbreak tool, or George Hotz may also have some adequate Photoshop skills.

What's Next: Obama gives 'Einstein' the go-ahead, while China gives 'Green Dam' a thumbs-down

Plus: If you put up a Web site and name it after you and you're a federal judge, you might not want a bunch of weird nudity hanging around on it.

Why would Windows 7 customers spend $120 more for BitLocker?

For pre-orders from now until July 11, Microsoft is offering the Windows 7 Professional SKU for a very steep discount. So why invest in Ultimate?

Geeks vs. journalists: A tale of two worldviews

Recovery with Angela Gunn Why geeks think most mainstream journalism is flaky, and why the mainstream thinks geeks are trying to kill them. (They're both right.)

Fire in downtown Seattle data center knocks out businesses, online services

Small fire has global impact with payment centers, city services down.

Hybrid satellite cell phones aren't far off

The first satellite in Terrestar's hybrid cellular/satellite phone network has been launched.

SMS could be a critical iPhone vulnerability, says white-hat hacker

Mac hacker Charlie Miller knows how to get into your iPhone.

Will Oracle's Java-based Fusion middleware 'fuse' with Java?

Now that Oracle has acquired Sun Microsystems, Java developers and supporters are wondering when Oracle will formally welcome Java into the family.

All together now: iPhone and Palm Pre, likely to both grace O2's UK portfolio

European wireless network operator O2 has reportedly reached a deal to exclusively carry the Palm Pre in the UK. O2,...

Vista's dead: Microsoft kills an OS and no one cares

Carmi Levy: Wide Angle Zoom Can you kill an operating system? Microsoft is about to find out.

Kantaris Media Player 0.5.7

July 3 - 5:34 PM ET

Wine 1.1.25

July 3 - 5:30 PM ET

ChrisTV Online! Free 4.00

July 3 - 5:22 PM ET

glu 1.0.19 RC1

July 3 - 5:11 PM ET

Website-Watcher 5.1.0 Beta 10

July 3 - 1:20 PM ET