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

Anyone can set password

Summary

Anyone can set password using the function setPassword as its access control is not restricted to onwer.

Vulnerability Details

Function setPassword should allow only owner to set new password, but lack of access control allows anyone to set it.

Impact

Password stored by owner can be lost.

Tools Used

Manual Review

Recommendations

Restrict access of setPassword to owner only.

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.