You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The transferExcess has a flaw which allows an attacker to exploit excess funds multiple times. There needs to be a modifier and state change that checks if excess funds have been withdrawn.
The
transferExcess
has a flaw which allows an attacker to exploit excess funds multiple times. There needs to be a modifier and state change that checks if excess funds have been withdrawn.Steps to reproduce:
Create Market
Lend 10Ξ Account 0
Borrow 5Ξ Account 1
Withdraw 5Ξ Account 1
Repay 5Ξ Account 1
Collect 5Ξ Account 0
Transfer Excess 5Ξ Account 0
Transfer Excess 5Ξ Account 0
The text was updated successfully, but these errors were encountered: