Closed c4-bot-10 closed 3 months ago
MarioPoneder marked the issue as primary issue
MarioPoneder marked the issue as selected for report
MarioPoneder marked the issue as satisfactory
Fixed at https://github.com/BendDAO/bend-v2/commit/79c5e34248949871cae035c573ca256f3178da84.
But this finding is same with 14 (https://github.com/code-423n4/2024-07-benddao-findings/issues/14).
Thanks for pointing out the duplication!
MarioPoneder marked the issue as duplicate of #14
MarioPoneder marked the issue as not selected for report
Lines of code
https://github.com/code-423n4/2024-07-benddao/blob/117ef61967d4b318fc65170061c9577e674fffa1/src/libraries/logic/IsolateLogic.sol#L396
Vulnerability details
Vulnerability details
When the bidding ends, the user can call
isolateLiquidate()
to liquidateFrom the above code, we can see that this method does not restrict
msgSender == lastBidder
It can be called by anyone, and will result in the winner of the bid,
lastBidder
, losing the corresponding bid funds.Impact
The winner of the auction,
lastBidder
, loses the corresponding bid funds.Recommended Mitigation
Assessed type
Context