The first successful bid placed for an NFT on the BidBeastNFTMarketPlace unlists the NFT from the marketplace and sends it bidder even if the bidder might not be the highest bidder.
When the very first bidder successfully places a bid on a listed NFT, the NFT is unlisted, and bidding ends before other bidders even have a chance to bid.
Describe the normal behavior in one or more sentences
Normal expected behaviour should be the seller listing NFT on the marketplace and buyers (bidders) bidding above the minimum price until the auction ends.
Explain the specific issue or problem in one or more sentences
Bidding is prematurely terminated after the first bidder successfully bids, leading to denial of service to subsequent bidders.
Likelihood: HIGH
Reason 1: This occurs when an NFT is listed and a bidder bids above the buyNowPrice
Reason 2
Impact:
Impact 1: First bidder ends auctions even if he might not be the highest bidder, since others cannot even bid as the NFT is now unlisted.
The solidity code below shows a clear PoC for the described vulnerability:
SELLERlists NFT for sale
BIDDER_1 places a bid
NFT is unlisted
BIDDER_2 tries to place a higher bid and is denied since the NFT is no longer listed on the marketplace.
The listed field should be true since the auction has not ended, which allows other bidders to outbid the first bidder
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.