No modifiers like onlyOwner are used to restrict functions to only the owner of the address.
Any address can call the functions setPassword()
and getPassword()
and access the contract state without restrictions.
Loss of authorization and access control over contract functions and state.
Poc:
Slither
Foundry
Add onlyOwner
or similar modifiers to restrict functions to only the owner.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.