No check is performed only to allow the owner of the contract to update the password in setPassword
function, so anybody can update the password
Use the proof of code below to verify the vulnerability.
Anybody can update the password.
Manual analysis
In setPassword
function add the following owner-only access control before updating the password.
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.