The BidBeasts_NFT_ERC721.sol::burn() lacks authorization checks, allowing anyone to burn the NFT of a specific owner.
Likelihood:
High
Impact:
High. Anyone can destroy a legitimate owner's NFT.
Add the following test to the BidBeastsMarketPlaceTests.sol and use the command bellow to run it:
Result:
Ensure that only the NFT's owner can burn it.
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.
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.