Satoshi BrotherYour brother in the market
EN

$38,200 Stolen from Curve Finance DAO After Exploit of Fee-Burning Contract

Curve Finance's $38,200 loss stems from a signature flaw in its fee-burning contract, allowing fraudulent orders despite checks. No user funds were affected.

$38,200 Stolen from Curve Finance DAO After Exploit of Fee-Burning Contract

Exploit on Curve Finance

An exploit on Curve Finance resulted in the theft of approximately $38,200 from the decentralized autonomous organization's (DAO) fee-burning contract on Ethereum, an event that took place on November 10. This incident saw an attacker manage to submit falsified orders that were supposed to be rejected by the contract, leading to the unauthorized draining of DAO revenue, rather than funds from users. Curve has confirmed that their liquidity pools, lending markets, and the crvUSD stablecoin were not implicated in the breach.

Details of the Attack

The affected burner was designed to facilitate the conversion of admin fees to DAO revenue utilizing conditional orders via the CoW Protocol. This system is relatively new, having replaced a previous model with fixed routes, and is currently only deployed on the Ethereum and Gnosis blockchains as CoW Protocol functions exclusively on these platforms. Before the attack, the burner had successfully processed 6,420 orders and generated around 20.5 million crvUSD for the DAO. Out of a total of 6,558 processed orders, only 138 were flagged as fraudulent—orders that did not reach the DAO's FeeCollector due to the exploit.

Analysis from Curve pinpointed the vulnerability to a flaw within the contract's 'isValidSignature' function, which failed to adequately verify that the orders corresponded with their hashed counterparts, allowing the perpetrator to submit 138 fictitious orders that redirected funds to the attacker’s single wallet address. Experts at DefiLlama identified the type of exploit as stemming from an "Input Validation" issue centering on a "Signature Verification Flaw." The attacker's address had received funding days prior to the assault, and a brisk pace was maintained, with 133 of the forged orders being processed in under 20 minutes.

Impact and Response

Curve's accounting reflects the incident as separate from regular revenue streams, as the assault primarily affected accumulated fees totaling $38,200, which were below the 500 crvUSD minimum required for most transactions handled by the burner. Nonetheless, the typical weekly revenue flow continued uninterrupted, generating 97,317.74 crvUSD for the DAO during the same period. Curve emphasized that user funds remained secure and the breached system only held previously collected administrative fees.

After the attack was detected, Curve swiftly acted by halting fee collection procedures on their Ethereum FeeCollector at 13:59 UTC the same day, and followed suit on Arbitrum and Base later for precautionary measures. Fortunately, no forged orders were discovered on these latter platforms. Subsequently, an Emergency DAO meeting led to the decision to recover existing tokens from the old burners on the Ethereum, Base, and Arbitrum networks. Current deliberations include DAO vote 1524, which will conclude on November 20, proposing the adoption of a new burner that employs a descending-price auction mechanism while ensuring order integrity through matching checks of provided hashes. As of now, the vote's status remains unclear, as some technical issues have prevented further visibility into its performance.

Historical Context and Future Outlook

This incident follows a previous exploitation of Curve Finance, dating back to July 30, 2023, where around $61.7 million was siphoned from multiple Curve pools due to a vulnerability in the Vyper compiler, with notable portions of that loss later recovered. The smaller figure from November stands in stark contrast but nonetheless underscores the ongoing security challenges faced by DeFi platforms. Acknowledging the public nature of the CowSwapBurner code, Curve has alerted operators of other systems based on this code about the exploit, anticipating proactive measures in response. The coming days will be critical for Curve holders, as they await the outcome of the vote on the future of their fee-burning architecture.

Also in other languages: РусскийDeutschFrançaisItalianoEspañol

Editorial & AI policy · Contact