The "setPassword" function lacks proper access control, allowing anyone to call it and overwrite the existing password.
The "setPassword" function lacks proper access control, allowing anyone to call it and overwrite the existing password.
This results in the loss of the old password.
vscode
Recommended to add permissions
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.