Since the function setPassword
states that only the owner has to be able to set a password, it would be sufficient to add onlyOwner
modifier to it.
As stated in the documentation, password should be set by owner only, so this vulnerability makes it possible to anyone to set it.
Password might be set by any user.
Manual codebase analysis.
Anyone can call `setPassword` and set a new password contrary to the intended purpose.
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.