Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Gmail Vulnerability May Expose User Information

Posted by Zonk on Thu Sep 27, 2007 12:23 PM
from the that's-not-so-good dept.
An anonymous reader writes "A cross-site scripting vulnerability may mean bad news for Gmail users. The ethical hacking group GNUCitizen has developed a proof-of-concept program that deftly steals contact information and emails from the popular web-based mail service. At the moment there are no 'wild' exploits for this vulnerability. The article discusses how lax security makes holes like this a problem for corporate IT houses as well as Google. '"People do use private accounts to store work information," IBRS security analyst James Turner said. "I've worked at one organization where this was implicitly expected, because the mail server at the time was so unreliable. But that scenario is certainly less than optimal. "In an ideal world, an organization would be able to draw a line in the sand and say that corporate data does not pass this point. The current reality is that there are Gen-Y workers who are sharing information with each other on multiple alternative communication channels--Gmail and Facebook included."'" This, just a few days after a search-based exploit was discovered.

Related Stories

[+] GoogHOle Exploits GMail, Picasa and 200K Other Sites 167 comments
Giorgio Maone writes "Multiple Google-targeted exploits disclosed in the past 3 days could compromise your GMail account, steal your pictures from Picasa or impersonate you on almost 200,000 big sites which outsourced their search engines (vulnerabilities included in the price). If even Google, a very reactive company when web security matters, does face this kind of problems, how serious is the threat and what can you do, as a "normal" web user, to protect yourself?"
This discussion has been archived. No new comments can be posted.
Display Options Threshold:
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • Encrypt it (Score:3, Funny)

    by aedan (196243) on Thursday September 27, @12:25PM (#20770987)
    (http://www.aedanmcg....ch/win_switcher.html)
    With ROT 26
  • Online apps (Score:5, Insightful)

    So who didn't see this thing comming?

    Online apps are only going to get more and more popular. Webmail is like the gateway drug of internet apps. It starts off innocently enough. Going from an in house email system that is only intranet. Then you need to give employees the ability to send outside email, no problem, but your servers can still filter out attachments both ways and give the company a security and intellectual property barrier. Then the online apps start looking appealing, no maintenance, no servers, just internet access. A lot of cost savings for the company. What could go wrong? Then Microsoft and the other big players start talking about making Office an online application and hyping the benifits of such a new age system. The benifits are described in beautiful powerpoint presentations to the execs and the IT departments warnings are just plain text. What's going to happen to the companies that fall for this new online paradigm? I think more of the same. Information leaks, database vulnerabilities, simple password guessing, general hacks, etc. And all the information accessed through these new online applications is going to be out there for the taking. Ease of use and availability on a new level, to the hackers.
    • Re:Online apps (Score:5, Insightful)

      by betterunixthanunix (980855) on Thursday September 27, @01:00PM (#20771445)
      Another problem is the users themselves. People like the convenience of a web interface, and don't want to be tied to one computer using an email client. I try to get people to encrypt confidential emails, but as soon as I say, "So you need to set up Thunderbird..." I am met with skepticism. One friend of mine was worried that someone might be reading her emails (because she had used a predictable password); I set up Thunderbird with GPG for her, but within a few weeks she was back to the web interface.

      When it comes to convenience vs. privacy or security, people will choose convenience.

      [ Parent ]
      • Re:Online apps by Cardcaptor_RLH85 (Score:1) Friday September 28, @03:25AM
        • Re:Online apps by betterunixthanunix (Score:2) Friday September 28, @04:54PM
        • 1 reply beneath your current threshold.
      • Re:Online apps by ancalikorn_pk073892 (Score:1) Monday October 01, @10:15AM
    • How about a web hoster? by jbn-o (Score:2) Thursday September 27, @06:03PM
    • 2 replies beneath your current threshold.
  • Of course (Score:4, Interesting)

    by teknopurge (199509) on Thursday September 27, @12:33PM (#20771087)
    (http://utropicmedia.net/)
    People wonder why I recommend getting a private email account. Sure we could have the same issues, but the core webmail software we use is almost a decade old, and I gather that it has had more users then GMail currently has.

    In short: ditch the free and go with a service provider that provides service. GMail is ok for your Grandpa, but do you really want those million-dollar business contracts and project bids on it?
    • Re:Of course by gd2shoe (Score:3) Thursday September 27, @03:29PM
    • That is inane. by jotaeleemeese (Score:3) Thursday September 27, @06:20PM
    • Re:Of course by ShatteredArm (Score:3) Thursday September 27, @01:38PM
      • Re:Of course by generica1 (Score:1) Thursday September 27, @02:40PM
    • 2 replies beneath your current threshold.
  • Close sites off by default (Score:2, Insightful)

    by Enlarged to Show Tex (911413) on Thursday September 27, @12:34PM (#20771099)
    We talk about shutting down any unnecessary services and closing ports down by default in operating systems and firewalls. Why wouldn't one want to do the same with Web browsing? Lock down (or lock out) anything that can cause harm to corporate systems, and then open up things only as required. Not only does it improve productivity, it also improves security at the same time...
  • Ideal situation? (Score:5, Insightful)

    by oahazmatt (868057) on Thursday September 27, @12:34PM (#20771111)
    (http://anomalyent.com/)

    People do use private accounts to store work information
    And companies with information that is valuable to other companies should enforce regulations opposing this.

    I've worked at one organization where this was implicitly expected, because the mail server at the time was so unreliable. But that scenario is certainly less than optimal.
    It's less than optimal to fix the mail server?

    In an ideal world, an organization would be able to draw a line in the sand and say that corporate data does not pass this point.
    Really? My company does that. My training materials aren't allowed to leave the building.

    The current reality is that there are Gen-Y workers who are sharing information with each other on multiple alternative communication channels--Gmail and Facebook included
    If they share corporate information through Facebook, do you need that employee?
  • by akasch (1159557) on Thursday September 27, @12:38PM (#20771149)
    (http://www.google.com/)
    well that sucks - gmail is the best free email service by far, offering real forwarding and POP/SMTP access, you can use it for anything come to think of it all my info is fake on my gmail accounts so who cares
  • Always GMail (Score:3, Insightful)

    by bostons1337 (1025584) on Thursday September 27, @12:40PM (#20771183)
    Why is it that we always see these exploits with GMail? I can't even remember the last time a Yahoo Mail or Hotmail, etc. exploit came out. There about equally popular among the public.
  • Yet another "we hate Gmail article"? (Score:5, Insightful)

    by SplatMan_DK (1035528) * on Thursday September 27, @12:43PM (#20771215)
    (http://www.stopcomputerlicens.dk/ | Last Journal: Wednesday August 01, @08:24AM)
    With all respect, why continue this crusade against Google/Gmail?

    Sure, they are a key player in the market, but so is Yahoo, Hotmail, and a number of others.

    From a technical perspective, cross-site scripting (XSS) vulnerabilities isn't exactly a new thing. Nor are they isolated to Gmail.

    The article is not wrong - so I am not attempting to protect Google. On the other hand, this problem is fairly general in nature, and probably applicable to a ton of websites. In fact, the "cookie grabbing technique" is one of the oldest tricks in the areas of XSS.

    With this in mind, the article (and in general the constant rampage against Google) seems ... a tiny bit one-sided. Not only is that unfair for Google (I am not a stockholder, so I will survive) but it also takes away the focus from the real issue: XSS is a big deal, and has do be dealt with. By everybody ... not just by Google.

    :-)

    - Jesper
  • by MobyDisk (75490) on Thursday September 27, @12:43PM (#20771223)
    (http://www.mobydisk.com/)
    I can open HTML email in a standalone application (Thunderbird, Eudora, whatever) with very little concern about someone getting my login information. That's because there is an implicit barrier between the application state and the HTML page. But it is more difficult with web-based email: If you display HTML messages, then they are being displayed on the same page that has access to your login credentials.

    It seems to me that the most foolproof solution is to display the HTML email inside a sandbox that does not have access to the cookies (or any other part) of the enclosing page. There may be some way(s) to do this with browsers as they are today, but it seems like ultimately, such a sandbox should be designed-in to HTML and/or Javascript. Something like a chroot command.

    This would eliminate the constant cat & mouse game of scrubbing the HTML for something dangerous, then a new HTML/browser feature being used to get around it, etc.
  • Insecure by Default (Score:2, Interesting)

    by Anonymous Coward on Thursday September 27, @12:45PM (#20771235)
    Ummm - isn't this what /. always says about Microsoft?

    Trusting Google with you data is like playing Russian Roulette with an Automatic pistol, bad things will happen to your data

    Google says it is so easy to keep all your information online - and it is - where they can search it

    Google is the new Microsoft, more interested in profit than anything else (security, privacy, user rights)

    But hey, they use Linux, so I guess it is ok
    • Re:Insecure by Default by quintessentialk (Score:1) Thursday September 27, @01:12PM
    • Re:Insecure by Default (Score:5, Interesting)

      by pushing-robot (1037830) on Thursday September 27, @01:19PM (#20771703)
      Google is the new Microsoft, more interested in profit than anything else (security, privacy, user rights)

      This is a XSS browser exploit, which basically means that one site you're visiting can talk to other sites you're logged into. It's not Google's fault; nothing is breaking in to their servers, it's just malicious code running on your computer hijacking the connection you made to Google. It's your browser's fault for not sandboxing sites properly.

      Or to use an real-world analogy, it's like blaming Google because you forgot to log out at an internet cafe and then somebody else sat down and read your email.
      [ Parent ]
  • Another reason to use NoScript (Score:4, Informative)

    by GroundBounce (20126) on Thursday September 27, @12:49PM (#20771283)
    If this is really a cross-site scripting vulnerability, NoScript [noscript.net] might help protect against it (if you're using FireFox).
  • by Lazarus_Bitmap (593726) on Thursday September 27, @12:50PM (#20771289)
    NoScript should prevent this exploit. It can be annoying to have to constantly give permission to sites to allow scripting, but it beats being hacked.

    I'm also wondering if running Gmail over SSL would make any difference...
  • Avoidable? (Score:2)

    by Urban Garlic (447282) on Thursday September 27, @12:56PM (#20771375)
    TFA (Yes, I'm new here...) says that it takes over the cookie to allow the attacker access to the GMail box for two years.

    But what if you tell both the browser and GMail not to remember your password? I make that a policy with most web sites I use, mostly to protect me if someone steals my laptop -- no password bypass mechanisms allowed, no passwords stored in clear text allowed.

    Does that make you safe against this attack also?
    • Re:Avoidable? by PlusFiveTroll (Score:3) Thursday September 27, @02:03PM
  • by pembo13 (770295) on Thursday September 27, @01:03PM (#20771485)
    (http://www.pembo13.com/)
    Luckily for me, I only use GMails webmail interface for my mailing lists, which any and all attackers are free to have. My personal account comes via encrypted POP. Thanks to Gmail for that option.
  • Because gmail is better (Score:3, Interesting)

    by quintessentialk (926161) on Thursday September 27, @01:06PM (#20771525)
    I'll second the comment that this shouldn't suprise anyone. Where I work there are laws which require proper security, but in most other places I've been gmail was used widely. This is because 1. Gmail was more reliable than the 'official' email system 2. The search feature in gmail was way faster and smarter than the 'official' email system (e.g. outlook; squirrelmail) 3. The 'keep everything/multiple tags' model of gmail was less onerous than the maintenance the company expected (e.g.: keep your mailbox under a certain size; manually roate things to local storage; sort things by some directory system you'll probably be confused by when you look at it a year later...) What I'd like to see is more people using those intranet-sized google search and email servers I hear about. I hate my company's crappy intranet search engine, and the only thing good about outlook is its meeting-scheduling system. Using google technology, but on a company-controlled server, would seem the best of both worlds. But... I'm not an IT person. Maybe this would be horrible.
  • by Opportunist (166417) on Thursday September 27, @01:16PM (#20771667)
    Anyone not using and requiring at the very least PGP for their GMail box? Or getting "private" mails to it (or sending from it)?

    When you look at my GMail boxes, you'd probably get a very strange picture of me...
  • by Burz (138833) on Thursday September 27, @01:23PM (#20771753)
    (Last Journal: Saturday February 11 2006, @09:16AM)
    The leading edge of generation Y are just starting to graduate from college. The demographic the summary refers to is probably the last half of Gen-X (the youngest of which are in their mid-20s). If anything, it is the Gen-Xers that have a more naive/trusting mentality toward IT and the web overall. We grew up with an Internet that had relatively scarce criminal activity.

    Anyway... If you want to avoid browser vulnerabilities with GMail, simply use their free POP3 access (make sure SSL is enabled).
  • never used it, never send the email address to ANYONE from there, but every day, there's spam in there.

    I'd say, "Yeah there's a security hole in there..."
  • by museumpeace (735109) on Thursday September 27, @01:35PM (#20771919)
    (Last Journal: Monday July 18 2005, @06:18PM)
    the "problem" of only being able to be logged into one Gmail account at at time [and all the googledocs and blogging features bound to the google identity cookie] becomes a lame and slight advantage: Give yourself a junk google Identity...that is easy these days since no priming based on a prior email acct is needed. Do your business with trusted sites using your "good" identity...the one with 8000 emails containing your life story and your companies proprietary info. For general surfing [you don't do both goofing off and quality connecting in the same session, get it?] you log into your junk identity. It should be the last identity used if you tend not to scrub the cache/history/cookies when you close a browser. There is no such thing as a "trusted" PC or workstation...get over it.
  • Accounts (Score:1)

    by Wowsers (1151731) on Thursday September 27, @01:45PM (#20772049)
    Like most people I have a webmail account, but I use it for "junk" like website sign-ups, so if something messes up, I don't lose valuable data. Domain names and hosting is so cheap these days, you could use your own address for important emails, or your own ISP's account.

    I never have understood the fascination people have with webmail, same sort of thing using a website to access Usenet and calling it proper Usenet - which it isn't.
  • by 6Yankee (597075) on Thursday September 27, @02:34PM (#20772863)
    "This, just a few days after the discovery of a search-based exploit was discovered."

    Woo-hoo, meta-discovery! Oh wait - no, it's just Zonk screwing up.
  • Not XSS (Score:3, Interesting)

    by requeth (632121) on Thursday September 27, @02:52PM (#20773137)
    You dont need to use cross site scripting, it sends the user's entire email list, telephone numbers, alt emails, etc right after login for the googletalk applet. Run a packet dump, they turn off the encryption and then send all of the private data (negating userid/password). I sent in two support tickets on this in January but only received the generic autoreplies. To keep up with security news find a local hacker group.
  • Much More Informative Article Here (Score:5, Informative)

    by Giorgio Maone (913745) on Thursday September 27, @02:56PM (#20773201)
    (http://maone.net/)
    It explains how the exploit works, how developers would/should avoid it and how users could protect themselves: http://hackademix.net/2007/09/26/gmail_csrf/ [hackademix.net]
  • by Monkier (607445) on Friday September 28, @01:37AM (#20779139)
    Google GMail E-mail Hijack Technique [gnucitizen.org]

    Some interesting points

    • nothing to do with cookies - it is google not correctly validating a form submitted from an 'evil' website
    • nothing to do with XSS - the ARTICLE calls it "Cross-site request forgery".
  • Plain text emails (Score:1)

    by Petaris (771874) on Friday September 28, @08:13AM (#20781053)
    (http://katerina.frederic.k12.wi.us/)

    Most of my emails are plain text, with no links in them or very few. On top of this they are all from people or organizations I know, if I don't recognize it I don't open it. If I think its SPAM or suspicious I use the handy "Report Spam" button. TFA even says that disabling java-script solves the security issue and if you use Firefox you can use extensions like no-script (as I believe was mentioned in another post here).


    It seems pretty unfair to lay this only on Google's shoulders as XSS has been around for a long time and many web apps are vulnerable to it. Sure, the two year session cookie lifetime is a bit long and it would be better to have a 1 week lifetime or maybe even shorter. Does anyone know if there is a way to force Gmail to create a new session cookie? Does clearing your local cookies do so? If so that is another way to solve the issue. And what about using Gmail over SSL as is allowed by a couple different Firefox extensions?


    If this group has informed Google about this then I am sure Google will work on finding a solution, they have a lot of very smart people working for them after all and I am sure that they can find a solution that will address the issue without affecting usability or the user's experience. If nothing else, just say no to HTML email and only click links you trust. Just my two cents. :)


  • 3 replies beneath your current threshold.