The password in PasswordStore.sol is stored in a single variable, and does not take into account multiple users, leading to password overwrites.
The function setPassword() can be called by anyone in order to overwrite the already set password variable s_password, due to the lack of access modifiers.
The password set by the user will be overwritten.
Manual Review
The line
require(msg.sender == s_owner)
could be added before the password write, either directly or as an access 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.