The setPassword()
function is permissionless and can be called by anyone
The password that should only be updatable by the owner can be updated by anyone
The fundamental logic of the contract breaks since anyone can change the password
Manual review
Add access control to setPassword()
. It can be as simple as a onlyOwner modifier.
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.