An attacker can burn any BidBeasts ERC721 token. The BidBeasts::burn function does not impose any restrictions on who can burn tokens.
Likelihood:
The likelihood is high because anyone can burn any of the ERC721 BidBeasts at any time. There are no restrictions.
Impact:
The impact is also high as it could cause disruptions throughout the market.
Run this code in the test file - BidBeastsMarketPlaceTest.t.
First import
and add the following function
and run
Remove BidBeasts::burn function
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.