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

Password can be changed freely by users other than owner

Summary

setPassword can be called by anyone

Vulnerability Details

Any person can call the setPassword function effectively wiping the owner's original password

Impact

Owner can lose their original password if this is the only place that the owner is storing it.

Tools Used

Manual Review

Recommendations

Do not store sensitive information such as passwords on the blockchain. A check can be added so that onlyOwner can call this function but the data can still be retrieved from others quite easily.

Updates

Lead Judging Commences

inallhonesty Lead Judge
about 2 years ago
inallhonesty Lead Judge about 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.