In the emarketplace every time when the user list, unlist, settle auction. The NFT will be transfered between user to protocol or protocol to user.
There is burn function in BidBeasts.sol which allows user to burn their NFT. But it should restrict to only owner of NFT. But the burn fnction is allowing anyone to burn any of the NFT
Likelihood:
While listing the NFT, attacker can burn the nft before the seller list it
Hacker can burn nft from the market it self while unlisting or setteling the auction inside the market
Impact:
High impact to user who owns the NFT
High impact to bidder who will buy the NFT
High impact to protocol it self.
The following POC is only for setteling the auction, it can be modified for another impacts.
consider only the owner of the NFT can burn it. in the way only the owner of the NFT can burn it, instead of anyone can burn it. that will make protocol safe and prevent hacker from burning the NFT.
In the BidBeasts ERC721 implementation, the burn function is publicly accessible, allowing any external user to burn NFTs they do not own. This exposes all tokens to unauthorized destruction and results in permanent asset loss.
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.