DeFi

Amber Group: Vulnerability In Mai Finance’s Vault Has Been Fixed

Key Points:

  • On October 18, 2022, two vaults belonging to Mai Finance (SCSEMVT and YCSEMVT) contained a significant vulnerability, according to a statement from Amber Group’s blockchain security team.
  • Due to this flaw, an attacker might manipulate the price of the collateral, take out the whole amount from the pool, and escape with bad debts.
  • On October 19, Amber Group approached the QiDao team. On October 20, the QiDao team launched a fresh Oracle contract after confirming the problem and developing a solution.
On October 18, 2022, two of Mai Finance’s vaults (SCSEMVT and YCSEMVT) included a significant vulnerability that was found by Amber Group’s blockchain security team. Due to this flaw, an attacker might manipulate the price of the collateral, take out the whole amount from the pool, and escape with bad debts.

Users may borrow stablecoin (MAI) at 0% interest through Mai Finance, a zero-interest lending system. Anyone may establish QiDao vaults and put down assets to be used as security for loans.

With the overcollateralized stablecoin system known as Mai, loans are always secured by having more value locked than the debt.

ChainSecurity revealed a new type of reentrancy flaw in Curve in the middle of October 2022. The so-called read-only reentrancy vulnerability enables an attacker to revisit the get virtual price() oracle function through a carefully written smart contract and obtain an inflated LP token price in return, opening the door for criminals to benefit.

Amber Group: Vulnerability In Mai Finance’s Vault Has Been Fixed 4

To get the price of an LP token produced from the pegged assets of a stable swap pool, a lending protocol linked with Curve LPs often employs the oracle function offered by Curve and named get virtual price().

For the time being, the attacker is free to alter the execution flow any way they choose. What happens if the attacker calls get virtual price() once more in the fallback function’s initial line? The virtual price increases when the quantity of Curve LP tokens is reduced, and the balances are not updated. Then, another batch of underlying assets might be removed, or even some pools could be drained using the manipulated pricing.

The QiDao’s YCSEMVT vault modified get virtual price() as one of the sources to estimate the collateral price as a result of becoming one of the targets of the new read-only reentrancy attack.

On October 19, Amber Group approached the QiDao team. On October 20, the QiDao team launched a fresh Oracle contract after confirming the problem and developing a remedy.

On October 24, the same vulnerability was exploited on Polygon, but it was not related to QiDao.

DISCLAIMER: The Information on this website is provided as general market commentary and does not constitute investment advice. We encourage you to do your own research before investing.

Join us to keep track of news: https://linktr.ee/coincu

Website: coincu.com

Harold

Coincu News

Harold

With a passion for untangling the complexities of the financial world, I've spent over four years in financial journalism, covering everything from traditional equities to the cutting edge of venture capital. "The financial markets are a fascinating puzzle," I often say, "and I love helping people make sense of them." That's what drives me to bring clear and insightful financial journalism to the readers of Coincu.

Recent Posts

Solana DEX Trading Volume Hits $5B Daily for Three Straight Days

Solana DEX trading volume reached historic highs, exceeding $5 billion daily for three days. Raydium…

53 minutes ago

Phantom iOS Users Lost Recovery Phrase After Updating to New Version

Phantom iOS users are warned that a recent app update caused some users to log…

1 hour ago

Japanese Crypto Exchange Coincheck Gets Approval to Launch in the US

Japanese crypto exchange Coincheck is set to become the first Japanese crypto exchange to list…

2 hours ago

DOJ Investigates Polymarket for Alleged Illegal US User Bets

The US DOJ investigates Polymarket for Alleged Illegal US User Bets Polymarket, for allegedly permitting…

3 hours ago

Get Ready for a New Level of Excitement If You Missed Ethereum ICO: Qubetics Could Redefine Success

Ethereum’s ICO was priced at around $0.30 per token, and today, it’s valued in the…

3 hours ago

A Missed Moment with Cardano? Here’s Why Qubetics at $0.0212 Could Be Your Perfect Timing – Explore the Best Crypto to Join Now

If you’ve been regretting missing out on Cardano, Qubetics ($TICS) might just be the ticket…

4 hours ago

This website uses cookies.