ie8 fix
madison

Networking

Steven J. Vaughan-Nichols

Android has a gaping network security hole

By | May 17, 2011, 11:22am PDT

Summary: Yes, 99.7% of all Android devices really are “potentially” vulnerable to data leaks. Here’s what you can do about it today.

A trio of German security researchers from the University of Ulm have looked into the question of whether “it was possible to launch an impersonation attack against Google services and started our own analysis. The short answer is: Yes, it is possible, and it is quite easy to do so. Further, the attack is not limited to Google Calendar and Contacts, but is theoretically feasible with all Google services using the ClientLogin authentication protocol for access to its data APIs (application programming interface).” In other words: We are so hosed.

The problem is in the way that applications which deal with Google services request authentication tokens . These tokens are sometimes not even encrypted themselves and are good, in some cases, for up to two weeks. All a hacker has to do is grab these off an open Wi-Fi connection and you have the “key” to someone’s Gmail account, their Google calendar, or what have you.

It’s not just limited to Android apps though. The researchers also report that “this vulnerability is not limited to standard Android apps but pertains to any Android apps and also desktop applications that make use of Google services via the ClientLogin protocol over HTTP rather than HTTPS.”

Grabbing this information off the air is trivial. While it’s not as easy as using Firesheep to hi-jack a Web session, anyone with a lick of hacking talent and a network protocol analyzer such as WireShark can grab your tokens. With those in hand they can then change your Google passwords or do anything else they want with your various Google accounts.

Google, the Android smartphone and tablet makers, and the telecoms must fix this. Now.

While Android 3.x and Android 2.3.4 require the Google Calendar and Contacts apps to use the more secure HTTPS for their connections, your devices are very unlikely to currently have either one. The vendors must push out these updates sooner rather than later. In addition, Google needs to require all its ClientLogin requests to be made over secure connections. Developers should switch from ClientLogin to Oauth or some other more secure user authentication routine.

What can you do as an Android user? Well, as you wait for your vendor to update your device to Android 2.3.4, you can make a habit of not using any open Wi-Fi network.

That’s often easier to say than to do. In that case, I recommend that you either user your corporate VPN or look into setting up a Virtual Private Network (VPN) to call your own. This used to be something only a network administrator should try, but lately it’s become much easier to set up a small business, or even home, VPN server.

Fortunately, you shouldn’t need to add any software to your Android device to get it to work with your VPN. Android comes with its own built-in VPN software. This software supports most of the common VPN protocols. You’ll find it on your Android device under Wireless and Network settings/VPN Settings/Add VPN.

There are also VPN Android programs, such as 1 VPN and NeoRouter for Android, but you should try using Android’s built-in VPN setup mechanisms first. If that proves a little too difficult for you, then try one of these programs.

The real answer, of course, needs to come from Google, the hardware vendors, and the telecoms. Google’s Android developers need to improve security in their latest operating systems and patch the older versions of Android to handle the tokens securely. In turn, the vendors and telecoms need to ship the latest versions of Android, with security patches, to users as soon as possible. Until they do, it’s only a matter of time before users start losing important information through this hole to data thieves.

Related Stories:

99.7% of all Android smartphones vulnerable to serious data leakage

Most Android devices vulnerable to identity theft

Connect to a PPTP VPN from your Android phone

Kick off your day with ZDNet's daily e-mail newsletter. It's the freshest tech news and opinion, served hot. Get it.

Topics

Steven J. Vaughan-Nichols, aka sjvn, has been writing about technology and the business of technology since CP/M-80 was the cutting edge, PC operating system

Disclosure

Steven J. Vaughan-Nichols

Steven J. Vaughan-Nichols is a freelance writer. He does not own stocks or other investments in any technology company.

Biography

Steven J. Vaughan-Nichols

Steven J. Vaughan-Nichols, aka sjvn, has been writing about technology and the business of technology since CP/M-80 was the cutting edge, PC operating system; 300bps was a fast Internet connection; WordStar was the state of the art word processor; and we liked it.

