Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: high
Valid

Missing owner check when setting password

Summary

Missing owner check when setting password

Vulnerability Details

Anyone can set the password as the setPassword function does not check if the caller is the owner

Impact

Password can be set to a value different than what the owner wants.

Tools Used

Manual review

Recommendations

Add a check that the msg.sender is the owner

Updates

Lead Judging Commences

inallhonesty Lead Judge
almost 2 years ago
inallhonesty Lead Judge almost 2 years ago
Submission Judgement Published
Validated
Assigned finding tags:

finding-lacking-access-control

Anyone can call `setPassword` and set a new password contrary to the intended purpose.

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.