BidBeasts:burn Function Lacks Access Control ModifierUnder normal circumstances, NFT burning operations should only be executable by users with specific permissions, typically the NFT owner or contract administrator.
The current burn function in the contract lacks access control, allowing any user to arbitrarily burn NFTs with any tokenId, which leads to serious permission issues.
Likelihood:
Anyone can call the burn function to destroy NFTs
This unrestricted access will be immediately exploited by malicious users
Impact:
NFT owners may lose their assets accidentally or maliciously
The overall value and credibility of the contract will be severely compromised
Add the following to BidBeastsMarketPlaceTest.t.sol:
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.