A Bug Making Ethereum Transactions on Exchanges Vulnerable Has Been Fixed

A Bug Making Ethereum Transactions on Exchanges Vulnerable Has Been Fixed
фото показано с : bitcoinmagazine.com

2018-11-22 00:34


A bug centering around a new Ethereum token, GasToken, which was enabling abuse on cryptocurrency exchanges, appears to have been resolved. The details are provided in a report originally published on November 13, 2018, that discussed how the bug was exploited by attackers, and what digital platforms could do if they wished to protect their hot wallet funds.

It was unclear which exchanges could or could not be affected by the bug. Thus, private disclosures were issued to “as many exchanges as possible” according to a Medium post. While it was determined that most of these exchanges were not in any danger, all vulnerable exchanges have since instilled the proper protections. At press time, the bug is no longer considered a threat.

According to its website, GasToken is an Ethereum-based contract that allows individuals to tokenize the Ethereum network through a special refund mechanism. Users can store gas when the price is low and garner refunds when it’s high.

The website reads, “Every transaction on the network must include some gas, and the fee paid to miners for each transaction is directly proportional to the gas consumed by a transaction. GasToken allows a transaction to do the same amount of work and pay for less gas, saving on miner fees and costs and allowing users to bid higher gas prices without paying correspondingly higher fees.”

The document alleges that many exchanges either enforced no gas usage limits or allowed for the withdrawal of ether to arbitrary addresses. Combined with GasToken’s refund structure, an open doorway was subsequently provided to attackers, who could then mint gas whenever they received ether and make exchanges pay for arbitrary computation.

Attackers could exploit the bug in one of two ways. The first was by performing computations through Ethereum’s fallback function when a contract received Ethereum-based tokens from an exchange. If a malicious actor wanted to attack an exchange, the attacker could do so by initiating withdrawals to a contract address they controlled.

Granted the person operating the exchange had failed to enforce gas limits or know-your-customer (KYC) protocols, the exchange would pay the transaction fees out of their own hot wallet. The attacker could then create several accounts to bypass any single account withdrawal limits. They could also mint GasTokens, thereby causing the exchange owner’s wallet to drain even further.

The second attack vector could be exploited through a token’s transfer function. The attacker could force an exchange to pay for large amounts of computation and even cause it to burn its own ether supply.

From there, the attacker could drain the exchange’s hot wallet or mint the GasTokens for a profit if they controlled the token’s code on an exchange if the token featured an upgradeable contract or if the exchange automatically lists tokens. Whenever a token transfer occurred, the attacker could work to update the function, which would perform the same computation described in the first method, and the exchange would then pay the costs of every future transfer of that token.

The good news was that the bug could only affect exchanges that initiated Ethereum transactions not those that processed them. Thus, decentralized exchanges or those based on similar smart contract technology that processed transactions initiated by users were likely to remain unaffected.

The report listed several options to ensure the problem didn’t persist. For example, the authors suggested implementing reasonable gas limits on all transactions. That way, if any particularly expensive transactions occurred, the users would bear all the costs, ensuring exchanges remained free and clear of any charges.

In addition, exchange operators were advised to enforce both gas monitoring and rate limiting on all withdrawals. Most exchanges usually incorporate either one or the other, and neither tactic can do much on its own. Lastly, Ethereum-based contracts were told to implement gas usage restrictions when making calls to unknown addresses.

To view the full report, click here.


This article originally appeared on Bitcoin Magazine.

Similar to Notcoin - Blum - Airdrops In 2024

origin »

Ethereum (ETH) на Currencies.ru

$ 3133.09 (+0.14%)
Объем 24H $35.279b
Изменеия 24h: 0.40 %, 7d: -1.99 %
Cегодня L: $3039.69 - H: $3145.41
Капитализация $377.31b Rank 2
Цена в час новости $ 132.2 (2269.96%)

could exchanges exchange gas bug token transactions

could exchanges → Результатов: 126


Decentralized Cryptocurrency Exchange OpenRelay Takes Precautions Following Etherdelta Crackdown

OpenRelay, a major token relay service, has announced that it is taking preemptive measures to ensure that the platform is compliant with U. S. securities regulations. The company’s decision was made in response to an SEC ruling that could have devastating consequences for decentralized exchanges and their underlying services.

2018-11-13 20:25


Фото:

Experts Criticize UK MPs for Their New Proposal on Crypto Regulation

The UK MPs have fallen out of favor with crypto experts after proposing a new regulation that would see the Financial Conduct Authority (FCA) cracking down on illegal cryptocurrency activities. Some experts have weighed in on the latest developments claiming that it could damage the crypto industry and drive cryptocurrency exchanges out of the country, reported […] Experts Criticize UK MPs for Their New Proposal on Crypto Regulation was originally found on [blokt] - Blockchain, Bitcoin & Cryptocurrency News.

2018-11-1 21:29


Фото:

Crypto Platform Coinbase Secures $300 Million in Series E Funding Round

Popular cryptocurrency exchange Coinbase has raised a fresh $300 million in a Series E financing round, bringing the company valuation to $8 billion. Coinbase plans to use the funding to "accelerate the adoption of cryptocurrencies," as it plans to remain the "entry-point into crypto" for millions of investors, according to a published blog post.

2018-10-31 20:51


Фото:

ICOs Get Green Light in UAE

The United Arab Emirates is set to give the green light to ICOs for corporate financing and could have provisional regulations in place early next year. Perhaps more significantly, the country’s Securities Watchdog has revealed a co-operation with local authorities in Dubai and Abu Dhabi to create unified rules for cryptocurrency exchanges.

2018-10-9 16:08


Major Crypto Exchanges Kraken, BitMEX, and Binance Facing Shutdown According to New Report

Major cryptocurrency exchanges like Kraken, BitMEX, and Binance are all facing shutdowns, according to a new report posted online earlier today. “Coming exchange shutdowns” could affect Kraken, BitMEX, and Binance “as CFTC and SEC design regulatory actions”, writes Rogue Trader at The ICO Journal in a post from earlier today. The ICO Journal cites a […]

2018-9-29 22:26