Now there’s another
Good Reason To Go Full-Time SSL For Gmail: a new exploit that captures session cookies to give hackers access to your Gmail account.
Details here:
Gmail Account Hacking Tool | Hacking Truths (since the original article is not available, I’ve posted the text below).
The problem lies with the fact that every time you access anything on Gmail, even an image, your browser also sends your cookie to the website. This makes it possible for an attacker sniffing traffic on the network to insert an image served from http://mail.google.com and force your browser to send the cookie file, thus getting your session ID. Once this happens the attacker can log in to the account without the need of a password. People checking their e-mail from public wireless hotspots are obviously more likely to get attacked than the ones using secure wired networks.
This is Google’s (and all web application developers) responsibility, because only the app developer can ensure that all transactions between the client and server are secure. To Google’s credit, they now offer an option to permanently switch on HTTPS. Details here:
Enabling the HTTPS setting - Help Center
Update
This exploit is also a problem for financial institiutions -- as if they don’t have enough problems already:
CookieMonster nabs user creds from secure sites • The Register
The solution: web application developers need to take the following steps:
- Write their applications to ensure that all communication between the browser and the web server happens over SSL (https protocol, on port 443).
- When the application uses cookies, mark all sensitive cookies (cookies that contain passwords or other authentication data) as secure, i.e., to be sent over encrypted connections only.
Clearly these are fixes that are not available to the end user. Only web developers can implement these basic security precautions. In the meantime, here’s what you can do as an end user:
- Perform transactions that require a secure connection only on a secure network. The best option is a wired-only network. Since these are becoming more and more rare, it’s important to ensure that your wireless network is completely locked down with good encryption (WPA) and strong passwords.
- Contact your bank or favorite email provider and request that they use https (SSL) and secure cookies to protect your account.
Surf safe!
Here’s the full text of the article
Gmail Account Hacking Tool | Hacking Truths from hungry-hackers.com, which was offline earlier:
Gmail Account Hacking Tool
A tool that automatically steals IDs of non-encrypted sessions and breaks into Google Mail accounts has been presented at the Defcon hackers’ conference in Las Vegas.
Last week Google introduced a new feature in Gmail that allows users to permanently switch on SSL and use it for every action involving Gmail, and not only, authentication. Users who did not turn it on now have a serious reason to do so as Mike Perry, the reverse engineer from San Francisco who developed the tool is planning to release it in two weeks.
When you log in to Gmail the website sends a cookie (a text file) containing your session ID to the browser. This file makes it possible for the website to know that you are authenticated and keep you logged in for two weeks, unless you manually hit the sign out button. When you hit sign out this cookie is cleared.
Even though when you log in, Gmail forces the authentication over SSL (Secure Socket Layer), you are not secure because it reverts back to a regular unencrypted connection after the authentication is done. According to Google this behavior was chosen because of low-bandwidth users, as SLL connections are slower.
The problem lies with the fact that every time you access anything on Gmail, even an image, your browser also sends your cookie to the website. This makes it possible for an attacker sniffing traffic on the network to insert an image served from http://mail.google.com and force your browser to send the cookie file, thus getting your session ID. Once this happens the attacker can log in to the account without the need of a password. People checking their e-mail from public wireless hotspots are obviously more likely to get attacked than the ones using secure wired networks.
Perry mentioned that he notified Google about this situation over a year ago and even though eventually it made this option available, he is not happy with the lack of information. “Google did not explain why using this new feature was so important” he said. He continued and explained the implications of not informing the users, “This gives people who routinely log in to Gmail beginning with an https:// session a false sense of security, because they think they’re secure but they’re really not.”
If you are logging in to your Gmail account from different locations and you would like to benefit from this option only when you are using unsecured networks, you can force it by manually typing https://mail.google.com before you log in. This will access the SSL version of Gmail and it will be persistent over your entire session and not only during authentication.
2 comments:
I love this site! Thank you sooo much for all your posts!
Thank you so much for your siteI love everything about it.
Post a Comment