Computer scientist from North Carolina State University have discovered a weakness in smartphones running Google’s Android operating system that allows attackers to secretly record phone conversations, monitor geographic location data, and access other sensitive resources without permission.
Devices sold by HTC, Samsung, Motorola, and Google contain code that exposes powerful capabilities to untrusted apps. These “explicit capability leaks” bypass key security defenses built into Android that require users to clearly grant permission before an app gets access to personal information and functions such as text messaging. The code making the circumvention possible is contained in interfaces and services the device manufactures add to enhance the stock firmware supplied by Google.
The researchers wrote in a paper (PDF) scheduled to be presented at next year’s Network and Distributed System Security Symposium. “We believe these results demonstrate that capability leaks constitute a tangible security weakness for many Android smartphones in the market today,” said the scientist. “Particularly, smartphones with more pre-loaded apps tend to be more likely to have explicit capability leaks.”
A diagnostic app named Woodpecker was created by the scientist and ran on eight smartphones from the four vendors. The most vulnerable was HTC’s EVO 4G device, which was found to leak eight functions, including its precise geographic location finder, camera, text message service, and audio recorder. HTC’s Legend came in second with six leaks. Samsung’s Epic 4G contained three leaks, including the ability to wipe data and applications off the handset. Google’s Nexus One and Nexus S contained one leak.
The researchers found that the manufacturer-supplied enhancements offer a way to circumvent this permissions-based model. In a video demonstration, they show how an app they designed is able to access audio-recording and SMS functions on an EVO 4G without first getting approval from the user. As a result, the app is able to turn on a recorder that collects nearby audio or phone conversations. The app is also able to send unauthorized text messages.
The researchers said both Google and Motorola have confirmed the vulnerabilities in their handsets, but that HTC and Samsung “have been really slow in responding to, if not ignoring, our reports/inquiries.”