According to the NatSpec of the function PasswordStore::setPassword:
This function allows only the owner to set a new password.
But it's not enforced in any way.
The function is accessible by anyone due to the external visibility specifier and doesn't implement any form of access control check to validate only the owner is allowed to set a new password.
Foundry and VS Studio Code.
Implement an access control check to validate only the owner can access the 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.