Function setPassword() from PasswordStore smart contract doesn't have access control implemented
The comment from developer says only the owner can set a new password, but in reality anyone can execute the function with any argument
To mitigate this issue, just copy the access control code from getPassword() to setPassword() too
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.