BidBeastsNFTMarketPlace::withdrawFailedCredits Allows Anyone To Withdraw Another User's Failed CreditsThe BidBeastsNFTMarketPlace::withdrawFailedCredits function allows users with failed credits to withdraw them but the function doesn't have any checks to confirm if the person calling this function is the msg.sender or not, allowing anyone to withdraw another user's failed credits.
Likelihood:
The withdrawFailedCredits is an external function allowing anyone to call it, and since it doesn't have any checks to confirm if the individual calling it is the msg.sender calling the function, allowing anyone to drain another user of their credits.
Impact:
Loss of funds for users
The function should check if the person calling the function is the msg.sender, if not it should revert
withdrawAllFailedCredits allows any user to withdraw another account’s failed transfer credits due to improper use of msg.sender instead of _receiver for balance reset and transfer.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.