topics that matter; ideas worth sharing

share a tip, submit a link, add something new

Mac hack contest bug had been public for a year

April 22, 2008, 09:13 AM —  IDG News Service — 

When Charlie Miller won US$10,000 for hacking
into a Macbook Air laptop
last month, he exploited a flaw that had been
publicly disclosed nearly a year before the contest.

The flaw, it turns out, lay in an open-source software library called the Perl
Compatible Regular Expressions (PCRE) library, which is used by many products
including Apache, the PHP scripting language, and Apple's Safari browser, which
Miller hacked to win the contest.

Miller won $10,000 and a new Macbook Air last month after hacking into the
laptop in a matter of minutes. The PWN2OWN contest invited hackers to try to
install unauthorized software on fully patched Mac OS X, Windows and Linux computers
using previously undisclosed "zero-day" flaws.

In an e-mail interview, security researcher Chris Evans said he found the bug,
which he publicly
disclosed in November 2007
. PCRE developers fixed the bug months earlier
while writing an incomplete fix for the issue in the May 2007 PCRE 6.7 product,
Evans said.

Although Apple's Safari browser uses the PCRE software library, the company
did not patch its version of the library until late last week. That means that
an astute hacker who had noticed the fix in PCRE 6.7 would have been given an
early tip on how to hack into Apple's computers.

Discovering a software bug is the first step toward figuring out how to use
that flaw in an attack, but not every flaw leads to a successful exploit.

In an e-mail interview, Miller confirmed that the bug he'd exploited was the
same one that was patched in PCRE 6.7, but said that researchers at his company,
Independent Security Evaluators, had found it "completely independently."

Miller found another PCRE bug that allowed him to be the first hacker to break
into the iPhone after it was launched last year.

It is very common for developers to incorporate someone else's software library
into their program and then not properly add all the latest bug fixes, said
Dragos Ruiu, one of the organizers of the PWN2OWN contest.

However, Apple should have done a better job of staying on top of the software
it was shipping. "This is a black mark on their security team, but it's
a common problem," he said. The same kind of issue has popped up frequently
with products that use the zlib and JPEG compression libraries, he added.

An Apple representative could not immediately comment for this story, saying
that he would have to first research the issue.

Ironically, Miller gave a presentation
at the Black Hat security conference
last year, arguing that one way to
find bugs in Mac OS X would be to look for out-of-date open-source software
that ships with the Mac and then to scan that project's files.

"I told Apple about this backporting problem then and they didn't listen
and I didn't listen either, because we didn't find the bug by looking at changelogs,
we found it with source code analysis," Miller said.

Although the focus of the PWN2OWN contest was on zero-day flaws, the fact that
Miller exploited a flaw that was unpatched in Apple's products was enough to
earn him the prize, conference organizers say.

That's a good thing, because when asked if he planned to return the prize money,
Miller shot back the following: "No way. It's not my fault they don't fix
their bugs."

IDG News Service

I like it!
Post a comment
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
Resources
White Paper

Symantec Backup Exec 12 and Backup Exec System Recovery 8 deliver industry leading Windows data protection and system recovery. Download this whitepaper to find out the top reasons to upgrade and how to get continuous data protection and complete system recovery.

Webcast

Data and system loss — from a hard drive failure, malicious attack, natural disaster, or simple human error — can happen anytime. Don’t leave your business vulnerable. Make sure you have a secure recovery strategy in place. Symantec's latest backup and system recovery technology can efficiently restore critical applications, individual emails and documents and even restore your entire system in minutes in the event of a loss.

White Paper

Businesses face a growing challenge to ensure that the IT environment is properly protected. Backup Exec 12 integrates with other applications in the Symantec family of products, to complement your current data protection strategy, keep your data securely backed up and make it recoverable when you need it most.

Free stuff
Featured Sponsor

Get a broad understanding of important regulations and how you can make sure your site is in adherence.





Learn how VeriSign SGC-enabled SSL Certificates can help improve site security and customer confidence in the free white paper, "How to Offer the Strongest SSL Encryption." In this paper you will learn the differences between weak and strong encryption and what they mean for your site's performance.

Get VeriSign's free white paper: "The Latest Advancements in SSL Technology" and learn about the benefits of strong SSL encryption, Extended Validation (EV) SSL and security trust marks and what these SSL offerings can do for your site.

Now with Extended Validation (EV) SSL available from VeriSign, you can show your customers that they can trust your site. Learn about EV SSL benefits in this free VeriSign white paper.

More Resources