Re:How you can get hacked if you are using iPad/Safari/gmail
by ef4 on Monday July 30, 2012 @07:13PM
(#4315189)
This is completely wrong. Examine your GMail cookies if you don't believe me.
The ones that grant access to your account are named "S" and "GX". You can prove this by a process of elimination. Delete a cookie and see if you get logged out.
They're set on "mail.google.com", not "google.com", so they don't get sent when you search. Furthermore, they're marked "secure" so they only get sent over HTTPS.
Re:How you can get hacked if you are using iPad/Safari/gmail
by eridius on Monday July 30, 2012 @06:50PM
(#4315106)
As long as gmail uses Secure cookies, then this article is completely wrong. I just checked my own cookie storage and about half of the cookies for mail.google.com are marked as Secure, but I don't know which ones are required to identify your session.
Re:How you can get hacked if you are using iPad/Safari/gmail
by mgurlitz on Monday July 30, 2012 @07:07PM
(#4315167)
It's easy to check -- delete all secure cookies and see if you stay logged in. Maybe Google is doing something that keeps MobileSafari from reading the secure attribute, since I've never noticed this in my tests on iOS.
Re:How you can get hacked if you are using iPad/Safari/gmail
by DrewHintz on Monday July 30, 2012 @08:10PM
(#4315370)
Hi Rudhir, Drew from the Google Security team here. Actually, the authentication cookies that are set on mail.google.com aren't sent when you visit google.com, so the scenario you described wouldn't work. Those secure cookies are only sent over SSL. That's good news for the people in your scenario!
Re:How you can get hacked if you are using iPad/Safari/gmail
by rudhir-secpanel on Monday July 30, 2012 @06:23PM
(#4314990)
The google search tab on the right top in Safari/iPad is what a user tends to search in, instead of opening up a new browser tab. This opens up http://google.com, which is the issue.
Re:How you can get hacked if you are using iPad/Safari/gmail
by munin on Monday July 30, 2012 @06:49PM
(#4315099)
a better option: use the iOS mail app (with imaps), and use application-specific passwords. don't log in to your app account from safari. you then get two benefits:
Re:How you can get hacked if you are using iPad/Safari/gmail
by MiguelHudnandez on Monday July 30, 2012 @07:19PM
(#4315208)
I do this, but I still find that I occasionally must log in to the web interface to do certain things, like check my wife's calendar. I just try to remember to log out again.
Another temporary workaround is to set the default search to Yahoo or Bing, to help train you to use an SSL-enabled bookmark. That is, unless you happen to be logged into either of those services.
Re:How you can get hacked if you are using iPad/Safari/gmail
by rudhir-secpanel on Monday July 30, 2012 @06:38PM
(#4315056)
Yes. When one is logged in as a gmail user, any google search is done as that user. Therefore the requests will carry session information just as if one were using gmail with http.
Re:How you can get hacked if you are using iPad/Safari/gmail
by ef4 on Monday July 30, 2012 @07:11PM
(#4315182)
No, this is wrong.
The authentication cookies for GMail are named "S" and "GX". They're both set only on "mail.google.com", and they both have the secure flag so they're only transmitted over SSL.
There are certainly other Google cookies that let them track your identity that will get sent when you search. But those cookies are not sufficient to get access to GMail.
The ones that grant access to your account are named "S" and "GX". You can prove this by a process of elimination. Delete a cookie and see if you get logged out.
They're set on "mail.google.com", not "google.com", so they don't get sent when you search. Furthermore, they're marked "secure" so they only get sent over HTTPS.
Or should I always avoid http://google.com while logged into a google property on untrusted networks?
1. session cookie hijacking not possible
2. the iOS mail app supports encrypted email
Another temporary workaround is to set the default search to Yahoo or Bing, to help train you to use an SSL-enabled bookmark. That is, unless you happen to be logged into either of those services.
The authentication cookies for GMail are named "S" and "GX". They're both set only on "mail.google.com", and they both have the secure flag so they're only transmitted over SSL.
There are certainly other Google cookies that let them track your identity that will get sent when you search. But those cookies are not sufficient to get access to GMail.