Anyone can change the password.
setPassword
should only be callable by the owner of the contract. However the function is not protected with access-control such as a onlyOwner
modifier allowing anyone to change the password
password can be changed without the owner being aware of it.
manual review
add a onlyOwner modifier like this:
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.