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

Anyone can change the password.

Summary

The documentation says that only the owner can change the password, but in reality anyone can change it.

Vulnerability Details

The setPassword function has no access modifier, so anyone can set the password.

Impact

Password can be changed at will.

Tools Used

manual

Recommendations

Assign modifiers such as onlyOwner to the function

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.