Skip to content
Access control Audit finding Beginner

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.

Meta0xNull Follow

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

Recommended Mitigation Steps

  1. Some tasks don’t really need a special role like StabilizerNode. Should allow any community members to run their own StabilizerNode without approval needed.
  2. Consider transfer Admin to Multisig or DAO.

0xScotch (sponsor) disputed:

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

The original report as published on Code4rena, by Meta0xNull. Images and videos are our own copies; raw HTML is shown as text. View it on Code4rena.

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.

More by Meta0xNull

View all

3 more disclosed reports, best first.

More from Malt Protocol - Versus contest

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.