The Power Structure is Too Centralized And Protocol May Break If Anything Happen to Admin
The protocol's roles are all controlled by a single Admin, so if the Admin becomes unavailable the protocol may fail. An attacker who compromises the Admin could take over all privileged functions.
Originally disclosed on Code4rena
Submitted by Meta0xNull
There are a lot of different roles in Malt Finance to handle different tasks. All these roles only can set by Admin. If anything happen to Admin and he/she no longer available, the protocol will start countdown to the end of life.
Proof of Concept
- https://github.com/code-423n4/2021-11-malt/blob/main/src/contracts/Auction.sol#L890-L1013
- https://github.com/code-423n4/2021-11-malt/blob/main/src/contracts/RewardSystem/RewardDistributor.sol#L291-L345
- https://github.com/code-423n4/2021-11-malt/blob/main/src/contracts/Bonding.sol#L327-L355 Many More Sol…
Recommended Mitigation Steps
- Some tasks don’t really need a special role like StabilizerNode. Should allow any community members to run their own StabilizerNode without approval needed.
- Consider transfer Admin to Multisig or DAO.
This is a known risk that is by design. We will migrate to DAO control of parameters when the protocol matures.
Alex the Entreprenerd (judge) commented:
I respect the wardens work for flagging this up. Because any of these exploits are contingent on the Admin being malicious, I’ll downgrade to Medium Severity
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the design gives a single Admin exclusive control over all role assignments, with no multisig or DAO fallback.
Impact
If the Admin is lost or malicious, the protocol could break or be fully controlled by that one party; the judge downgraded severity because exploitation requires a malicious Admin.
What the attacker needed
Admin becomes unavailable or malicious
The fix
The reporter suggested allowing community members to run certain nodes without approval and transferring Admin control to a multisig or DAO; the sponsor said they plan to migrate to DAO control when the protocol matures.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
In many blockchain projects, one special account (the Admin) can change important settings. Here, that one account controls every role, so if it is lost or stolen, the whole project can stop working or be misused.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.