November 19, 2024
|

M2 Exchange, DCF, and Vista Finance Hit by Access Control Flaws, Price Games, and Staking Logic Gaps

M2 Exchange lost $13.7M after an attacker bypassed hot wallet access controls in a closed-source CEX environment. DCF token saw $442K drained through a classic burn-based price manipulation exploit. Vista Finance suffered a $29K loss when its staking logic failed to restrict token usage, allowing a flash loan attacker to burn and mint tokens for profit.

In Brief

  • DCF Token suffered a $442K price manipulation attack.
  • M2 Exchange’s access control vulnerability resulted in a $13.7M loss.
  • Vista Finance’s faulty staking logic resulted in a $29K loss.

Hacks Analysis

DCF Token | Amount Lost: $442K

On November 24th, the DCF token exploit on the BNB chain resulted in a $442K loss due to a price manipulation attack. The root cause of the exploit was that the attacker was able to burn the DCF tokens by using the private _transfer() function reducing the total supply and artificially increasing the token price. The attacker then sold the DCF tokens at the manipulated higher price for profit.

Exploited Contract (on BNB): 0xa7e92345ddf541aa5cf60fee2a0e721c50ca1adb

Transaction Hash: 0xb375932951c271606360b6bf4287d080c5601f4f59452b0484ea6c856defd6fd

M2 Exchange | Amount Lost: $13.7M

On October 31st, the M2 Exchange, a centralized exchange (CEX) with a closed-source system, suffered an exploit across multiple chains, resulting in a $13.7M loss. The root cause of the exploit was an access control vulnerability in M2 Exchange’s hot wallet system. The attacker bypassed authorization checks, gaining unauthorized access to customer funds. They quickly drained assets, swapping SHIBA and USDT for ETH. The M2 Exchange acknowledged the incident and recovered part of the stolen funds.

Press enter or click to view image in full size

Compromised M2 Hot Wallet: 0xe26abc37b06b819243b4b104270cc18f7c835fce

One of the Exploited Contracts (SHIB Contract): 0x95aD61b0a150d79219dCF64E1E6Cc01f0B64C4cE

Transaction Hash: 0x92bd9992beeba1abac757bfdbc79e18a92b6df8acb2afa91ee2dc73120d0bf25

Vista Finance | Amount Lost: $29K

On October 21st, the Vista Finance exploit on the BNB chain resulted in a $29,000 loss due to a flaw in its token contract. The root cause of the exploit was an error in the staking logic. The staking system did not transfer tokens to a separate contract but instead tracked balances locally. The _burn function, used in flash loans, bypassed staking restrictions by subtracting directly from the total balance instead of checking unstaked tokens. The attacker used a flash loan to mint and burn tokens while profiting from token sales. The exploit leveraged this logic gap to enable unauthorized token usage.

Press enter or click to view image in full size
Press enter or click to view image in full size

Exploited Contract (on BNB): 0x493361D6164093936c86Dcb35Ad03b4C0D032076

Transaction Hash: 0x84c385aab658d86b64e132e8db0c092756d5a9331a1131bf05f8214d08efba56

What’s a Rich Text element?

The rich text element allows you to create and format headings, paragraphs, blockquotes, images, and video all in one place instead of having to add and format them individually. Just double-click and easily create content.

A rich text element can be used with static or dynamic content. For static content, just drop it into any page and begin editing. For dynamic content, add a rich text field to any collection and then connect a rich text element to that field in the settings panel. Voila!

Headings, paragraphs, blockquotes, figures, images, and figure captions can all be styled after a class is added to the rich text element using the "When inside of" nested selector system.

  1. Follow-up: Conduct a follow-up review to ensure that the remediation steps were effective and that the smart contract is now secure.
  2. Follow-up: Conduct a follow-up review to ensure that the remediation steps were effective and that the smart contract is now secure.

In Brief

  • Remitano suffered a $2.7M loss due to a private key compromise.
  • GAMBL’s recommendation system was exploited.
  • DAppSocial lost $530K due to a logic vulnerability.
  • Rocketswap’s private keys were inadvertently deployed on the server.

Hacks

Hacks Analysis

Huobi  |  Amount Lost: $8M

On September 24th, the Huobi Global exploit on the Ethereum Mainnet resulted in a $8 million loss due to the compromise of private keys. The attacker executed the attack in a single transaction by sending 4,999 ETH to a malicious contract. The attacker then created a second malicious contract and transferred 1,001 ETH to this new contract. Huobi has since confirmed that they have identified the attacker and has extended an offer of a 5% white hat bounty reward if the funds are returned to the exchange.

Exploit Contract: 0x2abc22eb9a09ebbe7b41737ccde147f586efeb6a

Ready to Shift Security Assurance In-House? Talk to Our Security Experts Today.