Lucene search
+L

2 matches found

Code423n4
Code423n4
added 2022/11/14 12:00 a.m.12 views

Attacker can spoof remainingETH and double-spend their input ETH to Exchange

Lines of code Vulnerability details Description remainingETH is an important state variable in Exchange.sol, which keeps track of how many ETH have yet to be used as payment from the current msg.value. The setupExecution modifier sets the value before and after execution: modifier setupExecution...

6.9AI score
SaveExploits0
Code423n4
Code423n4
added 2022/11/14 12:00 a.m.11 views

_returnDust may sweep more eth than it is entitled to

Lines of code Vulnerability details Impact returnDust instead of returning the rightful remainingETH amount, it returns selfbalance. If eth gets into the contract somehow, it can be swept by anyone, who passes in some eth through bulkExecute, even with empty executions parameter. Proof of Concept...

6.8AI score
SaveExploits0
Rows per page
Query Builder