Slashdot Mirror


Cryptocurrency Wallet App Coinomi Caught Sending User Passwords To Google's Spellchecker (zdnet.com)

An anonymous reader shares a report: Coinomi wallet app sends user passwords to Google's spellchecking service in clear text, exposing users' accounts and their funds to man-in-the-middle (MitM) attacks during which attackers can log passwords and later empty accounts. The issue came to light yesterday after an angry write-up by Oman-based programmer Warith Al Maawali who discovered it while investigating the mysterious theft of 90 percent of his funds. Al Maawali says that during the Coinomi wallet setup, when users select a password (passphrase), Coinomi app grabs the user's input inside the passphrase textbox and silently sends it to Google's Spellcheck API service. [...] Coinomi, which offers a multi-cryptocurrency wallet app for Android, iOS, Linux, Mac, and Windows, did not respond to a request for comment.

33 of 75 comments (clear)

  1. The Important part missing from TF Summary by itsme1234 · · Score: 3, Informative

    "The user interface is designed using HTML/JavaScript and rendered using integrated Chromium (Google's open-source project) based browser"

    'nuf said. Surely there are more wrong things wrong with that...

    1. Re:The Important part missing from TF Summary by cascadingstylesheet · · Score: 4, Insightful

      "The user interface is designed using HTML/JavaScript and rendered using integrated Chromium (Google's open-source project) based browser"

      'nuf said. Surely there are more wrong things wrong with that...

      Collecting passwords in a browser form field is fairly common, and not wrong.

      Spellchecking passwords? With a third party service? Sending in cleartext? Yeah, that's screwy ...

    2. Re:The Important part missing from TF Summary by itsme1234 · · Score: 1

      Collecting passwords in a browser form field is fairly common, and not wrong.

      This is not "a browser" ... or at least SHOULD NOT be, it is an app that would in principle exist in the very same form (at least from what I can see in the demos) even if the web was never invented. However it is/it does come with its own browser (like many other things nowadays!) - heck it's bigger than my first HARD DRIVE!

    3. Re:The Important part missing from TF Summary by cascadingstylesheet · · Score: 1

      Collecting passwords in a browser form field is fairly common, and not wrong.

      This is not "a browser" ... or at least SHOULD NOT be, it is an app that would in principle exist in the very same form (at least from what I can see in the demos) even if the web was never invented. However it is/it does come with its own browser (like many other things nowadays!) - heck it's bigger than my first HARD DRIVE!

      Plenty of apps use HTML/CSS/JS as the UI.

      That's not what's wrong with it, security-wise.

    4. Re:The Important part missing from TF Summary by Bongo · · Score: 1

      Oops, looks like I misspelt xg3/qqKsB-2zl

    5. Re:The Important part missing from TF Summary by radarskiy · · Score: 2

      "This doesn't seem deliberate, just incompetent."

      Sufficiently advanced incompetence is indistinguishable from malice.

    6. Re:The Important part missing from TF Summary by Shikaku · · Score: 1

      It is technically a browser. https://electronjs.org/ This setup and environment uses a headless Chromium to basically be the application. One of the biggest projects that use this is Discord; it doesn't say Coinomi is in here https://electronjs.org/apps or Coinomi's webpage but it's possible. And considering Chrom(e)ium checks spelling on textfields this may have been unintentional since the browser has this feature but was accidentally trying to check the password field.

  2. Pssword123 by Oswald+McWeany · · Score: 4, Funny

    Psword123

    Did you mean "Password123"

    --
    "That's the way to do it" - Punch
  3. I don't believe it by mattyj · · Score: 5, Funny

    A system of made-up currency run by any number of idiots in their virtual garages is shady? What? How could this possibly be?

  4. Passphrase alone not enough to steal funds. by Edward+Nardella · · Score: 1

    For coinomi, to make use of the passphrase, an attacker needs access to the phone.

    --
    My sig doesn't address Anons, sigs aren't visible to them.
    1. Re: Passphrase alone not enough to steal funds. by Edward+Nardella · · Score: 1

      It us true that they allow that, however, the keys are stored on the users device. Coinomi is not a cloud wallet.

      --
      My sig doesn't address Anons, sigs aren't visible to them.
  5. a bright new business opportunity! by Anonymous Coward · · Score: 1

    Annonymous Coward's password strength verifier!

    Here's a example of how it works:
    you : hey is this password strong?
    ACpsv : and you are?
    you : Joe Bloggs
    ACpsv : what site is this for?
    you : Fidelity.com
    ACpsv: yeah, sure, it's good.

  6. READ BETTER - it is not sent in plaintext by Anonymous Coward · · Score: 2, Informative

    Coinomi has responded to the allegations in this post on Medium which states the spell checking functionality was enabled for desktop wallets but that the seed phrase wasn’t sent as plain text, it was “encapsulated inside a HTTPS request with Google being the sole recipient.” It added that Google did not process, cache or store the requests. The issue was fixed six days ago.

    A report by security consultant Warith Al Maawali claims he lost $60,000 to $70,000 while using the Coinomi wallet. He argues that Coinomi’s built-in spell checker automatically checked his seed phrase which involved sending it as plain text to a Google-owned website. This meant it could have been intercepted, leading to the loss of funds. There have been other similar claims on Reddit. While it’s difficult to verify if these claims are true, it does highlight a bigger vulnerability: seed phrases and the dangers of entering them on computers connected to the internet.

    Al Maawali told Decrypt he used his Ethereum seed phrase in the Coinomi wallet to access Ethereum-based tokens that he owned but were not supported by the Exodus crypto wallet which he was already using. He said everything worked okay at first as the tokens showed up but then a few days later, the wallet was emptied.

    Due to this, he did some research and found what he believes is a critical vulnerability within the Coinomi wallet. At the point where you enter your seed phrase, it is processed through a spell checker. This means the whole seed phrase is sent to a Google-owned website. He has uploaded a video for anyone to replicate the process and see that the vulnerability exists.

    Programmer Martin Habovtiak confirmed on Twitter that the vulnerability is real but argued that there might be more a more nefarious reason for the loss. Habovtiak believes it was more likely the money was stolen via malware, or Maawali sent the coins to another account he owns to make it look like they were stolen and is trying to double his money.

    However there have been other reports of funds disappearing on the Coinomi wallet—which isn’t uncommon for any software wallet. There are two posts on Reddit by users who claim their funds have disappeared from the Coinomi wallet. Although neither specify that they imported their seed phrase into the wallet.

    Al Maawali also provides screenshots of a conversation he claims to have had with Coinomi support in which they appear to accept the vulnerability exists but deny that it was responsible for the loss of funds. This conversation has not been independently verified.

    This issue flicks at other issues facing Coinomi. Luke Childs, a developer of open-source software accused the app of lacking necessary encryption measures when sending user information. A blog post by Jonathan Sterling, co-founder of Coin Flow, goes into more detail on the issues, providing screenshots of tweets allegedly from Coinomi dismissing the claims.

    While there is evidence that the exploit is real, it is much harder to verify that it was the reason the funds were stolen. There are many other possibilities of how the money was taken including malware or vulnerabilities in other crypto wallets—if it was even stolen. But this vulnerability proves that crypto wallet providers need to think outside the box when it comes to security, but not too much.

    [This article has been updated with the response from Coinomi.]

    https://decryptmedia.com/5414/alleged-coinomi-exploit-concern

    1. Re:READ BETTER - it is not sent in plaintext by Luthair · · Score: 1

      Even after sent to Google, you'd need a MTIM who somehow knew that to look at the contents of translate and know that it was for Etherum. Seems pretty far fetched.

  7. What a Bunch of Idiots! by organgtool · · Score: 1

    Everyone knows that you need to send the password over SSL to your own back-end service first before you send it to Google Spellcheck in clear text!

  8. this can happen post-hoc too by goombah99 · · Score: 5, Informative

    Example, you use a simple java swing text box to input some data. Then a new revision of java comes out and boom the text box gets new capabilies such as auto-fill or spell check.

    This exact scenario happened in one particular touch screen voting system in which the windows CE form boxes would remember the previous use of the form and fill it it. Unfortutaley it was filling it in with the previous voter's vote!
    But it wasn't that the software designer overlooked this. When the software is written it did not do this. But after an update of the Windows CE it did.

    Even changing things seeming innocuous like font definition files can introduce unanticipated changes post hoc.

    This is true of anything that uses either late binding, or an OS API.

    But you would be crazy to not use safe and validated things to be a window manager. Rolling your own would likely introduce even more prospects for security hazards.

    there isn't an easy answer.

    --
    Some drink at the fountain of knowledge. Others just gargle.
    1. Re: this can happen post-hoc too by Anonymous Coward · · Score: 1

      I don't have mod points but your scenario is enlightening and I'd never considered it before thank you.

    2. Re:this can happen post-hoc too by Anonymous Coward · · Score: 1

      But it wasn't that the software designer overlooked this. When the software is written it did not do this. But after an update of the Windows CE it did.

      The designer used fucking Windows for a voting machine. That's like saying a designer who made a bridge out of toilet paper didn't overlook anything because during construction it wasn't raining.

    3. Re:this can happen post-hoc too by jythie · · Score: 1

      The thing that floors me in that story.. I used to work for a company that made touch screen based gaming systems, so something not nearly as important as voting machines.. and we were VERY meticulous about OS and library patches. An OS update like that should not be able to sneak up and have such an effect.

    4. Re:this can happen post-hoc too by 140Mandak262Jamuna · · Score: 1

      Heard the term "Good enough for government work!" ?

      --
      sed -e 's/Chuck Norris/Rajnikant/g' joke > fact
    5. Re: this can happen post-hoc too by c6gunner · · Score: 1

      It's not just good, it's good enough!

    6. Re:this can happen post-hoc too by goombah99 · · Score: 1

      I can't tell you why they were sloppy but I can tell you a few things that might contribute.
      first, voting systems have some rules they follow. It varies from state to state but typically you are not allowed to alter any code in these things within a certain number of months of the election. This has led, more than once, to situations where a known bug (e.g. overflows of vote counts, or vulnerabilities) exists in the code but they cannot legally patch it. FOr systems used in federal elections they are/were supposed to get the blessing of the federal election assistance commissions which mandates code quality reviews (these are a total joke as they look at programming styles not logic) and that adds more time. IN fact vendors in two states were caught fixing bugs prior to elections and they knew they were no supposed. The problem is what do you do if the bug is really really awful? That'a why the vendors risked getting caught. One assumes this happens a lot and they don't get caught too.

      Second, voting machines don't make a lot of money compared to gaming. So there's a lot of corner cutting. More importantly, it's also a race to market. After states buy a brand of machine they are not going to switch to your brand for a decade. So late to market is death. Better to run with a crappy system. That's also presumably why these things have been built on things like windows CE and Windows Access data bases and commodity OEM computing platforms inside. Quicker to market. Security last.

      This you can see even if they did catch the problem they were hosed about getting it fixed promptly.

      --
      Some drink at the fountain of knowledge. Others just gargle.
  9. Re:I'll get the spit set up. by PPH · · Score: 2

    Why would a password be sent to a spellcheck service?

    Because you keep misspelling A#1b0Q^xK2-

    --
    Have gnu, will travel.
  10. Re:All currency is "made-up" by Calydor · · Score: 3, Insightful

    Real-world currencies were originally backed by gold reserves and evolved from there.

    Cryptocurrencies were originally backed by geeks going, "It'll be the next big thing!" and haven't evolved yet.

    --
    -=This sig has nothing to do with my comment. Move along now=-
  11. Re: All currency is "made-up" by Edward+Nardella · · Score: 1

    None of that is relevant to what has been said so far.

    --
    My sig doesn't address Anons, sigs aren't visible to them.
  12. Re:I'll get the spit set up. by nukenerd · · Score: 1

    My password passed the spell check because it's "password", so who's laughing now? If only you people would stick to plain English passwords and spelled them correctly there wouldn't be a problem.

  13. Re:I'll get the spit set up. by MrLogic17 · · Score: 1

    If it's a BIP39 seed, it's a list of 12 randomly chosen, common words. A typo in the spelling of any of those words means it's not a valid seed-word. I can see someone thinking that checking the spelling of a word isn't a security issue, but do it 12 times in a row, and you've leaked the root key for a BTC HD wallet.

    Just plain dumb.

  14. Re:I'll get the spit set up. by DickBreath · · Score: 1

    The real crime here is that they don't send the password also to a grammar checking service.

    --

    I'll see your senator, and I'll raise you two judges.
  15. Re:All currency is "made-up" by Bryansix · · Score: 1

    Actually, its backed by a lot of very complex math but go on.

  16. Re:All currency is "made-up" by Calydor · · Score: 1

    What is the value of the math itself as opposed to the value of the gold represented by real-world currency?

    At its very core, the ENTIRE concept of crypto-currency boils down to saying, "It would be pretty cool if we could make this work." And yes, it would. But that alone doesn't give it intrinsic value, and it doesn't give it the critical mass it requires to be considered a true currency on a level with the dollar, euro, yen, hell even the bolivar is more of a real currency - although for how long is debatable, true.

    --
    -=This sig has nothing to do with my comment. Move along now=-
  17. Re:I'll get the spit set up. by martinX · · Score: 1

    Shut up, man, that's my password too. Stop telling everyone.

    --
    When they came for the communists, I said "He's next door. Take him away. Goddam commies."
  18. Re:All currency is "made-up" by jythie · · Score: 1

    Going back further, gold as currency was also made up and took a leap of faith.... well, less a 'leap of faith' and more 'government will only accept taxes in gold and will only pay bills in the same'.

  19. Re:All currency is "made-up" by jythie · · Score: 1

    That is less 'backed' and more 'implemented by'.