Lack of access control in GivingThanks.sol#updateRegistry allows anyone to update registry address.
GivingThanks.sol#updateRegistry is public function with lack of access control which allows anyone to update the value of registry
variable.
Anyone can update the address of registry. By doing so they can set a malicious contract as registry which on calling registry.isVerified(charity)
will always returns true and make any charity eligible to earn donations.
Manual Review
Make the updateRegistry function only callable by the owner. For this these changes should be made:
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.