IMPACT:High
Likelihood:high/medium
The isVerified
function checks if a charity is registered instead of verified, this function is later used in GivingThanks::donate
to check if the charity has been verified. Causing that people can donate funds to an unverified charity while they think it is verified.
found in line 24 in CharityRegistry.sol
and in following code you can see how donate uses this to check if its verified
All registered charities show up as verified, causing that donators think a charity is verified while it actually isnt, this is a severe mistake in the functionality of the protocol
Manual review
check if it is verified instead of registered in theisVerified
function
Likelyhood: High, the function returns registered charities instead of verified ones. Impact: High, Any charities can be registered by anyone and will be declared as verified by this function bypassing verification.
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.