The GivingThanks::updateRegistry function allows anyone to assign any address to the registry because the onlyOwner modifier is not used.
Due to the lack of access control in GivingThanks::updateRegistry anyone can assign any address to registry, opening the door to linking a malicious contract controlled by an attacker.
Allows to redirect donations to addresses controlled by an attacker.
Foundry, Remix
Restrict access to the GivingThanks::updateRegistry function using the onlyOwner modifier.
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.