Critical.
Authoritative.
Strategic.
Subscribe to CIO Magazine »

Sniffer hijacks secure traffic from unpatched iPhones

Nine-year-old bug patched for newer iPhones, iPads, but older models "perpetually vulnerable," says expert

Almost anyone can snoop the secure data traffic of unpatched iPhones and iPads using a recently-revised tool, a researcher said today as he urged owners to apply Apple's latest iOS fix.

The nine-year-old bug was quashed Monday when Apple issued a patch for the iPhone 4, iPhone 3GS and third- and fourth-generation iPod Touch.

If those devices aren't patched, attackers can easily intercept and decrypt secure traffic -- the kind guarded by SSL, which is used by banks, e-tailers and other sites -- at a public Wi-Fi hotspot, said Chet Wisniewski, a security researcher with U.K.-based Sophos.

"This is a nine-year-old bug that Moxie Marlinspike disclosed in 2002," said Wisniewski in an interview today.

On Monday, Marlinspike released a revision of his long-available "sslsniff" traffic sniffing tool that allows a user to intercept SSL traffic from vulnerable iOS devices. "My mother could actually use this," said Wisniewski, alluding to the tool's simplicity.

The bug Apple patched was in the parsing of SSL certificates on iOS, according to Wisniewski and the researchers Apple credited with reporting the flaw.

"iOS's SSL certificate parsing contains a flaw where it fails to check the basicConstraints parameter of certificates in the chain," said Trustwave, a Chicago security firm, in a Monday advisory . "By signing a new certificate using a legitimate end entity certificate, an attacker can obtain a 'valid' certificate for any domain."

Apple credited Trustwave's Paul Kehrer and Recurity Lab's Gregor Kopf with reporting the vulnerability.

Wisniewski confirmed the bug by using a legitimate certificate for his own website to create a valid certificate for PayPal. If he had proceeded, he could have intercepted others' iOS-generated traffic to the real PayPal site and steal their usernames and passwords.

"Anybody can sign anything," said Wisniewski.

Marlinspike disclosed the underlying vulnerability in 2002 , and created sslsniff that same year as a proof-of-concept demonstration of a "man-in-the-middle" attack using rogue certificates. Microsoft patched the bug in Windows' cryptographic component in 2002, but Apple had overlooked it in iOS.

"It's probably been in [iOS] since day one," said Wisniewski, who speculated that even attackers hadn't known of the flaw. "Someone would likely would noticed if it had been used, because every Windows user would have been getting browser warnings [of an invalid certificate] on a public Wi-Fi network even as iPhone users were seeing no such warning."

On Monday Marlinspike refreshed sslsniff to give it the ability to parse SSL traffic from iOS devices. Anyone who downloads the tool can then intercept secured data traffic from unpatched iPhones, iPads and iPod Touches.

"This is worse than Firesheep, because [sslsniff] lets anyone see anything that uses SSL," said Wisniewski, talking about the Firefox add-on that caused a stir last year.

Firesheep let anyone able to launch a browser hijack others' access to Facebook, Twitter and a handful of other services. It was downloaded hundreds of thousands of times as media reports widely circulated last October.

Although a patch for the certificate bug is available for some iPhone and iPod Touch owners, not everyone can protect themselves, Wisniewski said, because Apple has stopped supporting older devices with security and iOS updates.

People with an original iPhone, iPhone 3G, or first- or second-generation iPod Touch cannot patch their devices, for instance.

That prompted Wisniewski to warn users of those models, and people with a newer iOS device that hasn't been patched, against accessing SSL-protected sites and services, especially when they're connected to the Internet via a public wireless network.

"If you are using an iPod Touch generation one or two, or an iPhone older than the 3GS, you will be perpetually vulnerable," Wisniewski said in a blog posted late Monday. "Owners of these devices should not use them for any purpose for which security or privacy is required."

And until users patch newer iOS devices, they should "use their device [only] for telephone calls," Wisniewski added.

Recurity has created a test site that shows whether an iPhone, iPad or iPod Touch is vulnerable to the man-in-the-middle attacks.

Gregg Keizer covers Microsoft, security issues, Apple, Web browsers and general technology breaking news for Computerworld. Follow Gregg on Twitter at @gkeizer, on Google+ or subscribe to Gregg's RSS feed. His e-mail address is gkeizer@computerworld.com.

See more articles by Gregg Keizer.

Read more about security in Computerworld's Security Topic Center.

Join the CIO Australia group on LinkedIn. The group is open to CIOs, IT Directors, COOs, CTOs and senior IT managers.

More about: Apple, etwork, Facebook, Google, Microsoft, PayPal, Sniffer, Sophos, Topic
References show all

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
Users posting comments agree to the CIO comments policy.
Login or register to link comments to your user profile, or you may also post a comment without being logged in.
Related Coverage
Related Whitepapers
Latest Stories
Community Comments
Tags: Apple, Macintosh, Malware and Vulnerabilities, mobile, Mobile OSes, security, sophos
Latest Blog Posts
Whitepapers
  • Why Two Thirds of Enterprise Architecture Projects Fail
    This is the conclusion of a study for the R otterdam U niversity carried out by J onathan B roer in the summer of 2008, ordered by BPM and E A software vendor IDS S cheer. B roer questioned 161 respondents from 89 organizations representing a range of industries about their vision and implementation of the enterprise architecture concept.
    Learn more »
  • Lost USB keys have 66% chance of malware
    Sophos studied 50 USB keys bought at RailCorp's 2011 Lost Property auction in Sydney. The study revealed that two-thirds were infected by malware, and quickly uncovered information about many of the former owners of the devices, their family, friends and colleagues. Disturbingly, none of the owners had used any sort of encryption to secure their files against unauthorised snoopers.
    Learn more »
  • Best Practices for Secure Enterprise Content Mobility
    To secure mobile devices while enabling employees to share data securely, organisations need a comprehensive and flexible solution for secure enterprise content mobility. A secure enterprise content mobility solution complements Mobile Device Management (MDM) solutions and enables mobile workers to easily share data with other authorised users, while ensuring that data is always secure and IT operations are always compliant. Read this whitepaper to learn: How the popularity of Bring Your Own Device (BYOD) is creating new security challenges; Why MDM is useful, but not sufficient; How enterprise content mobility provides an essential layer of security and control for organisations with mobile users.
    Learn more »
All whitepapers
rhs_login_lockGet exclusive access to Invitation only events CIO, reports & analysis.
Recent comments