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

Non-owner can change the password at any moment.

Summary

Any user will be able to change the password of the password store.

Vulnerability Details

The 'setPassword' function does not have any check for users who are able to execute the function. This gives an attacker the ability to change the password at any moment. The owner should be the only user that's able to change the password in the password store contract.

Impact

Any user which executes the 'setPassword' function will be able to change the password in the password store.

Tools Used

Manual Review

Recommendations

Set a only owner modifier or check to ensure that only the owner may change the password.

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.