The setPassword() function does not have access control
As the comment above the function says, only the owner can call the setPassword() function. However, the access control for it is missing and everyone can set a new password
High
Manual review
Add an access control check, just as getPassword() function does:
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.