Anyone can retrieve the password set by someone
The smart contract has an access control vulnerability. Indeed, everyone is able to retrieve the password stored by a user. Here is the proof of concept :
Deploy the contract and set a password with Remix IDE
Take the transaction hash and search it on etherscan
We can retrieve the password on Overview -> More Details -> Input data
This smart contract application is not secure and everyone can retrieve the password
Manual review
Don't store sensitive information on the blockchain
Private functions and state variables are only visible for the contract they are defined in and not in derived contracts. In this case private doesn't mean secret/confidential
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.