BidBeasts_NFT_ERC721::burn Allows Anyone To Burn NFT TokensThe burn function in BidBeasts_NFT_ERC721 allows anyone to burn NFT tokens without performing checks to verify that the caller is the owner of the NFT. This can lead to huge financial losses for the NFT owners.
Likelihood:
There's a high likelihood of this happening since the burn function is a public function allowing anyone to call it
Impact:
Malicious actors can permanently destroy valuable NFTs belonging to other users, resulting in financial loss.
Let BidBeasts_NFT_ERC721 inherit the ERC721Burnable from the OpenZeppelin Contracts, which implements the access control for burning tokens.
And also implement on the burn function by modifying to this
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.