Bitcoin
Bitcoin (BTC)
$62,189.00 -0.37362
Bitcoin price
Ethereum
Ethereum (ETH)
$3,427.54 -0.82768
Ethereum price
BNB
BNB (BNB)
$408.33 -0.86941
BNB price
Solana
Solana (SOL)
$134.62 4.90809
Solana price
XRP
XRP (XRP)
$0.5934230 -0.3458
XRP price
Shiba Inu
Shiba Inu (SHIB)
$0.0000130 -3.33272
Shiba Inu price
Pepe
Pepe (PEPE)
$0.0000031 6.29695
Pepe price
El Hippo
El Hippo (HIPP)
$0.0000000058160 0.81569
El Hippo price
Bonk
Bonk (BONK)
$0.0000226 6.67797
Bonk price
Bitcoin
Bitcoin (BTC)
$62,189.00 -0.37362
Bitcoin price
Ethereum
Ethereum (ETH)
$3,427.54 -0.82768
Ethereum price
BNB
BNB (BNB)
$408.33 -0.86941
BNB price
Solana
Solana (SOL)
$134.62 4.90809
Solana price
XRP
XRP (XRP)
$0.5934230 -0.3458
XRP price
Shiba Inu
Shiba Inu (SHIB)
$0.0000130 -3.33272
Shiba Inu price
Pepe
Pepe (PEPE)
$0.0000031 6.29695
Pepe price
El Hippo
El Hippo (HIPP)
$0.0000000058160 0.81569
El Hippo price
Bonk
Bonk (BONK)
$0.0000226 6.67797
Bonk price
Bitcoin
Bitcoin (BTC)
$62,189.00 -0.37362
Bitcoin price
Ethereum
Ethereum (ETH)
$3,427.54 -0.82768
Ethereum price
BNB
BNB (BNB)
$408.33 -0.86941
BNB price
Solana
Solana (SOL)
$134.62 4.90809
Solana price
XRP
XRP (XRP)
$0.5934230 -0.3458
XRP price
Shiba Inu
Shiba Inu (SHIB)
$0.0000130 -3.33272
Shiba Inu price
Pepe
Pepe (PEPE)
$0.0000031 6.29695
Pepe price
El Hippo
El Hippo (HIPP)
$0.0000000058160 0.81569
El Hippo price
Bonk
Bonk (BONK)
$0.0000226 6.67797
Bonk price
Bitcoin
Bitcoin (BTC)
$62,189.00 -0.37362
Bitcoin price
Ethereum
Ethereum (ETH)
$3,427.54 -0.82768
Ethereum price
BNB
BNB (BNB)
$408.33 -0.86941
BNB price
Solana
Solana (SOL)
$134.62 4.90809
Solana price
XRP
XRP (XRP)
$0.5934230 -0.3458
XRP price
Shiba Inu
Shiba Inu (SHIB)
$0.0000130 -3.33272
Shiba Inu price
Pepe
Pepe (PEPE)
$0.0000031 6.29695
Pepe price
El Hippo
El Hippo (HIPP)
$0.0000000058160 0.81569
El Hippo price
Bonk
Bonk (BONK)
$0.0000226 6.67797
Bonk price

UniSwap Universal Router was vulnerable to re-entrancy attacks

uniswap-universal-router-was-vulnerable-to-re-entrancy-attacks
Edited by
News
UniSwap Universal Router was vulnerable to re-entrancy attacks

Dedaub’s team recently disclosed a vulnerability on UniSwap contracts that could’ve endangered some users.

The UniSwap vulnerability

In a recent tweet, Dedaub disclosed that they discovered a bug on UniSwap contracts and informed them of the vulnerability. When the feedback was received, “UniSwap addressed the issue and redeployed the Universal Router smart contracts on all its chains.”

According to the Tweet by Dedaub, this vulnerability paved the way for re-entrancy attacks, which would drain users’ funds. The Dedaub team explained how an attacker/s would use this vulnerability.

The birth of this vulnerability stems back to November when UniSwap introduced its Universal Router. This router unifies NFT and ERC-20 swapping to a single swap router. The aim was to help users perform multiple actions like swapping multiple NFTs and tokens in one transaction. 

When used correctly, the Universal Router commands will send the specified amount to the specified recipient. However, if a third-party code is called during the transfer, it can re-enter the router and claim tokens in the contract. This is mainly because the Universal Router held balances between transactions. 

In their Proof-of-Concept, the Dedaub team noted that the attacker could add a SWEEP command for all tokens remaining after the initial amounts are sent. As part of the transaction, the recipient could quickly drain the entire amount.

Uniswap’s team acted fast

Dedaub’s team instantly informed the UniSwap team of the possibility of such an attack. They advised Uniswap’s team to embed a reentrancy lock in their new router before deploying. 

Uniswap dealt with the issue instantly, making the necessary adjustments before adopting the contract. Uniswap awarded the Dedaub team a $40 thousand bug bounty to show their commitment to individuals’ security. However, the Uniswap team assessed the problem as a high-impact but low-likelihood event. Hence, this could occur in very complex scenarios.

The DEX protocol UniSwap is generally familiar with re-entrancy attacks. In 2020, reports emerged that the DEX, together with Lendf.me, lost $25 million in a simple re-entrancy attack. The network has also suffered other attacks like hacking. In July 2022, hackers nabbed $8 million in ETH using a phishing attack.

Follow Us on Google News