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

Password Change Control

Summary

Any account can call the setPassword function and change the password. This is a major security risk as it allows an unauthorized user to change the password.

Vulnerability Details

Any account can change the password, posing a major security risk.

Impact

Unauthorized users can change the password, potentially leading to unauthorized access.

Tools Used

visual review

Recommendations

Add an onlyOwner modifier to the setPassword function to ensure that only the owner can 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.