MorpheusAI

MorpheusAI
Foundry
22,500 USDC
View results
Submission Details
Severity: medium
Valid

Lack of access control in _authorizeUpgrade(address) function on contracts in /mock folder

Summary

Various contracts do not have access control modifiers or functions on their function which is necessary for upgrading contract.

Vulnerability Details

There is no control check on this _authorizeUpgrade(address) function in various contracts in /mock folder.

Contracts impacted:
DistributionV2.sol
L1SenderV2.sol
L2MessageReceiverV2.sol
L2TokenReceiverV2.sol

Impact

Anyone can upgrade the contract

Tools Used

Manual review

Recommendations

Add access control to _authorizeUpgrade(address) functions.

Updates

Lead Judging Commences

inallhonesty Lead Judge over 1 year ago
Submission Judgement Published
Validated
Assigned finding tags:

_authorizeUpgrade(address) lacks access control in mock contracts

Support

FAQs

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