Closed code423n4 closed 3 years ago
sponsor disputed Lock and Unlock require signature of owner account. They are meant to be called by 3rd parties which possess this signature. These methods are not intended to be invoked by owner account.
Permission data are included in a function call, invalid
Handle
Sherlock
Vulnerability details
Impact
That is strange behavior that some functions are available for a Delegate, but not available for an owner himself. Like lock() and unlock() - according to the understanding of the Visor's design, these functions should be available for the owner as well.
Proof of Concept
Tools Used
Hardhat
Recommended Mitigation Steps
To implement a modifier checking if a caller either the Owner or Delegate. Revert if someone else is calling. Then carefully check all functions and add this new modifier when it is needed.