Early warning: wavefield dapp may become a new target for hackers

Early warning: wavefield dapp may become a new target for hackers

Wavefield DApp tronbank was attacked by a counterfeit currency at 1 am on April 11. On the morning of the 11th, the Beosin Chengdu Chain Security technical team made a preliminary analysis to determine that the main reason for the counterfeit currency attack was that the contract did not strictly verify the unique identifier token ID of the token, and incorrectly identified the attacker’s own valueless token as The BTT token worth 850,000 yuan caused losses. When checking other open source project code on Github, I found that there are other project parties with this security issue: the following is the problematic contract address: TF3YXXXXXXXXXXXXXXXXXXXXXXXWt3hx; TKHNXXXXXXXXXXXXXXXXXXXXXXXAEzx5;

TK8NXXXXXXXXXXXXXXXXXXXXXXXZkQy;

TUvUXXXXXXXXXXXXXXXXXXXXXXXxLETV;

TG17XXXXXXXXXXXXXXXXXXXXXXXkQ9i.

According to the analysis of the Beosin Chengdu Chain Security technical team, there are two reasons for the above problems: 1) The developer's research on the use mechanism of the wave field token is insufficient, and the use of the tokens in Ethereum may be applied; 2) The attacker The attack mode that exists on other public links, such as the counterfeit currency attack mode that EOS already exists. Remedy: In this regard, the Beosin Chengdu Chain Security technical team suggested that the project side should simultaneously determine whether msg.tokenvalue and msg.tokenid meet expectations when receiving the replacement currency. And give the vulnerability code repair method, as follows: Invest function to increase the code; require (msg.tokenid == 1002000); require (msg.tokenvalue >= minimum); minimum is the minimum investment amount.

We will continue to update Blocking; if you have any questions or suggestions, please contact us!

Share:

Was this article helpful?

93 out of 132 found this helpful

Discover more

Blockchain

"Reverse refers to the king" Goldman Sachs strongly bullish bitcoin, the letter still does not believe?

Recently, although Bitcoin has come out of the callback, Goldman Sachs, the world's leading investment bank, has...

Blockchain

Bitcoin's biggest benefit this year - Bakkt

Bakkt may be the biggest benefit of the year. (although everyone said so last year) People always underestimate some ...

Blockchain

Member of Parliament: For innovations such as Bitcoin, the United States should give "yes" by default.

Congressman Patrick McHenry of the 10th District of North Carolina said he hopes the regulator's default respons...

Blockchain

CITIC Construction Investment Securities: Bitcoin and "Blockchain + Gold" Possibility

Source of this article: CITIC Securities Research Author: CBM Comprehensive Utilization Qin source Summary Bitcoin an...

Market

The number of BTC daily active addresses once again exceeded 1 million. The last time, BTC rose to 20,000 US dollars.

The number of active addresses on the Bitcoin blockchain has recently exceeded one million, and has reached this numb...

Blockchain

Analysis: Risks and Opportunities for Dual Currency Contracts (quanto)

Author: Su Zhu Translation: Zoe Zhou Source: Crypto Valley A dual currency contract (quanto) is a derivative in which...