setPassword doesn't check if the caller of the function is the owner, which means that anyone can change the current password.
Loss of access to a given account/accounts which the password unlocks.
manual review
Put an 'if' statement that checks if the caller of the function is the owner, and revert if not, before setting the new password.
Anyone can call `setPassword` and set a new password contrary to the intended purpose.
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.