Access Control Deficiency in setPassword
Function
The setPassword
function lacks a critical access control check to verify the identity of the transaction sender.
This vulnerability allows any unauthorized user to invoke the setPassword
function and potentially alter the owner's password.
Manual Review
It is strongly advised to implement proper access control by including a require
statement to verify that the msg.sender
is the designated owner before allowing password modifications.
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.