Fireblocks, UniPass Wallet tackle Ethereum ERC-4337 account abstraction vulnerability

0

[ad_1]

Cryptocurrency infrastructure firm Fireblocks has identified and assisted in tackling what it describes as the first account abstraction vulnerability within the Ethereum ecosystem.

An announcement on Oct. 26 unpacked the discovery of an ERC-4337 account abstraction vulnerability in the smart contract wallet UniPass. The two firms worked together to address the vulnerability, which was reportedly found in hundreds of mainnet wallets during a white hat hacking operation.

According to Fireblocks, the vulnerability would allow a potential attacker to carry out a full account takeover of the UniPass Wallet by manipulating Ethereum’s account abstraction process.

As per Ethereum’s developer documentation on ERC-4337, account abstraction allows for a shift in the way transactions and smart contracts are processed by the blockchain to provide flexibility and efficiency.

Related: Account abstraction will drive a billion users from Asia to Web3: Consensys exec

Conventional Ethereum transactions involve two types of accounts: externally owned accounts (EOAs) and contract accounts. EOAs are controlled by private keys and can initiate transactions, while contract accounts are controlled by the code of a smart contract. When an EOA sends a transaction to a contract account, it triggers the execution of the contract’s code.

Account abstraction introduces the idea of a meta-transaction or more generalized abstracted accounts. Abstracted accounts are not tied to a specific private key and are able to initiate transactions and interact with smart contracts, just like an EOA.

As Fireblocks explains, when an ERC-4337-compliant account executes an action, it relies on the Entrypoint contract to ensure that only signed transactions get executed. These accounts typically trust an audited single EntryPoint contract to ensure that it receives permission from the account before executing a command:

“It’s important to note that a malicious or buggy entrypoint could, in theory, skip the call to “validateUserOp” and just call the execution function directly, as the only restriction it has is that it’s called from the trusted EntryPoint.”

According to Fireblocks, the vulnerability allowed an attacker to gain control of UniPass wallets by replacing the trusted EntryPoint of the wallet. Once the account takeover was complete, an attacker would be able to access the wallet and drain its funds.

Several hundred users who had the ERC-4337 module activated in their wallets were vulnerable to the attack, which could be performed by any actor on the blockchain. The wallets in question only held small amounts of funds, and the issue has been mitigated at an early stage.

Having ascertained that the vulnerability could be exploited, Fireblocks’ research team managed to carry out a white hat operation to patch the existing vulnerabilities. This involved actually exploiting the vulnerability:

“We shared this idea with the UniPass team, who took it upon themselves to implement and run the whitehat operation.”

Ethereum co-founder Vitalik Buterin previously outlined challenges in expediting the proliferation of account abstraction functionality, which includes the need for an Ethereum Improvement Proposal (EIP) to upgrade EOAs into smart contracts and ensure the protocol works on layer-2 solutions.

Magazine: Ethereum restaking: Blockchain innovation or dangerous house of cards?

[ad_2]

Source link

Leave A Reply

Your email address will not be published.

bitcoin
Bitcoin (BTC) $ 79,657.00
ethereum
Ethereum (ETH) $ 2,452.77
tether
Tether (USDT) $ 1.00
bnb
BNB (BNB) $ 717.45
xrp
XRP (XRP) $ 1.40
usd-coin
USDC (USDC) $ 1.00
solana
Solana (SOL) $ 101.61
tron
TRON (TRX) $ 0.331269
staked-ether
Lido Staked Ether (STETH) $ 2,265.05
figure-heloc
Figure Heloc (FIGR_HELOC) $ 1.04
hyperliquid
Hyperliquid (HYPE) $ 83.91
zcash
Zcash (ZEC) $ 1,017.75
dogecoin
Dogecoin (DOGE) $ 0.084504
rain
Rain (RAIN) $ 0.016575
usds
USDS (USDS) $ 0.999964
monero
Monero (XMR) $ 514.62
wrapped-steth
Wrapped stETH (WSTETH) $ 2,779.67
chainlink
Chainlink (LINK) $ 11.61
whitebit
WhiteBIT Coin (WBT) $ 73.20
wrapped-bitcoin
Wrapped Bitcoin (WBTC) $ 76,243.00
leo-token
LEO Token (LEO) $ 9.19
binance-bridged-usdt-bnb-smart-chain
Binance Bridged USDT (BNB Smart Chain) (BSC-USD) $ 0.998762
cardano
Cardano (ADA) $ 0.211556
wrapped-beacon-eth
Wrapped Beacon ETH (WBETH) $ 2,466.93
stellar
Stellar (XLM) $ 0.179116
bitcoin-cash
Bitcoin Cash (BCH) $ 252.02
dai
Dai (DAI) $ 0.999867
wrapped-eeth
Wrapped eETH (WEETH) $ 2,465.31
ethena-usde
Ethena USDe (USDE) $ 0.999990
usd1-wlfi
USD1 (USD1) $ 0.999753
susds
sUSDS (SUSDS) $ 1.08
canton-network
Canton (CC) $ 0.105753
litecoin
Litecoin (LTC) $ 50.72
the-open-network
Gram (prev. Toncoin) (GRAM) $ 1.39
coinbase-wrapped-btc
Coinbase Wrapped BTC (CBBTC) $ 76,366.00
uniswap
Uniswap (UNI) $ 6.12
hedera-hashgraph
Hedera (HBAR) $ 0.077841
global-dollar
Global Dollar (USDG) $ 1.00
weth
WETH (WETH) $ 2,268.37
avalanche-2
Avalanche (AVAX) $ 7.36
sui
Sui (SUI) $ 0.753117
shiba-inu
Shiba Inu (SHIB) $ 0.000005
usdt0
USDT0 (USDT0) $ 0.998824
paypal-usd
PayPal USD (PYUSD) $ 1.00
blackrock-usd-institutional-digital-liquidity-fund
BlackRock USD Institutional Digital Liquidity Fund (BUIDL) $ 1.00
near
NEAR Protocol (NEAR) $ 2.10
crypto-com-chain
Cronos (CRO) $ 0.055905
tether-gold
Tether Gold (XAUT) $ 4,426.38
hashnote-usyc
Circle USYC (USYC) $ 1.14
memecore
MemeCore (M) $ 1.12
Shares