Slashdot Mirror


A Good Reason To Go Full-Time SSL For Gmail

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."

47 of 530 comments (clear)

  1. Good thing Slashdot is safe... by Anonymous Coward · · Score: 5, Funny

    Or else someone could hijack my accBILL GATS SI TEH DEVLI!!!!!!!!!

    1. Re:Good thing Slashdot is safe... by Naughty+Bob · · 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.

      --
      "Be light, stinging, insolent and melancholy"
  2. Just for Google? by Toe,+The · · 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?

    1. Re:Just for Google? by SCHecklerX · · Score: 4, Informative

      Like when you read slashdot?

    2. Re:Just for Google? by HungryHobo · · 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.

    3. Re:Just for Google? by Spad · · 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/ 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.

    4. Re:Just for Google? by Timothy+Brownawell · · Score: 4, 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.

    5. Re:Just for Google? by caramelcarrot · · Score: 5, Informative

      After me, say it slowly: intents and purposes That way it actually makes sense.

    6. Re:Just for Google? by Kozar_The_Malignant · · Score: 5, Funny

      It's not "in tents with porpoises?" I thought it was about cetacean hentai.

      --
      Some mornings it's hardly worth chewing through the restraints to get out of bed.
    7. Re:Just for Google? by Zironic · · 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.

    8. Re:Just for Google? by Hordeking · · 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?

      --
      Disclaimer: The opinions and actions of the US Gov't are in no way representative of those held by this author or its ci
    9. Re:Just for Google? by HungryHobo · · 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!
      *Him*: .... ah well, it's not like there's anything important in there. I mean what are they gonna do, email someone in my name?
      *me**: ....You have a paypal account right?
      *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"

    10. Re:Just for Google? by Anonymous Coward · · Score: 5, Funny

      My girlfriend has been missing her period. Should I be worried?

      It depends; will the father be financially supporting the baby, or will you be stuck paying the bills?

    11. Re:Just for Google? by Culture20 · · Score: 4, Funny

      I'll tell you what it's not for, then you'll understand why I can never go back to Seaworld.

    12. Re:Just for Google? by A440Hz · · Score: 5, Informative

      Actually, it is historical, normal usage to put the period (or comma) inside the quotes, even if the period wasn't in the original quotation. This was originally done for typesetting reasons: putting a period outside the quotes caused type blocks to break. The period inside the quote was better mechanically--less breakage.

    13. Re:Just for Google? by colourmyeyes · · Score: 5, Funny

      I read Slashdot because it's a place where a comment about the British rule for placement of punctuation relative to quotation marks is modded "informative."

      ...in a discussion about using SSL for for an email service.

      --
      My grandmother used anecdotal evidence all the time, and she lived to be 120 years old.
  3. 3 clicks by pebcak · · Score: 5, Informative

    Once you're signed into Gmail: Settings -> Always use https -> Save changes

  4. Google Announcement by ShadowRangerRIT · · Score: 4, Informative

    For info on the new setting and how to enable it, see the Gmail blog post.

    --
    $_ = "wftedskaebjgdpjgidbsmnjgcdwatb"; tr/a-z/oh, turtleneck Phrase Jar!/; print
  5. A few notes... by nweaver · · 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!.

    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/ I argue that google should INFER that the user wants to be SSL-only, at least until they explicitly log out.

    --
    Test your net with Netalyzr
    1. Re:A few notes... by derrickh · · 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

    2. Re:A few notes... by Timothy+Brownawell · · Score: 4, Insightful

      Maybe the two weeks notice is a hint to google that it might be a good idea to fix the default setting or make all connections encrypted?

    3. Re:A few notes... by Dolohov · · Score: 4, 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.

  6. Ow ow ow. by zippthorne · · Score: 4, Insightful

    all intensive purposes

    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.

    --
    Can you be Even More Awesome?!
    1. Re:Ow ow ow. by dat+cwazy+wabbit · · Score: 5, Funny

      I could of died when I saw that.

    2. Re:Ow ow ow. by cetan · · Score: 4, Funny

      Most people "could care less."

      Which hurts on many levels...

      --
      In Soviet Russia...michael would be rotting in Siberia!
    3. Re:Ow ow ow. by Hoi+Polloi · · 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.

      --
      It is by the juice of the coffee bean that thoughts acquire speed, the teeth acquire stains. The stains become a warning
    4. Re:Ow ow ow. by Lostlander · · Score: 5, Funny

      It burns us! Nasty tricksy, little hobbitses.

    5. Re:Ow ow ow. by barzok · · Score: 5, Funny

      I could care less.

    6. Re:Ow ow ow. by jonaskoelker · · Score: 4, Funny

      I could careless

  7. Re:Reverse or reverse? by Intron · · Score: 4, Funny

    What is a "reverse engineer?"

    A very specialized transmission engineer in Detroit.

    --
    Intron: the portion of DNA which expresses nothing useful.
  8. UNLESS YOU CHECK, you are insecure! by nweaver · · Score: 5, Informative

    Unless you SET THE PREFERENCE, you are insecure, even if you MANUALLY type in https://mail.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/ 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!!!!

    --
    Test your net with Netalyzr
    1. Re:UNLESS YOU CHECK, you are insecure! by Anonymous Coward · · 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.

    2. Re:UNLESS YOU CHECK, you are insecure! by Anonymous Coward · · 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.

    3. Re:UNLESS YOU CHECK, you are insecure! by clone53421 · · Score: 4, Funny

      javascript:void(document.body.style.textTransform="lowercase");

      --
      Alexander Peter Kristopeit bought his basement from his mommy for one dollar.
  9. Gmail Notifier by triplej3000 · · Score: 5, Informative

    Selecting 'Always use https' breaks Gmail Notifier. Luckily Google has released a patch for this. Here is a link: http://mail.google.com/support/bin/answer.py?hl=en&answer=9429

  10. Re:Reverse or reverse? by Loki_1929 · · Score: 4, Funny

    It's someone who manufactures a problem using only working solutions.

    You might also know them as: "politicians".

    --
    -- "Government is the great fiction through which everybody endeavors to live at the expense of everybody else."
  11. Why can't the whole web be HTTPS? by thomasdz · · 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.

    --
    Karma: Excellent. 15 moderator points expire sometime.
    1. Re:Why can't the whole web be HTTPS? by Quietust · · Score: 5, Informative

      One of the main problems is that HTTPS is fundamentally incompatible with virtual hosts - you connect, do the SSL handshake (and get the server's certificate), verify that the common name on the SSL cert matches the hostname you typed in (to make sure the site is who you think it is, otherwise display big warning messages) and that it is trusted (i.e. complain if it's self-signed), and then you send your HTTP request. The only way it could work would be if an SSL certificate could match multiple hostnames (which I don't believe is the case, though I could be wrong).

      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).

      --
      * Q
      P.S. If you don't get this note, let me know and I'll write you another.
    2. Re:Why can't the whole web be HTTPS? by salahx · · Score: 5, Informative

      This used to be true, but not anymore. Now there's Server Name Indication - RFC3546, that would allow this. However, OpenSSL (and by extension, mod_ssl) does not support it. GNUTLS does, however (and there's a corresponding mod_gnutls for Apache.

  12. Re:But it was NOT secure... by howdoesth · · Score: 5, Funny

    Everyone knows hotmail is evil and yahoo is irrelevant.

  13. Author's site by Captain+Segfault · · Score: 5, Informative

    Mike Perry's site might (or might not) be a better source than some random blog post that doesn't even link to it.

  14. don't freak out, requires packet sniffing by YesIAmAScript · · Score: 4, 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.

    --
    http://lkml.org/lkml/2005/8/20/95
    1. Re:don't freak out, requires packet sniffing by blueg3 · · 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.

  15. This is not "use SSL" by blueg3 · · 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.

  16. I was at DEFCON - the author is confused by remitaylor · · 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

  17. Redundant? Yes - Normans and Saxons by onkelonkel · · Score: 5, Informative

    Intents and Purposes. Sounds redundant and in fact it is. After the Norman Conquest of Britain, it became customary to use both the Norman (French derived) and Saxon words in certain phrases so everyone would understand. It lingers on to this day especially in legal terms. Cease and Desist. Will and Testament. Intents and Purposes.

    --
    None of them can see the clouds; The polished wings don't care.
    1. Re:Redundant? Yes - Normans and Saxons by Red+Flayer · · Score: 5, Informative

      Sure, it's a nautical term, it means a ship can sail into the wind (by) and on a right angle to the wind (large).

      The phrase has come to mean that the statement it refers to applies generally (i.e., in a multitude of conditions).

      --
      "Trolls they were, but filled with the evil will of their master: a fell race..." -- J.R.R. Tolkien on Olog-hai