His work has been published in everything from highly technical publications (IEEE Computer, ACM NetWorker, Byte) to business publications (eWEEK, InformationWeek, ZDNet) to popular technology (Computer Shopper, PC Magazine, PC World) to the mainstream press (Washington Post, San Francisco Chronicle, BusinessWeek).

95
Comments

Join the conversation!

Just In

RE: Android has a gaping network security hole
FAULKNE 13th Oct
Good day to confirm this comment I would appreciate T h e b e s t o f Z D N e t d e l i v e r e d your website very nice to everyone Yes, Oracle is the only one with shared-disk architecture, but that is there advantage. It means you can add or remove nodes and the database lives on. In a shared nothing architecture, if you lose a node, you lose the system. I'm sure Oracle appreciates EMC highlighting their advantage.I also desire to signal in your RSS feeds. Thank you as soon as once again and maintain up the great operate Awesome post! Thank you very much || thanks for nice content this is really benefit to me.
0 Votes
+ -
It's not quite THAT big a hole
Will Pharaoh 17th May 2011
I actually scraped a layer of paint off of the hull of the ship I sailed thru it, so it's not quite as big as everyone is claiming.
0 Votes
+ -
@Will Pharaoh

Just checking, but I'm pretty sure this is exactly the same giant whole in which PCs, iPhones, and every single other device which transmits unencrypted ethernet packets falls. It is a strong argument for why it completely unethical for service providers to hold up updates, however.
0 Votes
+ -
@tkejlboom you wouldn't be questioning who paid for this to be discovered would you? This is nothing like Facebook paying a PR company to find flaws with Google, oh no it isn't
0 Votes
+ -
@tkejlboom very true, but they still do it :/
0 Votes
+ -
@tkejlboom

I would like to see the author of the article address your point: PC, iPhone of every stripe, do they have a similar problem? I think the title of the article says a lot; there is more heat than light in the article.
0 Votes
+ -
@tkejlboom How is that relevant to the issue involving Android? Are you really such an insecure Google fanboy that you'll bring up an irrelevant point to defend Google/Android?

We know PCs and Macs have security holes. But that has nothing to do with the article at hand. The article is about Android.
0 Votes
+ -
@Will Pharaoh lol
0 Votes
+ -
Destination Wedding dresses
This is a great article thanks for sharing this informative information. I will visit your blog regularly for some latest post.
0 Votes
+ -
"anyone with a lick of hacking talent and a network protocol analyzer such as WireShark can grab your tokens."

I guess that excludes the entire staff at ZDNET Huh? =D
0 Votes
+ -
Contributr
@Peter Perry Well, I could certainly do it in my sleep. happy But, seriously anyone with a Network+ level of network experience could do it easily.

Steven
0 Votes
+ -
@Peter Perry Really, this is a non issue for you (I do kind of agree) but you had such outrage at Apple because past location information was stored on the phone and in the back on the PC? Your Fandroid status has risen so quickly as of late, are you know the poster boy for them?
0 Votes
+ -
RE: Android has a gaping network security hole
Cylon Centurion 17th May 2011
It's so Google can sniff your data.
0 Votes
+ -
Google needs to use their vast experience
iPad-awan Updated - 17th May 2011
of breaking into people personal computers and apply a suitable defense for their Android system. But Google would rather rush this crappy system out so they can make a quick buck off you instead.
0 Votes
+ -
[citation needed]
0 Votes
+ -
@iPad-awan It should be noted that in all of these so-called Android security problems, the bug has been fixed in Android before problems arise but mobile carriers just don't ship the update.
0 Votes
+ -
@tomdwright While maybe true how does that help all the Android users out there? Don't know the details or if it is the same story but there was something on the news last night about a new security issue on Android phones. They said Google promised a fix within a few days. My thought was great job Google in getting the fix but too bad for all the users who don't get updates.
0 Votes
+ -
RE: Android has a gaping network security hole
Gabriel Hernandez 17th May 2011
Android devices affected are not just smartphones with Froyo, there are many tables out there like Samsung Galaxy tablet which comes with Froyo, I think phone carriers and hardware manufacturers selling Froyo OS Android version should send their devices back to Google and they should fix them, the carriers and hardware companies are not the problem it is Google's fault.
0 Votes
+ -
@Gabriel Hernandez Don't the carriers have to test and approve any change before it can be rolled out to the devices on their networks?
@Gabriel Hernandez: ... system, but the scale of recall of like 95% of 344 Android-powered devices will be too much for Google to bear willfully (even though financially they are fully capable of bearing such expenses).

