Security

Hacker drains $1.4 million worth of ETH from NFT lender Omni

Earn money with the top Binance exchange

Omni, a non-fungible token (NFT) money market platform, was drained of about 1,300 ETH ($1.43 million) in a flash loan reentrancy attack on Sunday, according to PeckShield.

Omni allows users to stake their NFTs, usually from popular collections like Bored Ape Yacht Club, to receive tokens like ether (ETH). 

Today’s attack saw the hacker exploit a reentrancy vulnerability in the Omni protocol. Reentrancy is a known vulnerability in projects coded with Solidity that allows a rogue actor to force its smart contract to make an external call to an untrusted contract. This external call is executed before the original function and can thus be used to repeatedly re-enter the protocol to drain its liquidity.

Yajin Zhou, CEO of blockchain security company BlockSec, explained the process of the exploit to The Block, saying that the attacker deposited NFTs from a collection called Doodles. These NFTs were used as collateral to borrow wrapped ETH (WETH).

The attacker then exploited the reentrancy vulnerability by withdrawing all but one of the NFTs deposited as collateral. This action triggered a malicious callback function to the benefit of the attacker. This function allowed the hacker to use the borrowed funds to buy even more Doodles before liquidating the loan position.

Once the position is liquidated, the remaining Doodle NFT from the original collateral is returned back to the attacker. The loan position is liquidated because the value of the NFT that was initially left as collateral before the callback function was invoked was not sufficient to cover the debt position. This is where the reentrancy comes in, as the attacker is able to force through using the borrowed WETH to buy more NFTs before the liquidation occurs.

The attacker then used the Doodles acquired with the initial loan as collateral to borrow more WETH. Omni, however, did not recognize this new debt position, so the hacker could withdraw the NFTs without paying back the loan.

The attack drained more than 1,300 WETH ($1.4 million) from the protocol. Omni said that the exploit did not affect any customer funds as only internal testing funds were impacted, since the platform is still in beta testing mode.

The NFT money market platform said that it has paused the protocol pending a complete investigation. Data from Etherscan shows the exploiter has already laundered the funds via Tornado Cash, a coin mixing service for private transactions on Ethereum.

   
Source

Показать больше

Добавить комментарий

Кнопка «Наверх»
  • bitcoinBitcoin (BTC) $ 19,695.53 1.95%
  • ethereumEthereum (ETH) $ 1,463.00 9.19%
  • tetherTether (USDT) $ 0.998852 0%
  • cardanoCardano (ADA) $ 0.463953 2.01%
  • dogecoinDogecoin (DOGE) $ 0.059356 1.73%
  • daiDai (DAI) $ 0.997420 0.02%
  • matic-networkPolygon (MATIC) $ 0.810928 5.62%
  • tronTRON (TRX) $ 0.061256 0.5%
  • ethereum-classicEthereum Classic (ETC) $ 34.19 9.38%
  • leo-tokenLEO Token (LEO) $ 4.85 4.96%
  • cosmosCosmos Hub (ATOM) $ 14.81 1.89%
  • litecoinLitecoin (LTC) $ 55.18 7.85%
  • okbOKB (OKB) $ 15.21 0.87%
  • chainlinkChainlink (LINK) $ 7.56 3.28%
  • ftx-tokenFTX (FTT) $ 24.12 2.56%
  • crypto-com-chainCronos (CRO) $ 0.105638 3.87%
  • moneroMonero (XMR) $ 145.52 2.96%
  • stellarStellar (XLM) $ 0.102302 2.19%
  • bitcoin-cashBitcoin Cash (BCH) $ 117.26 1.62%
  • algorandAlgorand (ALGO) $ 0.297125 0.19%
  • vechainVeChain (VET) $ 0.023317 1.62%
  • eosEOS (EOS) $ 1.41 3.07%
  • hedera-hashgraphHedera (HBAR) $ 0.061244 1.7%
  • tezosTezos (XTZ) $ 1.53 2.24%
  • theta-tokenTheta Network (THETA) $ 1.08 1.65%
  • kucoin-sharesKuCoin (KCS) $ 9.12 2.5%
  • zcashZcash (ZEC) $ 58.11 4.57%
  • iotaIOTA (MIOTA) $ 0.261447 2.15%
  • huobi-tokenHuobi (HT) $ 4.59 0.67%
  • neoNEO (NEO) $ 8.99 0.15%
  • havvenSynthetix Network (SNX) $ 2.59 3.08%
  • ravencoinRavencoin (RVN) $ 0.052831 18.14%
  • gatechain-tokenGate (GT) $ 4.22 2.59%
  • makerMaker (MKR) $ 662.43 4.89%
  • zilliqaZilliqa (ZIL) $ 0.033755 1.91%
  • enjincoinEnjin Coin (ENJ) $ 0.488419 1.85%
  • dashDash (DASH) $ 43.98 1.47%
  • basic-attention-tokenBasic Attention (BAT) $ 0.315164 1.72%
  • blockstackStacks (STX) $ 0.344352 1.35%
  • wavesWaves (WAVES) $ 4.23 2.89%
  • bitcoin-goldBitcoin Gold (BTG) $ 22.92 4.07%
  • nemNEM (XEM) $ 0.041493 1.9%
  • decredDecred (DCR) $ 25.87 4.97%
  • holotokenHolo (HOT) $ 0.002054 0.65%
  • qtumQtum (QTUM) $ 2.96 2.58%
  • omisegoOMG Network (OMG) $ 1.72 4.11%
  • 0x0x (ZRX) $ 0.282765 2.13%
  • hiveHive (HIVE) $ 0.546609 0.42%
  • iconICON (ICX) $ 0.255328 2.08%
  • ontologyOntology (ONT) $ 0.226399 2.02%
  • siacoinSiacoin (SC) $ 0.003769 1.98%
  • digibyteDigiByte (DGB) $ 0.009720 2.74%
  • liskLisk (LSK) $ 0.993112 0.55%
  • republic-protocolREN (REN) $ 0.111795 5.15%
  • statusStatus (SNT) $ 0.027967 5.6%
  • nanoNano (XNO) $ 0.822633 5.08%
  • numeraireNumeraire (NMR) $ 16.30 3.52%
  • steemSteem (STEEM) $ 0.220324 0.63%
  • augurAugur (REP) $ 7.42 0.81%
  • kyber-networkKyber Network Crystal Legacy (KNCL) $ 1.95 0.08%
  • bitcoin-diamondBitcoin Diamond (BCD) $ 0.169785 2.95%
  • ethlendAave [OLD] (LEND) $ 0.780357 5.07%
  • bytomBytom (BTM) $ 0.009625 3.61%
  • energiEnergi (NRG) $ 0.196020 13.41%
%d такие блоггеры, как: