Coinbase Bug Allowed Users to Give Themselves Unlimited Ether

in #cryptocurrency7 years ago

mvu0nc6nuqbu5qnlkgee.jpg

Coinbase, one of the world’s most popular cryptocurrency exchanges, has apparently had a nasty bug lurking in its system that would allow users to collect unlimited ether through a few simple steps. Thanks to a bug report, however, the company avoided disaster.

VI Company, a Dutch firm specializing in FinTech, publicly disclosed the vulnerability on its HackerOne account on Wednesday. According to the report, a string of digital wallets controlled by a smart contract could be manipulated to trick Coinbase into believing a transfer had occurred. The issue was first reported in late December, and Coinbase responded on January 25th saying the issue had been resolved and that the company would be rewarded with a $10,000 bounty.

Smart contracts have been touted as one of the main arguments for why the Ethereum blockchain technology could have more potential than Bitcoin. In the most basic terms, a smart contract is a set of if/then conditions regulating the transfer of cryptocurrency funds. VI Company wanted to give its employees a unique Christmas present last year, and familiarize them with smart contracts. It set up a smart contract that would distribute a small amount of ether to everyone on Christmas Eve, Christmas Day, and Boxing Day. But it noticed something weird.

The people handling the project realized that if one of the internal transactions of the contract failed, all the transactions were reversed, which is how the smart contract should work. But Coinbase’s internal accounts didn’t register the reversal. So, Coinbase thought the wallet had been credited with additional ether, but checking the wallet outside of Coinbase showed that no deposit had occurred. VI Company uploaded screenshots of its transactions and outlined the simple steps to collecting all the ether you could ever spend:

  1. Setup a smart contract with a few valid Coinbase wallets and [one] final faulty wallet

  2. Transfer appropriate funds to smart contract

  3. Execute smart contract adding the set amount of ether to the Coinbase wallets without ever actually leaving the smart contract wallet because the complete transaction fails at the last wallet

  4. Repeat until you have more than enough ethereum in your Coinbase wallet.

  5. Cash out

Just to be clear, the Coinbase account would show the funds as being present even though they were never transferred to the wallets. So the “ether” that could be collected was just part of Coinbase’s records. A bad actor could then either transfer that out to a wallet not tied to Coinbase, or they could just convert that cryptocurrency to fiat money in a bank account. Had someone decided they wanted to millions of dollars worth of Ether, red flags surely would’ve gone up at Coinbase. And if they managed to transfer the money out, they’d still have to go through a laundering process. Coinbase is also pretty strict about verifying your real-world identity.

We don’t know if anyone managed to game the system, but we’ve reached out to Coinbase for comment and will update this post when we receive a reply.

Source

DQmfJ3UUuwUZk83zfzcHehGLpZu6QrfG2Tt63kvgYmjCs78_1680x8400.png

Sort:  

Hi! I am a robot. I just upvoted you! I found similar content that readers might be interested in:
https://gizmodo.com/coinbase-bug-allowed-users-to-give-themselves-unlimited-1823951499

Release the Kraken! You got a 2.77% upvote from @seakraken courtesy of @mo7a!

haha thats awesome !