Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Gmail As Open-Relay Spam Server

Posted by kdawson on Sat May 10, 2008 08:14 PM
from the if-you're-not-part-of-the-solution-you're-part-of-the-precipitate dept.
sveard writes of a little problem Google is having that has Gmail acting like an open relay. Compounding the issue is the fact that services such as Hotmail and Yahoo trust Gmail as a source of mail. "A recently-discovered flaw in Gmail is capable of turning Google's e-mail service into a highly effective spam machine. According to the Information Security Research Team (INSERT), Gmail is susceptible to a man-in-the-middle attack that allows a spammer to send thousands of bulk e-mails through Google's SMTP service without fear of detection. This attack bypasses both Google's identity fraud protection mechanisms and the current 500-address limit on bulk e-mail."
+ -
story

Related Stories

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
More
Loading... please wait.
  • by Anonymous Coward
    but is very effective against slashdot comments?
  • Apparently, no one here cares:P

    But, on topic, this really isn't all the surprising. Pretty much any email server can be used as a relay in this manner, the only thing special here is that it avoids Google's current features. I expect Google will have this locked down very soon.
    • by Midnight Thunder (17205) on Saturday May 10 2008, @09:12PM (#23365982) Homepage Journal
      Pretty much any email server can be used as a relay in this manner, the only thing special here is that it avoids Google's current features. I expect Google will have this locked down very soon.

      Certainly, but this can be reduced by making sure that e-mail coming from the outside world can only be sent to gmail addresses and e-mail going to the outside world requires password authentication by the sender. One issue that we are starting to see it e-mail being bounced to a different part than the one that officially sent the e-mail. Other measures that can help is only accepting e-mail from external mail servers who's name can be resolved from its address.

      The real problem is really deciding what is a legitimate source of e-mail, without requiring a central registry of e-mail servers or some other sort of bureaucratic process.
      • The real problem is really deciding what is a legitimate source of e-mail, without requiring a central registry of e-mail servers or some other sort of bureaucratic process.
        Recently I've been getting spam that convinced them that I was the sender, and even "(unknown sender)" ones. One would think that's not that hard to decide.

        The other problem is, Hotmail and Yahoo trusting Gmail. In the world of email, there is no such thing as a trustworthy server.
        • Yes, there is such a thing. An SMTP-AUTH authenticated server works well, and it's straightforward to publish SPF records for other mail servers to filter a lot of forged email, especially the bounces you've been seeing. (SPF is worth looking up: Google does publish SPF records in their DNS.) SPF got crippled by a Microsoft 'embrace and extend' operation involving SenderID keys and mislabeling SenderID based SPF tags as plain SPF. IT got
      • by Lincolnshire Poacher (1205798) on Sunday May 11 2008, @02:42AM (#23367460)
        > The real problem is really deciding what is a legitimate
        > source of e-mail, without requiring a central registry of
        > e-mail servers or some other sort of bureaucratic process.

        Well that's the problem that SPF solves. Each domain owner
        creates a DNS entry that specifies which mail servers are
        permitted to send mail for that domain. When an MX receives
        a HELO it checks that the originating IP corresponds with
        the DNS entry; if not, the mail can be rejected or subjected
        to further inspection and scoring.

        Simple to implement, I've done it in 20 minutes for my domain
        ( 20 minutes from ``What is this project?'' to submitting the
        DNS change ).

        http://www.openspf.org/ [openspf.org]
      • Or maybe Google could outsource their anti-spam efforts to these guys [theregister.co.uk].
        I'm guessing giving these guys a million dollars and saying 'make spam stop globally' might just work.

        It's worth a try.
  • by EdIII (1114411) * on Saturday May 10 2008, @08:13PM (#23365642)
    Speaking as a mail server administrator I sincerely hope that they fix this pronto. There is no way that I can just block gmail addresses from my mail server given how huge gmail already is. I literally have no choice but to ride this out and hope for the best.

    I have already checked my server logs and the fun just started a little while ago. Yay!....
    • Interesting... (Score:5, Informative)

      by Animaether (411575) on Saturday May 10 2008, @08:28PM (#23365724) Journal
      ...was "a little while ago" on thursday?

      Because that's when the existence of the vulnerability was already known, at least. The people who figured it out aren't telling the world how to do it (I'm sure clever people can figure it out), and are / were waiting for Google to fix it first.

      http://ece.uprm.edu/~andre/insert/gmail.html [uprm.edu]

      You might be seeing plain ol' spam from gmail; it's been having its share of problems with spammers since both captcha crack -and- before that by manual sign-up, simply -because- everybody trusted gmail (what, with the forced SMS/Text Message sign-up, invite-only, etc. preceding).
    • by lambent (234167) on Saturday May 10 2008, @08:30PM (#23365752)
      I can second the above statement, since I've seen the exact same traffic.

      Unfortunately, this sort of thing will continue to crop up. E-mail is fundamentally broken, and it's too easy to take advantage of any e-mail system. To combat spam, mail admins have had to take many unorthodox and RFC-bending practices (if not out-right ignoring RFCs all together). Otherwise, users complain about too much spam. The down side, users then complain about e-mail delays or non-deliverables. So, you get systems setting up certain ways to bypass filters for hopefully trusted domains. And then this whole new problem comes up when people figure out new ways to abuse the system, its safeguards, and hidden/implicit trusts.

      Ugh. At this point, I just want to turn SMTP off completely. This is a losing battle.
      • by Midnight Thunder (17205) on Saturday May 10 2008, @09:19PM (#23366012) Homepage Journal
        E-mail is fundamentally broken, and it's too easy to take advantage of any e-mail system.

        I hear this being said over and over again. The problem is that no one has been able to provide a solution to resolved the problem. There have been suggestions, but doing so without penalizing the small guy is hard. Do we require certificates and if we do how can we ensure that it will be 100% fool proof? Do we only accept e-mail that hasn't been relayed or only accept mail from white listed relays, or create rules for them, if relays are to be tolerated in certain conditions?

        • by Kent Recal (714863) on Saturday May 10 2008, @09:36PM (#23366092)
          I think what GP meant when he said E-mail is fundamentally broken is that SMTP is fundamentally broken.

          There are trivial technical solutions for the spam problem if only we could get rid of SMTP.
          Ofcourse "we" can't but my hopes are that google may do it eventually. They could roll out a new system on a large enough scale to actually make it stick.
          • by schon (31600) on Saturday May 10 2008, @10:08PM (#23366274) Homepage

            There are trivial technical solutions for the spam problem if only we could get rid of SMTP.
            No, there aren't.

            Spam exists because there are sociopaths who want to steal resources from others. There is *NO* technical solution to this. If your SMTP replacement allows anyone to contact anyone else, it will allow spammers to contact anyone.

            Spam is a social problem, not a technical one. There is no such thing as a technical solution to a social problem.
            • by Chandon Seldon (43083) on Saturday May 10 2008, @11:28PM (#23366662) Homepage

              Spam is a social problem, not a technical one. There is no such thing as a technical solution to a social problem.

              That's generally true.

              The problem is that SMTP makes it drastically worse than it needs to be with a push model. The spammer can send a million messages, and they've all already been accepted by the destination server before anyone has a chance to complain.

              If it were a notification / pull model then when someone complained the ISP could pull the spammer's plug for a TOS violation before most of the messages in his first batch were delivered. Sure, that doesn't kill the spam problem utterly dead - but it does mean that current spam management resources could keep it down to well under 90% of all email.

              • by Niten (201835) on Sunday May 11 2008, @01:58AM (#23367288) Homepage

                If it were a notification / pull model then when someone complained the ISP could pull the spammer's plug for a TOS violation before most of the messages in his first batch were delivered.

                The thing is that we can already achieve the same effect through a combination of greylisting and a trustworthy blacklist: an unknown (non-whitelisted) sender cannot deliver messages immediately, and if they're one of the few spammers who will retry deliver after a temporary failure, then by that time odds are that they will have been blacklisted.

                Sure, it's possible that a pull model might prove slightly more effective even so, but neither model will ever kill spam dead. And "possibly slightly better at dealing with spam, but probably just the same" isn't nearly enough to justify uprooting the world's entire email infrastructure.

              • Re: (Score:3, Insightful)

                before anyone has a chance to complain.

                All it takes is a spammer to use his distributed botnet to post thousands of complaints about legitimate email, and you're back to filtering push requests. You're also assuming that the spammer only has one plug to pull.
              • Then why is the spam problem so much bigger than the telemarketer or junk fax problem?

                Cost, plain and simple. The fundamental way to reduce spam is to make it cost more to do. Of course actually figuring out a good way to do that is left as an exercise for the reader.

              • by schon (31600) on Sunday May 11 2008, @12:08AM (#23366854) Homepage

                Then why is the spam problem so much bigger than the telemarketer or junk fax problem?
                Because we have laws regulating them, which (amazingly enough) is how society deals with social problems.

                Thank you for illustrating my point.

                • We have a *good* law on junk fax. It's very clear: unsolicited fax are illegal. We have very poor laws against telemarketers, laws aimed to permit telemarketers to continue to keep bothering you until you formally tell them to stop. There are some laws against spam, but they're extremely badly written.

                  Simply extending the junk fax law to cover email spam would be easy. The money saved in dealing with people's incoming spam would be more than enough to do the necessary enforcement of the laws, with such a cl
                  • by Dekortage (697532) on Monday May 12 2008, @07:10AM (#23376404) Homepage

                    Yes, C/R is annoying when you have to sift through your mailbox to separate spam from Challenges. When they look like any other E-Mail with not even a standard formatting to identify them. When the procedure varies between clicking a link, replying or even quoting some gibberish text from the mail (oh and don't get it wrong or it won't work), etc.

                    C/R is annoying because people want their messages to be delivered, without additional work. It's not even that I have to scan a spambox, or that they look like any other e-mail. It's that I have do to ONE MORE THING to have the message delivered. If this had been the way e-mail worked originally, then people might accept it; but now, everyone is used to sending e-mail and having it arrive without interruption (generally speaking).

                    C/R would be widely accepted if you think more of the way skype does it. A simple dialog box, one click, done. This is the kind of integration I'm thinking of and I'm pretty convinced that even people like Mr. Pogue would happily accept it if it reduces their spam input to zero.

                    Respectfully, I'm pretty convinced that it will not work unless the spam problem becomes so excessively bad that people are willing to change their e-mail habits. We are not yet to that point, thanks to all the other half-baked anti-spam solutions out there.

          • by martin-boundary (547041) on Saturday May 10 2008, @10:11PM (#23366290)
            Why do people say this? SMTP is not broken. It's a low level protocol which works pretty damn well. What people should concentrate on is building higher layers on top of SMTP and RFC2822, rather than complaining about SMTP itself.

            This is like complaining that wheels don't protect against being rained on, so cars should be redesigned from scratch.

        • Re: (Score:3, Interesting)

          Just to add some perspective:

          The problem is that no one has been able to provide a solution

          ... is, by definition, precisely why:

          E-mail is fundamentally broken

          In other words, it is fundamentally broken, because it is fundamentally unfixable.

          Interestingly however, I would like to argue for the exact opposite. The original intent and nature of email was to be completely open. The fact that it is so *perfect* at being open has made it *impossible* to close parts of it that are no longer desired.

          As problem solvers we like to think we can solve problems with solutions, but this is a case where we are

    • How about blocking all emails from gmail servers not coming from an @gmail.com address?
      • by Robotech_Master (14247) on Saturday May 10 2008, @09:49PM (#23366162) Homepage Journal
        Problem with this is that a lot of people (myself included) use gmail for the ease of use, but prefer to keep their own email address as the return address for various reasons.
      • by EdIII (1114411) * on Saturday May 10 2008, @10:14PM (#23366310)
        That sounds logical but it won't work.

        The spammers don't care about what their FROM and REPLYTO fields actually say. Since this is a man-in-the-middle attack they could put practically anything with a @gmail.com in those fields and it will render your solution ineffective.

        The real problem with this exploit is that it bypasses all of Google's security measures and anything I could do on my end would only verify that the email actually came from a real Google mail server and from a Google email user. So then I can only rely on SPAM filtering based on content which is not as effective as we would all like it to be.
      • Re: (Score:3, Informative)

        Google also has Google Apps which allows you to use your own domain name with GMail.
      • by jrp2 (458093) on Saturday May 10 2008, @10:31PM (#23366380) Homepage
        "How about blocking all emails from gmail servers not coming from an @gmail.com address?"

        Won't work.

        There are boatloads of people and companies using Google with their own domains. Google Apps, Google Enterprise, etc.

        Also, many of the spammers are using gmail addresses. Remember, they don't care about return emails, they just drive people to their websites.
      • by Baumi (148744) on Saturday May 10 2008, @08:31PM (#23365760) Homepage

        By riding this out, you give no incentive to actually fix anything.
        In theory, you're right: If all the server admins in the world united and blocked GMail, that'd send a message to Google to fix this ASAP.

        In practice, however, Google is likely to do just that anyway, and since there is no organized blacklisting going on, a sole action by the GP poster would most likely annoy his users while Google itself wouldn't even notice it.

        (Unless, of course, the GP happens to be the sysadmin for Hotmail, Yahoo! Mail or something similar - in that case: Blacklist, baby! ;-) )
          • by EdIII (1114411) * on Saturday May 10 2008, @10:06PM (#23366248)
            Heh. Bwahahahah... *cough*

            SpamCop and SpamHaus blocking Google? How do they say it... When Pigs Fly?

            People that use both of those services, free and paying customers alike, rely on them automatically managing their lists. I am sure, and I am certainly adding myself to this, that "we" don't expect these services to add Hotmail, GMail, Yahoo, etc. You can also toss Comcast, AT&T, Time Warner's Roadrunner, Cox, etc. to the list too.

            Unfortunately, there is such a thing as being too big to blacklist. I don't know how many millions of customers that it starts at, but GMail passed whatever mark that was a long time ago.

            Organized blacklisting only applies to much much smaller entities.
          • Re: (Score:3, Interesting)

            Well, there are a lot of people who do alternative things.

            On a few mail installations I've done, it watches for abusers, and blocks them with firewall rules, based on other detections including SpamAssassin.

            So even my own mail system would block gmail if it detects enough spam coming from them. The threshold is high enough to not false, and low enough to stop most of the badguys. On a typical server (~50k msg/day) something like 1500 get blocked daily, with no complaints th
      • Re: (Score:3, Insightful)

        If you are running a hosting business that specifically does hosted exchange services, hosted terminal server sessions, etc. you cannot tell your clients that they are unable to communicate with somebody, especially a major email provider such as GMail.

        The customer does not care about Google and Relaying or any other techno gobbletly gook. They only care that email was being blocked. It is not even a GMail specific thing either. It can be ANYBODY not being able to communicate to them, real or imagined, a
  • by techno-vampire (666512) on Saturday May 10 2008, @08:18PM (#23365666) Homepage
    This flaw is valuable because it's clear proof that whitelists don't work. No domain is above suspicion when it comes to sending spam. About the only real use the domain can be is as an adjustment to your filters. Done properly, mail from gmail.com is marked as less likely to be spam than mail from cyberpromo.com, but it's still checked.
    • Re: (Score:3, Interesting)

      It's not really evidence of that. There have always been ways for enterprising cyber criminals to engage in this sort of activity, it just happens to be more difficult than it used to be.

      A proper white list shouldn't include sites which are likely to be insecure, and it shouldn't grant a completely free pass either. Whitelisted domains do still get submitted to checks on well secured servers. DKIM and SPF being pretty much mandatory these days, as well as virus scanning and spam rating as well.

      Really the po
  • by Anonymous Coward
    Did anyone else notice that this story appeared AFTER the story above it? I almost missed the story entirely.
  • by Animats (122034) on Saturday May 10 2008, @10:24PM (#23366346) Homepage

    Bad publicity made Google fix their open redirector for URLs. Bad publicity will make them fix this.

    GMail ought to go back to cell phone authentication for new accounts. Since their capcha was broken, they've become a favorite of spammers.

    Blogspot is also a spam haven. Most blogspot blogs are spam, and they can be used as a form of open redirector. Look for spams like: "An IWC watch is a uniquely handcrafted time piece ... http://rexefute51720.blogspot.com/ [blogspot.com]"

    Complain loudly, publicly, and often. Google needs to take stronger steps to avoid being a spam conduit.

    • > Bad publicity made Google fix their open redirector for
      > URLs. Bad publicity will make them fix this

      Your optimism is like a ray of Sunlight in a dark world, but I
      fear it is misplaced.

      Many USENET groups are virtually unreadable today because of the
      torrent of spam posting originating from Google Groups accounts.
      Thousands of users have submitted precise spam reports to Google,
      quoting the article-IDs. Result? None. Consequence? USENETters
      start to block any and all Google Groups postings
      ( thou
  • by BlueParrot (965239) on Sunday May 11 2008, @07:24AM (#23368270)
    In a system where the sender initiates information transfer ( such as in e-mail) you have the following problem:

    "If you want everybody to to be able to contact you, then you will receive information you do not want."

    Conversely, if you have a system where the recipient requests information ( such as for web-pages ) then you have the following problem:

    "I you want everybody to be able to get information about yourself, then people you don't like could collect information about you."

    There's no way around these very simple facts, the best you can do is to change what you expect from the service. As an example e-mail spam would be rapidly defeated if you limited yourself to only receive information from sources you have approved in advance, but that is to limited for most people. Because we want our friends to be able to give our e-mail addresses to their friends if they have something nice to tell us. Therefore we will get e-mails we don't want. If you want to change this you have to either change your expectations of what e-mail should do, or you have to change the behavior of people sending out spam. The easiest way to do the latter is to penalize business who do it.
  • by HTH NE1 (675604) on Monday May 12 2008, @01:35PM (#23381616)
    Does the Information Security Research Team make any memorabilia coins? I imagine an INSERT coin would be quite desirable.
    • Re:DeBunking? (Score:5, Insightful)

      by peragrin (659227) on Saturday May 10 2008, @08:29PM (#23365738)
      last I checked it was 6.5 gigs of storage.

      i figure google will have this locked down soon enough though. It's not like they won't notice the sudden burst of traffic. Some guy is going to be working hard tonight.
    • Re: (Score:3, Informative)

      Well, this ruins GMail's major argument.
      AFAIK, "We're no spam relay" has never been touted as a major feature of GMail. Why should they do that? No major webmail provider would intenionally do such a thing. (Which, of course, doesn't porevent bugs and screw-ups as, apparently, in this case.)
        • Right, so why does that argument no longer apply? I just checked my gmail account and there is as little to no spam as always.
    • Re: (Score:3, Interesting)

      Well, this ruins GMail's major argument. nNw all they have left is "You get 2 GB of storage".

      Huh? What argument are you refering to, and how does this ruin it?

      The only "argument" I can think you might be refering to is that, by using Gmail, you avoid having to see a lot of spam due to their excellent spam filterings. This doesn't ruin that argument in any way. In fact, since it primary impacts sites like Yahoo and Hotmail (who will see more spam if they continue to whitelist Gmail), it strengthens it. You're now see even less spam using Gmail, comparatively speaking.

    • Goddamned bastards have everything I send to my girlfriend from Google labeled as spam.
      Maybe you should stop sending her emails on how to maximize her rod?