Attacks/Breaches
8/5/2013
01:44 PM
50%
50%

Android One-Click Google Apps Access Cracked

Hackers could intercept Android users' unique authentication token and gain unauthorized access to Google Apps, Gmail, Drive and other services.

9 Android Apps To Improve Security, Privacy
9 Android Apps To Improve Security, Privacy
(click image for larger view)
Android smartphone and tablet users: Beware attackers who come gunning for a Google-issued authentication token that allows your device to automatically log into Google Apps, Gmail, Google Drive, or any other Google service.

That warning comes by way of Tripwire security researcher Craig Young's Saturday presentation at the Def Con information security conference in Las Vegas, in which Young detailed how a "weblogin" token issued by Google to Android users -- each token is unique -- could be intercepted and abused by an attacker.

A weblogin token allows an Android user to log into a desired Google service in lieu of having to enter a password. Accordingly, any attacker able to obtain a user's token could access any Google service that the Android device is configured to use. Furthermore, any attacker who gained root access -- using malware -- or physical access to an Android device would likewise be able to retrieve the token and gain carte-blanche access to any Google service authorized for use on the device, including Google Apps, Gmail and Google Drive.

[ Feds urge all website operators to check for crypto attack vulnerability. Read HTTPS Hackable In 30 Seconds: DHS Alert. ]

"Android trades security for convenience," said Young, noting in a blog post that he discovered the vulnerabilities after reviewing the Android API. That led him to quickly prototype several iterations of Android applications designed to mislead the user and gain complete account access without passwords or two-step verification codes.

In addition, Young said, "I found several attack vectors which make it possible for an adversary targeting a single Android device to compromise an entire organization." That could occur if an intercepted Android token was issued to a security administrator who had super-user permissions -- for example, to add or delete users from a business's Google Apps domain or to alter their access privileges.

To test the attack vectors, Young crafted a proof-of-concept Stock Viewer app that he uploaded to Google Play in March. If installed, the app intercepted an Android user's weblogin token. Lest anyone criticize Young for putting people at risk, the security researcher said his app carried a disclaimer that it was for testing purposes only and would "completely [compromise] your privacy." To further dissuade anyone from downloading it, he also slapped the app with a $150 price tag.

Interestingly, Google approved the app for sale, meaning that Bouncer, its automated malware detection service, failed to detect the built-in token-grabbing functionality. Similarly, mobile antivirus software from Avast, Lookout, Norton, Sophos and Trend Micro didn't flag the software as posing a risk, or apparently detect that the software had access to the weblogin token.

Google did, however, drop the app from Google Play about a month after it was uploaded. Furthermore, prior to his Def Con talk, Young said that Google's Apps Verify feature -- which is now automatically installed on all Android devices (version 2.3 or above) that want to access Google Play -- had begun warning that the app was malicious before users install it. But Young said that warning disappeared if the app was renamed.

A Google spokesman didn't immediately respond to an emailed request for comment on Young's research. But in advance of the talk, Google had already addressed one attack vector highlighted by Young, which would have allowed someone in possession of a token to reset an account password if two-step verification wasn't enabled. In addition, Google now blocks anyone who logs into a Google account using a weblogin token from adding a user to a Google Apps domain or from obtaining a dump of all data stored by the account.

"Google is closing more weblogin Apps attacks for my #DEFCON talk -- a nice start but still a long long way to go," Young tweeted in advance of his presentation. Notably, Young has called on Google to give Google Apps administrators the ability to block all automatic access via weblogin tokens.

What can Android users do now to mitigate the vulnerability? Young recommended they never use an admin account on Android and regard all token requests made by apps with suspicion. He also recommended that users stick with trusted app stores and vendors -- which is long-standing security advice -- and run antivirus to detect root exploits, which could be used to facilitate weblogin token stealing.

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
Lorna Garey
50%
50%
Lorna Garey,
User Rank: Ninja
8/6/2013 | 7:45:39 PM
re: Android One-Click Google Apps Access Cracked
How well do you think Google is policing its app store, Matt? As well as Apple?
Register for Dark Reading Newsletters
White Papers
Cartoon
Current Issue
Dark Reading, January 2015
To find and fix exploits aimed directly at your business, stop waiting for alerts and become a proactive hunter.
Flash Poll
Video
Slideshows
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2013-7402
Published: 2014-12-17
Multiple unspecified vulnerabilities in request.c in c-icap 0.2.x allow remote attackers to cause a denial of service (crash) via a crafted ICAP request.

CVE-2014-5437
Published: 2014-12-17
Multiple cross-site request forgery (CSRF) vulnerabilities in ARRIS Touchstone TG862G/CT Telephony Gateway with firmware 7.6.59S.CT and earlier allow remote attackers to hijack the authentication of administrators for requests that (1) enable remote management via a request to remote_management.php,...

CVE-2014-5438
Published: 2014-12-17
Cross-site scripting (XSS) vulnerability in ARRIS Touchstone TG862G/CT Telephony Gateway with firmware 7.6.59S.CT and earlier allows remote authenticated users to inject arbitrary web script or HTML via the computer_name parameter to connected_devices_computers_edit.php.

CVE-2014-7170
Published: 2014-12-17
Race condition in Puppet Server 0.2.0 allows local users to obtain sensitive information by accessing it in between package installation or upgrade and the start of the service.

CVE-2014-7285
Published: 2014-12-17
The management console on the Symantec Web Gateway (SWG) appliance before 5.2.2 allows remote authenticated users to execute arbitrary OS commands by injecting command strings into unspecified PHP scripts.

Best of the Web
Dark Reading Radio
Archived Dark Reading Radio
Join us Wednesday, Dec. 17 at 1 p.m. Eastern Time to hear what employers are really looking for in a chief information security officer -- it may not be what you think.