Slashdot Mirror


New Gmail Bug Allows Sending Messages Anonymously (bleepingcomputer.com)

Earlier this week software developer Tim Cotten discovered a serious glitch in Gmail. An anonymous reader quotes BleepingComputer: Tampering with the 'From:' header by replacing some text with an <object>, <script> or <img> tag causes the interface to show a blank space instead of the sender's address.... Opening the email does not help, either, as the sender's address continues to remain hidden and shows no info even when hovering on it, an action that typically reveals the details.... Trying to reply to the message is also of no help. Cotten attempted this thinking that Gmail would read the original email headers and determine the destination. "Wrong again! Gmail is at a complete loss at what to do!" Cotten writes in a blog post that details his new finding....

Using the Show Original option, which allows users with more experience to trace an email, the desired detail is still unavailable in the user-friendly view. Looking at the raw info, however, shows the source address buried at the end of the <img> tag Cotten used in his experiment. He didn't even have to spell correctly the data type to trigger the bug. Unfortunately, it is highly unlikely that the average Gmail user will be able to navigate to this area and determine who the apparently anonymous message is coming from. Due to this, for these users the risk of phishing is high.

Cotten's bug report "relies on his previous discovery that proved how a malformed 'From:' header allows placing an arbitrary email address in the sender field," the article points out, also noting a third recently-reported Gmail bug that "allows fraudsters to create a 'mailto:' link that populates the destination field in the app with whatever address they want; the latter was reported about 19 months ago to Google and is still present in the Gmail app for Android."

"According to the developer, one solution Google could implement to avoid forging the From field is to properly check the email headers and deny communication with an anomalous structure in the sender or recipient fields. Another method proposed by Cotten is Joran Greef's project Ronomon, which can trigger errors when email specifications are not followed."

Threatpost reported Tuesday that Google "did not respond to a request for comment."

