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

Anyone can read password

Summary

Anyone can read password as Blockchain is a public ledger.

Vulnerability Details

Although getPassword function access is restricted to owner only, anyone can read password as blockchain/ smart contract storage is publicly accessible.

Impact

Password leakage/ compromise.

Tools Used

Manual Review

Recommendations

Either dont store passwords in smartcontracts or store encrypted password (encrypt them off-chain and then store ciphertext on blockchain)

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-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.