RAMNFT::mintRamNFT
functionDescription:
The Dussehra
contract is designed to manage event participation and ensure that users pay an entrancefee
to join. Upon successful payment, participants should be able to mint a Ram NFT, symbolizing their participation and eligibility for rewards. However, the current implementation of the RamNFT contract allows the mintRamNFT
function to be called directly, bypassing the need to go through the enterPeopleWhoLikeRam
function in the Dussehra
contract.Allowing Anyone To claim the event's unique NFTs Without Paying anything
Impact:
Anyone Can Claim the Event's NFTs Without Particpating in the event and payFees.
Proof of Concept:
Use the Following PoC in Dusserha.t.sol
Recommended Mitigation:
use Access control in RamNFT::mintRamNFT
function.which allow calls from Dusserha
contract only
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.