sherlock-audit / 2024-02-radicalxchange-judging

3 stars 1 forks source link

jah - a user can cancel his bid even if he is the highest biddeer and win without tranferring a bid #122

Closed sherlock-admin2 closed 8 months ago

sherlock-admin2 commented 8 months ago

jah

high

a user can cancel his bid even if he is the highest biddeer and win without tranferring a bid

Summary

the function _cancelAllBids misses a critical check which allows user to cancel even if they are the highest bidder

Vulnerability Detail

Manual Review

Recommendation

add the same check on the _cancelAllBids function

Duplicate of #14