Access Control has not been implemented for the GivingThanks::updateRegistry()
function. This lets anyone being able to call this function.
Any malicious user could call the updateRegistry()
function and change the registry contract.
This would add another contract as the registry which the user has created. The protocol would not behave as expected. Also, the user may be able to steal charity donations with updated logic.
Manual
Add a check to ensure only the admin can call this function.
Likelyhood: High, anyone can change it at anytime Impact: High, can bypass the verification process
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.