Slashdot Log In
A Good Reason To Go Full-Time SSL For Gmail
Posted by
timothy
on Tue Aug 19, 2008 10:26 AM
from the oh-that-hurts dept.
from the oh-that-hurts dept.
Ashik Ratnani writes with this snippet from Hungry Hackers: "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, not just 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."
Related Stories
[+]
HTTPS Cookie Hijacking Not Just For Gmail 128 comments
mikepery writes with a followup to last month's mention of a security vulnerability affecting Gmail accounts, which it seems understated the problem.
"I figure the Slashdot readership is the best place to reach a large number of
slacking admins and developers, so I want to announce that it's been 30 days
since my DEFCON presentation on HTTPS
cookie hijacking, and as such, it's now time to release the tool to a much
wider group. Despite what was initially
reported, neither the attack nor the tool
are gmail-specific, and many
other websites are vulnerable. So, if you maintain any sort of reasonable
looking website secured by
any SSL certificate (Sorry Rupert, you lose on both counts), even if it is just self-signed, you can contact me and I will provide you with a copy of the tool. Be sure to put 'CookieMonster' in the subject, without a space." (More below.)
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.
Good thing Slashdot is safe... (Score:5, Funny)
Or else someone could hijack my accBILL GATS SI TEH DEVLI!!!!!!!!!
Re:Good thing Slashdot is safe... (Score:5, Funny)
Good thing Slashdot is safe...
Or else someone could hijack my accBILL GATS SI TEH DEVLI!!!!!!!!!
Yep, looks like slashdot is unaffected for the moment.
Parent
Just for Google? (Score:5, Insightful)
Is there any reason to not use SSL every time one sends a password?
Unfortunately, the general public still seems entirely uneducated about SSL, figuring that passwords must be secure because they appear as bullets on the screen, right?
Re:Just for Google? (Score:5, Informative)
Like when you read slashdot?
Parent
Re:Just for Google? (Score:4, Informative)
The password is sent over SSL, the problem is that it will happily send your cookie over HTTP which is for all intensive purposes just as good as a password.
Parent
Re:Just for Google? (Score:5, Informative)
Parent
Re:Just for Google? (Score:5, Funny)
Parent
Re:Just for Google? (Score:5, Funny)
Parent
Redundant? Yes - Normans and Saxons (Score:5, Informative)
Parent
Re:Redundant? Yes - Normans and Saxons (Score:5, Informative)
The phrase has come to mean that the statement it refers to applies generally (i.e., in a multitude of conditions).
Parent
Re:Just for Google? (Score:4, Funny)
I know this is being pedantic, but you are missing a period after the quote or you should have moved it outside the quotes. The urge is too strong since you seem to be so happy harping on missing periods...
My girlfriend has been missing her period. Should I be worried?
Parent
Re:Just for Google? (Score:5, Funny)
It depends; will the father be financially supporting the baby, or will you be stuck paying the bills?
Parent
Re:Just for Google? (Score:5, Informative)
Parent
Re:Just for Google? (Score:5, Funny)
Parent
Ow ow ow. (Score:4, Insightful)
Is this the road we're going down? Pseudo-homophones of idiomatic phrases?
Yeah, yeah, grammar pedantry is bad. Nevertheless, this stuff hurts to read.
Parent
Re:Ow ow ow. (Score:5, Funny)
Parent
Re:Ow ow ow. (Score:5, Funny)
I could care less.
Parent
Re:Ow ow ow. (Score:5, Funny)
I could careless
Parent
Re:Ow ow ow. (Score:5, Funny)
Most people "could care less."
Which hurts on many levels...
Parent
Re:Ow ow ow. (Score:5, Funny)
Its a waist of time to corect peoples gramar and speling. Your simply not going to brake there bad habits irregardless of how you feal.
Parent
Re:Ow ow ow. (Score:5, Funny)
Parent
Re:Just for Google? (Score:4, Interesting)
Not quite ALL intents and purposes. If I want to change my password, I still need to know my current password. Although somebody who steals my SID can read my mail they can't change my password and lock me out.
Parent
Re:Just for Google? (Score:5, Informative)
Gmail always uses SSL for logins.
Previously if you wanted to maintain SSL for the whole session you had to login via https://mail.google.com/ [google.com] otherwise it dropped back to http after login. Now you can set it to always use SSL regardless of the URL you visit it from.
Parent
Re:But it was NOT secure... (Score:5, Funny)
Parent
Re:Just for Google? (Score:5, Informative)
Is there any reason to not use SSL every time one sends a password?
Firefox 3, and I think other newer browsers, lie to people by strongly implying that HTTPS with self-signed certificates is far more dangerous than bare unencrypted HTTP.
Parent
Re:Just for Google? (Score:5, Insightful)
They don't lie, they assume that if a site is self-signed it has been hijacked which is very resonable, if my bank suddenly changed to self-signed I'd want a proper warning.
Parent
Re:Just for Google? (Score:5, Insightful)
God, I've had some insane conversations with retarded people.
*me**: You know doing what you're doing is terribly terribly insecure, someone might get into your email account! .... ah well, it's not like there's anything important in there. I mean what are they gonna do, email someone in my name? ....You have a paypal account right?
*Him*:
*me**:
*Him*: Ya...
*me**: And it's linked to your email account right?
*Him*: Ya...
*me**: And if you forget your paypal password you can have them send you an email to change it right?
*Him*: Ya....
*me**: And your credit card is linked to your paypal account isn't it?
*Him*: Hmmm...
*me**: So someone with access to your mail account could get hold of your paypal and run up some insane charges buying horse porn.
*Him*: Oh....
It's depressing how people will set up accounts with things like paypal, link them to their email and then dismiss anything about security since "sure my email isn't that important"
Parent
3 clicks (Score:5, Informative)
Google Announcement (Score:5, Informative)
A few notes... (Score:5, Insightful)
Mike Perry did a great public service by making this tool and making it available.
This attack also works against yahoo mail, hotmail, etc. Just Yahoo, hotmail, etc don't even OFFER SSL, so well, if you use them, your FSCKed.
And Google has known about this problem for a LONG time. EG, see my blog post from last february! [icir.org].
Google waited for a year before even giving users the OPTION to be protected when SSL is used, and notice that it was only after they found out about Mike Perry's talk that the option was even added.
Also, as I argue, they got it wrong. The checkbox is good, but most users don't know about it. But if a user MANUALLY enters https://mail.google.com/ [google.com] I argue that google should INFER that the user wants to be SSL-only, at least until they explicitly log out.
Re:A few notes... (Score:5, Insightful)
So he's going to release a tool that lets people break into Gmail accounts. And unless you read slashdot, you'd have no idea to go into preferences and flip a switch.
How is this a public service? For the 99% of the world who dont read SD every day, they're pretty much screwed.
It's good I'm a nerd and will now flip the magic switch on my gmail account...but it seems like a big f-u to everyone else.
D
Parent
Re:A few notes... (Score:5, Insightful)
Parent
Re:A few notes... (Score:5, Interesting)
Mike Perry did a great public service by making this tool and making it available.
WTF? No he didn't. Pointing out the vulnerability is a a public service, yes. Giving a talk where he outlines the problem? Also a public service. Distributing the means for anyone to make use of this vulnerability (ESPECIALLY when so many major vendors aren't prepared for it yet) is not a public service anymore. It's just arming script kiddies. Ralph Nader was able to do plenty of good without going around ramming into Chevy Corvairs to somehow "drive home" the need for a fix.
Parent
UNLESS YOU CHECK, you are insecure! (Score:5, Informative)
Unless you SET THE PREFERENCE, you are insecure, even if you MANUALLY type in https://mail.google.com/ [google.com] always.
Because unless you SET THE PREFERENCE, google does NOT set the session cookie to be SECURE.
This is what Mike Perry's tool does: it takes any of your OTHER connections, redirects it to http://mail.google.com/ [google.com] so your browser spits out the session cookie anyway, and then can redirect you back (so you don't know what happened).
Google's SSL mode for gmail, UNLESS YOU SET THE PREFERENCE, offers you NO protection against an active adversary. And since someone snooping your traffic at starbucks can just as easily inject packets, IT OFFERS NO PROTECTION EVEN IF YOU MANUALLY TYPE IN HTTPS ALL THE TIME, UNLESS YOU SET THE PREFERENCE!!!!
Re:UNLESS YOU CHECK, you are insecure! (Score:5, Funny)
Thank you for WARNING US but DO YOU THINK you really need to SHOUT that much in your SENTENCES?
I mean, it's not like WE DON'T APPRECIATE your tips, but IT CAN GET A BIT ANNOYING when people keep SHOUTING every other WORDS.
Parent
Re:UNLESS YOU CHECK, you are insecure! (Score:5, Funny)
YES IT STILL WORDS! Unless you SET THE PREFERENCE, you DIE!
Mike Perry will COME IN TO YOUR HOME and MURDER you, UNLESS YOU SET THE PREFERENCE!
Even CHUCK NORRIS will get haxx0r3d UNLESS YOU SET THE PREFERENCE.
ALL YOUR PREFERENCE ARE BELONG TO US.
Parent
Re:UNLESS YOU CHECK, you are insecure! (Score:5, Funny)
javascript:void(document.body.style.textTransform="lowercase");
Parent
Gmail Notifier (Score:5, Informative)
Why can't the whole web be HTTPS? (Score:5, Interesting)
I can understand that back in the web's "stone age" (mid 1990s), having HTTPS for every web site would have seriously slowed down all the computers due to CPU usage, but nowadays is there any real good reason that the whole web can't be HTTPS?
With all the government and ISP snoopings going on, I'm surprised that at least some sites haven't gone that way.
(or is it that embedded browsers like on cell phones can't do SSL?)
TDz.
Re:Why can't the whole web be HTTPS? (Score:5, Informative)
Interestingly, net-wide HTTPS would probably make IPv6 a bit more important (since a great deal of web hosting services put dozens of sites on the same machine and same IP address, charging significantly more if you want SSL due to the requirement of having a unique IP address).
Parent
Re:Why can't the whole web be HTTPS? (Score:5, Informative)
Parent
Re:Why can't the whole web be HTTPS? (Score:4, Informative)
Parent
Author's site (Score:5, Informative)
Mike Perry's site [fscked.org] might (or might not) be a better source than some random blog post that doesn't even link to it.
don't freak out, requires packet sniffing (Score:5, Informative)
Yes, this is a vulnerability. But it isn't like every person out there on the internet is going to be able to steal your session cookies in two weeks when the tool is released.
In order to execute this attack, a person would have to be able to sniff your packets and steal the cookies. And since the vast majority of people on the internet have no ability to intercept your traffic, this means in practice, the average person is pretty safe without having to worry about all this.
Re:don't freak out, requires packet sniffing (Score:5, Informative)
This is true, except for every wireless access point the attacker can access -- like the ones where people sit in a coffee shop and check their e-mail.
Parent
Cache relevancy depletion (Score:4, Interesting)
One thing that I find somewhat counterproductive is that browsers do not save files sent over SSL in their caches.
It's sensible, I suppose, to assume that if something's sent over an SSL channel that it's sensitive and therefore shouldn't be saved, but it would give a speed and bandwidth efficiency hit which would deter usage of SSL for everyday browsing.
You could, of course, have the HTML transmitted over SSL and the supporting images over plain HTTP, but then the browser will scare people by warning that not all content on the page is secure..
I think browsers should start looking at encrypting their cache files, so that stuff such as SSL can be accommodated without breaking caching.
This is not "use SSL" (Score:5, Informative)
The summary (and many, many replies) have it all wrong. The point is not that you need to be encrypting all of your traffic to Gmail (for example) with SSL.
The need for SSL-encrypting your session was known with sidejacking. If you use SSL for credential exchange but not for the whole session, your session cookie is transmitted in the clear, and an attacker can sniff it and use your session (as the cookie acts temporarily as a credential). Encrypting the whole session with SSL prevents this. This is well-known at this point.
The subject of this talk was not sidejacking. If the site (Gmail) does not set the secure bit on the session cookie, then your session cookie can be transmitted in the clear, even if all of your intentional communication with Gmail is over SSL! An attacker need only inject a link to the appropriate domain (e.g., mail.google.com) in some other page you request, and the cookie will be sent with that request over HTTP. Only by marking the cookie as secure will the browser refuse to send it over HTTP.
I was at DEFCON - the author is confused (Score:5, Informative)
The author of this post seems to be really, really confused. There were multiple presentations on ways to hack your Google accounts and Google security flaws, etc.
There was a presentation on howto exploit Google Gadgets (which have access to your local javascript), a few presentations on Cross-Site Request Forgery (CSRF)(which you can do to send your own HTTP requests as the visitor if you have your own image or iframe on the page), and a presentation on hijacking your sessions if you ever access a site over plain-text (non-SSL), and putting the password page on SSL doesn't help (this requires the attacker to be on your local network!!!!!!!).
The title of the post sounds like they're talking about The Middler, a Ruby-based proxy by Jay Beale for intercepting all user data on a shared network, such as a coffee shop, where you can get users to go through your proxy.
If the author is talking about The Middler ... that attacker has to be on your network!!! This is only an issue on untrusted networks.
Jay Beale's talk was the one the mentioned SSL the most, so I'm gonna guess that the author is talking about that, even tho the article seems to mix everything up.
To see the descriptions of the actual talks and whatnot, visit the DEFCON schedule: https://www.defcon.org/html/defcon-16/dc-16-schedule.html [defcon.org]
Re:Reverse or reverse? (Score:5, Funny)
What is a "reverse engineer?"
A very specialized transmission engineer in Detroit.
Parent
Re:Reverse or reverse? (Score:5, Funny)
It's someone who manufactures a problem using only working solutions.
You might also know them as: "politicians".
Parent