Anyone can set password using the function setPassword as its access control is not restricted to onwer.
Function setPassword should allow only owner to set new password, but lack of access control allows anyone to set it.
Password stored by owner can be lost.
Manual Review
Restrict access of setPassword to owner only.
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.