How you can get hacked if you are using iPad/Safari/gmail
11–17 of 17 posts
Re: How you can get hacked if you are using iPad/Safari/gmail
#12As 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
#13Can the session information sent to non-secure Google sites be used on Gmail?
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.
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.
Re: How you can get hacked if you are using iPad/Safari/gmail
#14The 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
#15a 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: 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.