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

Unsecure private data storing that can be used to take protocol control

Summary

Password considered to be private is stored in public

Vulnerability Details

Access to password allows to change it and take control over the protocol. However password is stored on blockchain and anyone can access it by reading contract slots and therefore change it

Impact

Attacker can reveal password and take control over the protocol

Tools Used

Recommendations

Reorganise auth architecture. Consider to use safe governance or signatures for authentication

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-anyone-can-read-storage

Private functions and state variables are only visible for the contract they are defined in and not in derived contracts. In this case private doesn't mean secret/confidential

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.