So no, nothing like this will happen and like 320 Android-powered models will be vulnerable for half year or year before 2.3.4 update, or forever, since most of these models will be never updated at all.
0 Votes
+ -
It's a free OS dude...
i8thecat 17th May 2011
@denisrs

Google doesn't need to recall anything... They gave it away for free, as is, no promises... Ultimately, the wannabe phone makers and the carriers are responsible for the software they put on the wannabe phones they slapped together and sold to the masses of fools.

Google doesn't care... They don't screen Roid apps for malware, what makes you think they screen anything including the OS they give away for free?

It's actually kinda ironic... A big stinking swollen security hole in the Roid OS... LOL Who couldn't see that one coming... LOL
0 Votes
+ -
@i8thecat "Google doesn't need to recall anything... They gave it away for free, as is, no promises..."

That is the problem with Google's software. It's third rate garbage. It's why I laugh at the thought of Google trying to service the enterprise market. They know nothing of service or support. They are not a software company at all. They are an ad company that is posing as a software company.
0 Votes
+ -
@Gabriel Hernandez
No, not to Google, they should send them to the manefacturer such as HTC, Sony Ericsson, ... If you have bought a Google Nexus phone, You should already have recieved an update. Other phone makers care more about their phones having the right bling and branding, than about security. If they had shipped their phones with an unmodified Android they could have used the Google fix directly.
0 Votes
+ -
So that is how Google feeds their search engine, make a gaping whole it their software and then read the data as needed. Oh yea, then don't fix the problem because Google doesn't believe in privacy.

Sorry, the first sentence was just for fun. The second one not so much.
0 Votes
+ -
@rmark@You appear to be accusing Google of not fixing a problem which they have already fixed.
0 Votes
+ -
This is a non-issue... Here's why...

First, I don't know of a single user that uses their phones to connect to public wifi hot spots so this is a Joke! This is never going to be exploited anywhere!

What is the worst thing that is going to come out of this?

Worst case, Google Patches this particular piece of the OS from 2.0 through 2.3.3... Best Case, the vendors roll out 2.3.4 or 2.4 to all the Smart Phones over 1 GHz, which is 90% of the Android Phones anyway.

Of course, as some said, don't use open wifi networks if you value your privacy anyway and that goes for all computing devices period!

Now, if a user is using their own WIFI network with a phone and it is wide open, this is on the user for being stupid enough to leave it wide open!
0 Votes
+ -
@Peter Perry
I don't know where you live, but when I'm out and about, it amazes (appalls me?) to see people blindly connecting to open WiFi networks anywhere they can get a signal.

We, as IT pros, may know to be wary, but the general public does not.

I'm not saying that's going to make this become some ginormous problem, but I don't think this will be as trivial as you're suggesting.
0 Votes
+ -
@jscott69 Keyword here, Cellphones! Yes, I agree people will use the wifi but not typically with their phones, I don't know anyone that bothers to switch from 3G to Wifi and honestly, my 4G is faster than most public networks.
0 Votes
+ -
@Peter Perry

Non-issue, really?

There are upward of 20 million users of Android OS. You may know 500 people personally to know that they dont connect to public wifi's but there are still 20 million - 500 users who potentially can connect to public wifi's. Given this do you still think this is a non-issue.

While you expect smartness from the user, shouldnt you expect more smartness from the source here which is Google?