55 comments

  1. email not secure by phantomfive · · Score: 5, Informative

    You should never consider email to be accurate as to who the sender is. If you want to be certain, have them sign it cryptographically. That is the only solution, and even that is not 100% certain (for example, if keys get stolen).

    --
    "First they came for the slanderers and i said nothing."
    1. Re: email not secure by Anonymous Coward · · Score: 0

      How about just donâ(TM)t answer those emails

    2. Re: email not secure by Anonymous Coward · · Score: 0

      Well here is the thing with email. It hardly matters what the sender line says or the subject or the content. Any fool can tell if itâ(TM)s a real email or just a Nigerian prince scam

    3. Re:email not secure by Anonymous Coward · · Score: 0

      You don't have to be Edward Snowden to know that email is not secure. If you are implying it is either you are trolling or are very ignorant.

    4. Re:email not secure by Anonymous Coward · · Score: 0

      Its not a bug, rather old smtp/pop3/imap technology....

  2. meh by Anonymous Coward · · Score: 0

    A gmail address is anonymous enough.

  3. Misleading subject line by dogsbreath · · Score: 2

    Hardly sending anonymously. Last I looked at an iPhone, their interface totally hides the ability to determine the true sender of an email, and they do that purposefully.

    Certainly should be fixed and leads to questions about what else is lurking in the code. On the severity side seems low; just another method available for phishing.

  4. Oh please by Anonymous Coward · · Score: 0

    "Send mail anonymously" when the problem is in the displaying, so it'll only work when sending to gmail AND the recipient uses the web interface.

    Oh and get a real news source, you failure of an editor, you.

  5. This is nothing new by Anonymous Coward · · Score: 0

    Emails addresses have always been quite easy to forge, most SMTP servers can be connected to and used to send emails using pretty much any email addresses as the sender, there's no authentification in place so that's pretty easy to do, all you need is a telnet client and the proper sequence of commands from the SMTP specification.

    1. Re: This is nothing new by Anonymous Coward · · Score: 0

      Still needs open relay good luck finding anyone incompetent enough to do that on accident

    2. Re:This is nothing new by Anonymous Coward · · Score: 1

      most

      Pure bullshit

    3. Re: This is nothing new by Lost+Race · · Score: 1

      Nope, telnet to port 25 on the recipient's domain's MX host.

      (Good luck finding a recipient whose SMTP server allows direct connections from your IP address.)

    4. Re:This is nothing new by RandomFactor · · Score: 1

      Generalization fallacy.

      Historically the statement is true. It has become less so over time due to progressive adoption of various authentication mechanisms (SPF, DKIM, DMARC) but is still largely accurate.

      --
      --- Mercutio was right.
    5. Re: This is nothing new by Anonymous Coward · · Score: 0

      That hasn't been true in decades.
      If you want to send spam, exploit their web sites software. Then the server thinks your script is the sites code.
      That is where your spam comes from.

    6. Re: This is nothing new by Anonymous Coward · · Score: 0

      No luck needed. Having worked at a large hosting company for over a decade I can't tell you how many millions of spam messages I deleted from deferred and outgoing postfix mail queues on custom servers acting as open relays. There are plenty out there.

    7. Re: This is nothing new by Anonymous Coward · · Score: 0

      I meant to finish with good luck finding those open relays run by accident, As I'd imagine if you're finding them in the wild they are honeypots, or otherwise compromised as jump points or harvesting. Just saying if he thinks that he's sending "anonymous" emails he's likely not

  6. NOT a bug in GMail by macraig · · Score: 4, Informative

    GMail is more than just its HTTP interface, which is where this bug manifests. For the idiots who don't know the difference, there is nothing wrong with GMail's SMTP or POP3 or IMAP servers; you can use those safely (well... it's still Google) from any standalone e-mail client you might choose. The ONLY thing you should avoid - and honestly you should have been doing it long before now - is GMail DOT COM and its HTTP Webmail interface to the underlying service.

    Get yourself a real e-mail client.

    1. Re:NOT a bug in GMail by Anonymous Coward · · Score: 0

      GMail is more than just its HTTP interface, which is where this bug manifests. For the idiots who don't know the difference, there is nothing wrong with GMail's SMTP or POP3 or IMAP servers; you can use those safely (well... it's still Google) from any standalone e-mail client you might choose. The ONLY thing you should avoid - and honestly you should have been doing it long before now - is GMail DOT COM and its HTTP Webmail interface to the underlying service.

      Get yourself a real e-mail client.

      So the Google "engineers" are morons. Got it! Thanks!

    2. Re:NOT a bug in GMail by Anonymous Coward · · Score: 0

      So you are saying the bug is with gmail.com? You know the interface millions of people use every day? Also you seem to think 'real e-mail clients' do not have render bugs too? What an interesting idea you have. Not true. But at least interesting.

    3. Re:NOT a bug in GMail by Anonymous Coward · · Score: 0

      This. I download my mail with mutt, and that is not affected by this nonsense at all.

    4. Re:NOT a bug in GMail by 93+Escort+Wagon · · Score: 3, Insightful

      Get yourself a real e-mail client.

      My work email is through Google Apps (or G Suite or whatever they’re calling it this week). I use a “real e-mail client”, and interface with their servers via IMAP. I avoid their web interface as much as I can.

      I can’t claim to do this because of security, though. It’s just that web mail - even Google’s version of it - sucks in comparison to a real email client. Not to mention that, on rare occasions, I have needed to send encrypted email... and I’d rather no one other than the recipient have access to the contents of those messages.

      --
      #DeleteChrome
    5. Re:NOT a bug in GMail by Anonymous Coward · · Score: 0

      The problem with accessing gmail over pop/imap is they make you put your account into a "reduced security" mode to do so, then constantly hound you about the fact that your account is in said reduced security mode.

    6. Re:NOT a bug in GMail by Aighearach · · Score: 1

      I've been using the same Ruby app I wrote 10 years ago to check for new messages over IMAP and launch my mail client, and I'm not getting "constantly hounded."

      You're probably just confused; if you won't give them permission to send shit to your phone to pretend you have increased security, they will pester you about that; but that isn't a reduced security mode at all, it is an increased security mode if your phone is more likely to get lost or be accessed without permission than your desktop. Only family have access to my desktop, my phone goes with me when I leave the house and could get lost, and then be accessed by who-knows-who. Also, the phone is more likely to get malware.

      So it seems to be a very different issue that has nothing to do with gmail, but instead exists across all the google accounts; if you follow traditional best practices, you will constantly get pestered to reduce your security by turning on "security for dummies" type features that only increase security if you would otherwise be flapping in the breeze.

      The dumbest part is that since most people have an email client installed on their phones, and google pushes that app pretty hard, the thing they call "2 factor" instead reduces the entire security situation to "possession of phone." 2 clicks isn't 2 factors. Having the email app send a txt to the messaging app isn't 2 factors.

    7. Re:NOT a bug in GMail by Anonymous Coward · · Score: 0

      I've been using the same Ruby app I wrote 10 years ago to check for new messages over IMAP and launch my mail client, and I'm not getting "constantly hounded."

      What we really need is a command-line/UNIX-friendly way of accessing a FIDO key. And then port that into mutt, pine, /usr/bin/mail, or whatever.

      No web shit. No Javashit. No web browser. Just a piece of new code that says "Hey, OS? Anything happening on that USB port? Anything happening via Bluetooth?" The same machine-level instructions that are running when the web browser does it, but - and I know this part scares people at Google - not in a web browser.

  7. Re:IMPERSONATING ME AGAIN? apk by webmistressrachel · · Score: 1

    My hook nose is missing from you post. Please correct this immediately.

    --
    This tagline was transcoded to result in at least one smirk. If you experience failure to smirk, please consult your Gen
  8. Re:I know what the impersonators want to do by nyet · · Score: 1

    You're not beating anybody at anything, you're just beating yourself off.

  9. Anyone really care? by Anonymous Coward · · Score: 0

    It is already quite trivial to spoof the senders address on an email or to just use one of probably hundreds of free email services to make a throw away account.

    People need to consider that email is no more secure/private than a post card. The sender of the postcard can put whatever or no return address on it, and the message contents on the postcard can be read by anyone who handles the postcard. Just the same as email sender addresses can be spoofed and every mail server that your email passes though has the ability to read the email message as it passes though.

  10. Phishing? by Anonymous Coward · · Score: 0

    How does that help phishing? If the sender does not look like mybank.com, that will tip off more people, not fewer.

  11. lazy poor quality code by Anonymous Coward · · Score: 0

    and i thought some of the people at Google were smart, turns out they are lazy and stupid.
    how easy is it to validate data and do a good quality job...

  12. at a loss by Anonymous Coward · · Score: 0

    How are they at a loss?
    Just fucking properly escape the god damn text in the from field and display it.

  13. Fuck Slashdot by Anonymous Coward · · Score: 0

    A banner ad so big that I can't even seen an entire summary? What the fuck has happened to this place?

  14. From address is optional by Solandri · · Score: 4, Interesting

    Most email clients add one, but the email spec doesn't require it, much less provide a way to confirm that it's accurate. Spammers have run amok with this for decades (you didn't think your cousin Linda really sent you that spam about penis enlargement, did you?). Even Gmail doesn't enforce it - you can configure it to insert a different address as your From address. While it's cute that he's figured out a way to have to accept a blank as the From address, this is hardly an earthshattering bug.

  15. JavaScript disaster by MobyTurbo · · Score: 1

    This is what happens when you couple a glorified home-page displayer with an ad-delivery-oriented touring-complete language, and call it a development environment. It's a wonder that Google hasn't done worse, I praise their engineers.

    1. Re:JavaScript disaster by Anonymous Coward · · Score: 0

      I guess a "touring-complete language" is good for solving the Traveling Salesman Problem?

    2. Re:JavaScript disaster by MobyTurbo · · Score: 1

      Ooops, instead of P=NP it was OU=O?

    3. Re:JavaScript disaster by Anonymous Coward · · Score: 0

      Toring? I think you mean OU=U...

  16. Fixed already by Anonymous Coward · · Score: 0

    I tried the "hack" and it doesn't work anymore - GMail has been patched for this already...

    1. Re:Fixed already by Draconi · · Score: 1

      I tried the "hack" and it doesn't work anymore - GMail has been patched for this already...

      Incorrect. https://imgur.com/a/tIODzuK

      If you copy/pasted the result of the Show Original it wouldn't work, true. But still easily reproducible based on the attack vector description.

  17. Snipes by Anonymous Coward · · Score: 0

    I doubt snipes use email.

  18. not a bug, but a feature by usr1987 · · Score: 1

    Not a bug its a feature, just like all the other ones that go against the public!

  19. IMPERSONATING ME AGAIN? apk by Anonymous Coward · · Score: 0

    I've no version 3.0++, I'd never post on hosts offtopic + gweihir KNEW u IMPERSONATE me https://it.slashdot.org/commen... c6gunner proves it https://linux.slashdot.org/com... & forgot to SUBMIT AC & used his registered 'lusrname' (he tried to mock me both BEFORE & after I FAIRLY challenged him to show he's done better work - he had ZERO).

    I'd never "cry victim" to ne'er-do-wells (TROLLS, not all /.ers) either.

    U EVEN HELPED ME https://science.slashdot.org/c... (& then realizing it you quit trying to make me look bad via what you thought were lies on hosts as "ME" IN YOUR IMPERSONATIONS of me e.g. https://tech.slashdot.org/comm... on speculative execution attack: Hosts PREVENT 'EM, joke's on you)

    APK

    P.S.=> 2nd to last link's KILLING U THAT U HELPED ME & got me to see if hosts stop portsmash/meltdown/spectre & yes - hosts WORK on 'em - U LOSE + FAIL a PORTFILTER TEST https://yro.slashdot.org/comme...

  20. Re:JOOZ! by webmistressrachel · · Score: 1

    Thank you. I have read your advertisement several times now and I would like to subscribe to your publications.

    Please find enclosed a signed Postal Order, written in GBP (Great British Pounds), sufficient to cover 12 months' subscription, by post, plus a little extra to expedite processing. I have also included 12 First Class stamps and 12 padded A4 envelopes in the package.

    Please deliver the monthly newsletter and optional marching orders package to Crazy Cat Lady, 26 Hook Street, Nose End, Lancashire, England, Great Britain, United Kingdom, Earth, Sol.

    --
    This tagline was transcoded to result in at least one smirk. If you experience failure to smirk, please consult your Gen
  21. Issues are still unresolved by Draconi · · Score: 1

    Hi, original author here. The issues are still unresolved as of this morning.

  22. It's not a "bug" ... by Anonymous Coward · · Score: 0

    ... it's a "feature".