Anyone can change the password by calling the function PasswordStore.sol/setPassword(string memory newPassword).
The function setPassword(string memory newPassword) has no code for access control for only owner to set the new password.
The password is changed and the information stored by the owner is lost.
Manual Review
The function should also contain the code for validating the msg.sender.
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.