The setPassword
function has no access restrictions, so anyone can change the password.
The setPassword
function’s comment says that only owner can set the password. However, there is no access control on the function, so anyone can call it and change the password.
Anyone can change the password.
Manual Review
Add access restrictions.
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.