No authentication control in the setPassword()
function.
Password can be changed thanks to
Anyone can overwrite/modify the password.
Foundry cast :
cast send <CONTRACT_ADDRESS> "setPassword(string memory)" test --private-key $PRIVATE_KEY
Add a modifier to verify the owner address:
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.