All data in blockchain is public which means that anyone can read it.
Password variable s_password is stored in publicly accessible storage - everything stored in the blockchain is public.
Reproduction step:
Since the main goal of the contract is to store that password securely this vulnerability has a severe impact.
Foundry/cast
Do not store private data 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.