Anyone can call setPassword
function and change the password and original password will be deleted. And owner won't be able to access his original password.
Anyone can update the password due to missing access control and original password of the owner will be lost and overridden by new malicious password. Which is of no use for contract owner.
Manual
Add access control check in setPassword
function so only contract owner can call that. Owner is deployer of the contract.
Anyone can call `setPassword` and set a new password contrary to the intended purpose.
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.