Strategists can’t be removed
The smart contract allows approving a strategist but provides no function to revoke that role. A rogue or compromised strategist could retain privileged access and potentially steal liquidity providers' funds.
Submitted by kenzo, also found by Ruhum, dirky, shenwilly, and 0x1f8b_
There is no option to revoke strategist’s privilege.
As the strategist is a very strategic role which can effectively steal LP’s funds, this is very dangerous.
Impact
A rogue / compromised / cancelled strategist can not be revoked of permissions.
Proof of Concept
There’s a function to approve a strategist, but no option to revoke the access.
Recommended Mitigation Steps
Add a function / change the function and allow setting strategist’s access to false.
bghughes (Rubicon) confirmed, but disagreed with severity and commented:
Low severity, we can add this anytime with a proxy upgrade but still a good function to add.
As per the rulebook (no. 11), upgradeability should not be used as an excuse to reduce the severity of a finding.
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
Impact
A rogue, compromised, or cancelled strategist cannot be stripped of permissions, so they could potentially steal liquidity providers' funds.
What the attacker needed
Strategist role granted; strategist becomes malicious or compromised
The fix
Add a function or modify the existing one to allow setting a strategist's access to false.
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 this smart contract, a 'strategist' is a trusted role that can move funds. The code lets someone grant that role but never take it away, so if the person turns bad or their key is stolen, they keep power forever. That means they could take money that belongs to liquidity providers.
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.