✅WETH-11
Idea
Function execute() allows us to do arbitrary call on behalf of the WETH11 contract:
This is RCE.
The WETH contract has 10 WETH at the beginning:
We can call transfer()
to collect all the WETH from this contract and call withdrawAll()
to burn everything and get ETH back.
PoC
Last updated