Euler Finance blocks vulnerable module, working on recovering funds

Decentralized lending (DeFi) protocol Euler Finance fell victim to a loan lightning attack on March 13, resulting in the biggest crypto hack of 2023 to date. The credit protocol lost nearly $197 million in the attack and over 11 other DeFi protocols were also affected.

On March 14, Euler came out with an update on the situation and notified users that they had disabled the vulnerable etoken module to block vulnerable deposits and donation functions.

The company said it worked with various security groups to conduct audits of the protocol, and that vulnerable code was reviewed and approved during external audits. The vulnerability was not discovered as part of the audit.

The vulnerability remained in place for eight months until it was exploited, despite a $1 million bug bounty.

Sherlock, an audit group that has been working with Euler Finance for months, verified the root cause of the exploit and helped Euler submit a statement. The audit protocol then selected a claim for $4.5 million, which passed, and then paid $3.3 million on March 14.

In the analysis report, the audit group noted an important factor for exploitation: missing health checks in “donateToReserves,” a new function added to EIP-14. However, the protocol confirms that such an attack is still technically possible even before EIP-14.

Related: More than 280 blockchains at risk of ‘zero-day’ exploits, warns security firm

Sherlock noted that Euler’s audit by WatchPug in July 2022 missed a critical vulnerability that ultimately led to the March 2023 exploit.

Euler has also reached out to on-chain analytics companies and blockchain security companies, such as TRM Labs, Chainalysis and the broader ETH security community, in an effort to help investigate and recover funds.

Euler said he is also trying to contact those responsible for the attack to find out more about the problem and possibly negotiate a reward for the return of the stolen funds.