setPassword
lacks an access control check, allowing anyone to set a new password
The setPassword
is intended to allow only the owner to set a new password.
However, there is no access control check implemented in the function. Anyone can call this function and set a new password for the contract.
Everyone can set a new password.
Manual Review.
It should include an access control check within the setPassword function.
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.