Kava Lend attack results in $3.8M loss; vulnerability and funds tracked

iconMetaEra
Share
AI summary iconSummary
Kava Lend suffered a $3.8 million exploit on November 14 after an attacker exploited a vulnerability in the supply interest and liquidation system. The attacker manipulated deposit values to borrow 55 million KAVA, then transferred the funds via LayerZero to the BNB Chain and converted them to ETH. Beosin tracked the involved addresses and is continuing to monitor them. With the Fear & Greed Index signaling caution, altcoins under scrutiny may face renewed pressure due to such exploits.
On November 14, Kava Lend, the native lending protocol on the Kava chain, was attacked. The attacker exploited the lending module’s supply calculation and liquidation mechanism to borrow a total of 55,205,050.601443 KAVA, valued at approximately $3.8 million.

Article author and source: Beosin

Loss of approximately $3.8 million: Kava Lend vulnerability analysis and stolen funds tracking

On November 14, Kava Lend, the native lending protocol on the Kava chain, was attacked. The attacker exploited the lending module’s supply calculation and liquidation mechanisms to borrow a total of 55,205,050.601443 KAVA (valued at approximately $3.8 million). Beosin’s analysis of this attack is as follows:

I. Vulnerability Analysis

To understand this attack, it is important to distinguish three key concepts of Kava Lend:

The vulnerable source code is as follows:

func CalculateSupplyInterestFactor(newInterest, cash, borrows, reserves sdk.Dec) sdk.Dec {

When total supply is a very small positive number, even a small amount of interest can generate an enormous growth factor. Therefore, an attacker only needs to exploit the chain of events—minimal net supply → abnormal interest growth factor → surge in global supply index → inflation of user deposit claims—to create massive fictitious claims and lend out far more funds than they have deposited.

II. Attack Process Analysis

(1) The attacker submitted 37 MsgRepay messages in a single transaction using the main wallet kava1uzx5924cqsutcw365ajs8kkc3rr4vtlyzms255, repaying all outstanding loans in the BUSD market at that time.

(2) Subsequently, the main wallet sequentially executed a deposit of 3,801.60356061 BUSD, a loan of 1,267.20118686 BUSD, and a withdrawal of 1,267.20118686 BUSD in a single transaction, netting the supply used for interest distribution to 0.00000002 BUSD.

https://wdcdn.qpic.cn/MTMxMDI3MDE1MTgxMDU0NzA_759732_NtO1Z1agc2UtXbin_1795395691?w=1080&h=343

(3) The BUSD supply interest index rose from approximately 2.76 to 671,186.99, an increase of about 243,000 times. As a result, the BUSD deposits originally held in the main wallet were updated to a book value of approximately 1.25449 billion BUSD. The attacker deposited BUSD into the main wallet and withdrew excess BUSD funds to profit.

https://wdcdn.qpic.cn/MTMxMDI3MDE1MTgxMDU0NzA_647851_fuwukj_8-qs_Y-Ud_1795395691?w=1080&h=297

(4) The attacker used the second wallet, kava1v2s266sll8ca5xrs06swmsc00nwwt7u77eufk4, to borrow KAVA using BUSD, and through multiple rounds of borrowing and liquidations, ultimately extracted approximately 55.2 million KAVA.

III. Tracking Stolen Funds

According to Beosin Trace analysis, after the attacker transferred the stolen KAVA back to their main wallet, they used LayerZero to bridge it to BNB Chain and sold it. The majority of the stolen funds were transferred to the BNB Chain address 0x37d732914f86cc6eb1e87419e3046a739f011042.

https://wdcdn.qpic.cn/MTMxMDI3MDE1MTgxMDU0NzA_809082_mrCGigft1XIOdqSU_1795395691?w=1080&h=504

After converting the funds to BNB, the attacker used the cross-chain protocols Li.Fi and Chainflip to exchange BNB for ETH on the Ethereum network, totaling 384.72 ETH.

Subsequently, the attacker dispersed the funds across multiple addresses, used Across to transfer the majority of ETH to Arbitrum, then swapped the ETH for USDC, and finally transferred it to Hyperliquid. The addresses associated with the attacker have been flagged, and Beosin Trace will continue monitoring all movements of the stolen funds.

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.