Also, if this were Windows Phone 7 OS from Microsoft, would you have the same reaction?
0 Votes
+ -
@DontBeEvil Yes I would because I guarantee you there aren't 20 Million Android users that switch to wifi when they hit a Starbucks!

Besides, making stuff up, provide some evidence that so many people are using this!

Now, Tablet users running 2.2 would be an issue but you will never convince me cellphone users are switching from their "3G Network" for their Wifi Hot Spots! If you said Canada, some maybe but in the US I am Highly Suspect.
0 Votes
+ -
@DontBeEvil Also, if this were Windows Phone 7 OS from Microsoft, would you have the same reaction?
We all know that if this were about WP7 or iOS he would have the COMPLETELY OPPOSITE attitude about it.

@Peter Perry Yes I would because I guarantee you...
That would actually mean something if a guarantee from such a fanboy of any color had any value what so ever but it doesn't
0 Votes
+ -
@Peter Perry

With the Carriers now putting data caps on all their offerings people are trying to save bandwidth where ever they can. More than a few people use the Starbucks wifi to save on their data plan! Root and grab a custom ROM for your phone online.
0 Votes
+ -
@russc@... Which Carriers again? Would you hhave any evidence of anyone beyond AT&T doing such? I have Verizon and mine is unlimited, my friends T-Mobile is unlimited and my Sons Sprint is unlimited.
0 Votes
+ -
RE: Android has a gaping network security hole
Pete "athynz" Athens 18th May 2011
@Peter Perry Personally I think this is a lot more serious than you think. And NOT because this is an Android issue.

First, I don't know of a single user that uses their phones to connect to public wifi hot spots so this is a Joke! This is never going to be exploited anywhere!

Have you walked into a Starbucks or Barnes and Noble lately? I see people all the time in those places on unsecured wifi... and those people are exploitable.

One question that has not been answered is if this is an issue with any other device that uses Google sevices - iOS, Windows, MacOSX, etc. - or is this just an issue with Android?
0 Votes
+ -
@Peter Perry You and everyone else who has read more than a couple of your posts knows that if this story was about iOS you would screaming about how bad it is. Just because nobody you know connect their phone to an open network doesn't mean squat. Unless you know everyone in the world it's pretty meaningless. The average user has no clue and doesn't take any precautions. Most of these users phones will automatically connect to that open network when available versus using 3G or 4G.
0 Votes
+ -
I wonder...
Haddicus Updated - 17th May 2011
How many 'hackers' aka, bored people with a keyboard, will use Google to search for this exploit?

I agree with Peter as well... I don't know anyone stupid enough to connect their phone to a public WIFI connection.
0 Votes
+ -
RE: Android has a gaping network security hole
AboveAverageJoe 17th May 2011
@Haddicus Have you ever been on a college campus? All the students log-on to the FREE Public WiFi with their phones to save their data plans! You Dinosaurs are clueless wink
0 Votes
+ -
@Haddicus What is so funny about Peter going on and on about not knowing anybody that connects to a public WIFI and you agreeing is the simple fact that if people didn't do so there would not be such a huge number of these out there. Places aren't setting them up because nobody uses them, they do it to bring in customers who OBVIOUSLY connect to them.
0 Votes
+ -
Not so if you have Google's two-factor authentication configured.
Dietrich T. Schmitz, ~-~ Your Linux Advocate 17th May 2011
Have a cell-phone? Use it.

fyi:
h-t-t-p://www.google.com/support/accounts/bin/static.py?page=guide.cs&guide=1056283&topic=1056284
0 Votes
+ -
@Dietrich T. Schmitz, ~-~ Your Linux Advocate

Didn't you stake your reputation on this not happening?
0 Votes
+ -
RE: Android has a gaping network security hole
AboveAverageJoe Updated - 17th May 2011
@tonymcs@... I'm waiting for the spin on the Sony PSN Linux servers that got hacked. Should be good for lots of giggles!
0 Votes
+ -
@AboveAverageJoe I don't advocate Linux but that came out that Sony blew it and most stuff wasn't behind a firewall and just about every server was unpatched.
0 Votes
+ -
Public networks are generally considered hostile
Dietrich T. Schmitz, ~-~ Your Linux Advocate 19th May 2011
@tonymcs@...
Is that difficult for you to grasp?
If I am at an airport, I tunnel over ssh to my home server with Ubuntu Linux.
Simple.
My phone, an Android Samsung Galaxy S rarely sees use over a public wifi and then, I'd turn off wifi and use ATT's data plan which is behind its own firewall.

