Feeds

Et tu, Gmail? Simple hack defeats last barrier to decades-old attack

Only Salesforce standing

Beginner's guide to SSL certificates

In the morass of Web 2.0 insecurity, Gmail and other Google-hosted services stood out as a beacon of hope. That's because they were believed to be the only free destination that offered protection against a decade-old vulnerability that enabled hackers to steal sensitive authentication details as they pass over Wi-Fi hotspots and other types of public networks.

Now, we know better.

According to security researcher Rob Graham, it doesn't take much to disable the safety measure. And that, in turn, would give attackers free rein over a victim's Google account, including any email, map searches or calendar entries that happen to be housed there.

The vulnerability stems from the wide-spread use of session-IDs that websites use after visitors have successfully entered their login credentials. Typically, they come in the form of random text strings in the URL or the HTTP cookie and are sent in the clear.

That makes it a snap for bad guys hanging out at coffee shops to sniff the string and use it to masquerade as the victim. This happens even if the password is entered behind the veil of a Secure Socket Layer session, which encrypts the information so it's not decipherable to prying eyes.

Google was the only free service known to encrypt the session-ID if the user went through the trouble of putting an HTTPS in the address for Gmail and other Google services that support SSL. Visit this Google Calendar address instead of this one and no one would be able to make heads or tails of the session-ID, the thinking went.

But Graham says Google SSL will automatically revert to plain-vanilla HTML if the site believes there are connection problems. This means an attacker at a hotspot can cause Google to lower its shield simply by sending a reset packet to either the Google server or to the victim's PC.

"If companies do SSL correctly, then you're safe," Graham says. "The problem with Gmail is it's not doing SSL correctly. In my experience just using Gmail normally, I've seen this happen accidentally."

A Google spokeswoman said company security pros were looking in to Graham's research.

Graham posted his finding here more than two weeks ago. It remained largely overlooked until George Ou picked it up on the Zero Day Blog.

To be fair, Google still offers protections that Yahoo!, MySpace, Facebook and most other Web 2.0 properties do not. That's because Gmail and several other Google services that support SSL encrypt all information passed back and forth during a session. Most other websites encrypt data only during the login sequence and then quickly drop the protection once the user has been authenticated.

Among websites Graham has tested, only Salesforce.com has managed to insulate itself from this man-in-the-middle attack.

"As far as I can tell, they really have spent a lot of effort to solve problems like this," he says. ®

Protecting users from Firesheep and other Sidejacking attacks with SSL

More from The Register

next story
Spies would need SUPER POWERS to tap undersea cables
Why mess with armoured 10kV cables when land-based, and legal, snoop tools are easier?
Early result from Scots indyref vote? NAW, Jimmy - it's a SCAM
Anyone claiming to know before tomorrow is telling porkies
Apple Pay is a tidy payday for Apple with 0.15% cut, sources say
Cupertino slurps 15 cents from every $100 purchase
Israeli spies rebel over mass-snooping on innocent Palestinians
'Disciplinary treatment will be sharp and clear' vow spy-chiefs
Hackers pop Brazil newspaper to root home routers
Step One: try default passwords. Step Two: Repeat Step One until success
China hacked US Army transport orgs TWENTY TIMES in ONE YEAR
FBI et al knew of nine hacks - but didn't tell TRANSCOM
Microsoft to patch ASP.NET mess even if you don't
We know what's good for you, because we made the mess says Redmond
NORKS ban Wi-Fi and satellite internet at embassies
Crackdown on tardy diplomatic sysadmins providing accidental unfiltered internet access
prev story

Whitepapers

Providing a secure and efficient Helpdesk
A single remote control platform for user support is be key to providing an efficient helpdesk. Retain full control over the way in which screen and keystroke data is transmitted.
WIN a very cool portable ZX Spectrum
Win a one-off portable Spectrum built by legendary hardware hacker Ben Heck
Saudi Petroleum chooses Tegile storage solution
A storage solution that addresses company growth and performance for business-critical applications of caseware archive and search along with other key operational systems.
Protecting users from Firesheep and other Sidejacking attacks with SSL
Discussing the vulnerabilities inherent in Wi-Fi networks, and how using TLS/SSL for your entire site will assure security.
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.