BonfireSwap Router Vulnerability Results in $50K Loss, Affecting 41 Users

icon MarsBit
Share
AI summary iconSummary
A smart contract vulnerability incident affected BonfireSwap, resulting in the router contract losing $50,000 due to missing access control in the transfer function. Attackers exploited this flaw to drain tokens from 41 users who had previously approved the router. The vulnerable contract address is 0x17e801e17cefc6334059189c178d4783830e03d3. This incident underscores the importance of implementing stronger security measures in DeFi protocols.

Huo Xing Finance reports that, according to the SlowMist Security Team, the BonfireSwap router contract suffered a loss of approximately $50,000 due to a missing access control in the transfer function. The function did not verify whether the caller was the "from" address or whether the caller had been authorized by the "from" address to transfer its assets. As a result, attackers could set pre-authorized users as the "from" address and themselves as the "to" address, thereby transferring the victims' tokens and exchanging them through the same token pool. SlowMist stated that a total of 41 TOKEN holders who had previously authorized this router were affected. The vulnerable contract address is 0x17e801e17cefc6334059189c178d4783830e03d3.

Disclaimer: The information on this page may have been obtained from third parties and does not necessarily reflect the views or opinions of KuCoin. This content is provided for general informational purposes only, without any representation or warranty of any kind, nor shall it be construed as financial or investment advice. KuCoin shall not be liable for any errors or omissions, or for any outcomes resulting from the use of this information. Investments in digital assets can be risky. Please carefully evaluate the risks of a product and your risk tolerance based on your own financial circumstances. For more information, please refer to our Terms of Use and Risk Disclosure.