Nowadays, you need to have more awareness of your surroundings but sniffing man-in-the-middle attacks is well an old story.

Two-factor authentication simply keeps away the boogers and should get mainstream pretty soon in the US.

Europe has had it for years.

I stake my reputation on it.
0 Votes
+ -
I have a Droid X and the only time I ever connect to a WiFi is at home and that's under WEP. Otherwise, I use the 3G connection. I would guess about 99% of the people out there with phones are doing the same. No?
0 Votes
+ -
RE: Android has a gaping network security hole
FrederickLeeson 17th May 2011
@dvanderwerken

I agree. I connect only over my secure wifi system at home or the system at work. This problem is a form of passive social engineering in the sense that the bad guys take advantage of an existing piece of stupidity by the "victim". I for one a fairly tired of those who utterly fail to take elementary precautions when they use any form of computer - and then are the first to start howling to the cops and the press when they get taken. There have been constant warnings (even in the "ordinary" press) about the dangers of open networks and every user guide for every wireless router strongly recommends encryption. This is one of the occasions when my sympathy for people who get caught this way is severely limited. The issue is fixed in the latest version of Gingerbread and Google should of course do a bit to publicise the issue for those with Froyo and earlier versions. Beyond that the ordinary customer can try applying ordinary common sense - they will be amazed by what they can achieve!
0 Votes
+ -
@dvanderwerken

You lot keep acting like all Android users are paranoid geeks, when it's probably only 90%. Still leaves a lot of people who would rather use public WiFi than go over their data cap.
0 Votes
+ -
@tonymcs@... Actually I would suspect that you have that percentage backward. It might be 90% geeks on here but in the real world the 90% is probably the average user that has not clue, didn't pick the phone because of the OS, just wanted a smart phone and that's what they offered them. They don't have a clue that they should be worried about any of this.
0 Votes
+ -
RE: Android has a gaping network security hole
AboveAverageJoe 17th May 2011
@dvanderwerken No, they are not! Most college students and young people will login to any free wifi hotspot to save their phone data plans be it at the campus, Mall, McDonald's, Star-bucks, local bar, any gathering place they frequent. And they set it up to do it automatically if they visit the location a lot!
0 Votes
+ -
@AboveAverageJoe Only on AT&T or in Canada, most have no need to do this.
0 Votes
+ -
RE: Android has a gaping network security hole
AboveAverageJoe 18th May 2011
@Peter Perry Wrong, all carriers in the US have limited data plans. Verizon for just feature phones but most have wifi now. We had to set up our free campus Wifi to require a manual e-mail access page to keep all the phones from automatically logging on and taking up limited IP addresses.
0 Votes
+ -
@dvanderwerken

I would guess so, because 99% people out there think and act like you.
Good day to confirm this comment I would appreciate T h e b e s t o f Z D N e t d e l i v e r e d your website very nice to everyone Yes, Oracle is the only one with shared-disk architecture, but that is there advantage. It means you can add or remove nodes and the database lives on. In a shared nothing architecture, if you lose a node, you lose the system. I'm sure Oracle appreciates EMC highlighting their advantage.I also desire to signal in your RSS feeds. Thank you as soon as once again and maintain up the great operate Awesome post! Thank you very much || thanks for nice content this is really benefit to me.

Join the conversation!

Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]
ie8 fix
Click Here
ie8 fix

The best of ZDNet, delivered

ZDNet Newsletters

Get the best of ZDNet delivered straight to your inbox

Facebook Activity

White Papers, Webcasts, & Resources
ie8 fix
ie8 fix