function updateRegistry() has no access controls allowing anyone to change the address of registry and change the logic of CharityRegistry.sol. An attacker can deploy an arbitrary contract with different logic, i.e changing function isVerified whereby the attacker transfers the donated ether to themselves.
This function allows anyone to call it and update registry to an arbitrary contract which could literally do anything like stealing donors funds.
Stealing of donors funds.
Manual review.
Add access control mechanism(s) to function updateRegistry(), e.g a 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.