OlympusGovernance - active proposal does not expire
An active governance proposal does not expire, so a stale proposal could remain open indefinitely and be executed later if quorum is reached, potentially causing harm to the protocol.
Submitted by reassor
Contract OlympusGovernance allows controlling protocol through on-chain governing. The issue is that once proposal is active it does not expire, which means that until the new proposal will be selected, anyone can vote on existing one and potentially execute it when it might cause harm to the protocol.
Scenario:
- New proposal has been submited, endorsed and activated.
- Users vote, but the quroum is not being achieved.
- The proposal is active until new one is getting submitted.
- 6 months elapses and the current active proposal might cause serious harm to the protocol (since it was created long time ago).
- Malicious actor votes and executes proposal causing harm to the protocol.
Proof of Concept
Governance.sol:
Tools Used
Manual Review / VSCode
Recommended Mitigation Steps
It is recommended to add expiration for the active proposal for example 2 weeks. After that time it should be possible to reject proposal and users should be able to reclaim VOTES tokens.
fullyallocated (Olympus) disputed
I believe the warden is simply stating that an active proposal stays active if not replaced. There is not expiration of a proposal once it becomes active, so theoretically if the governance process is inactive a very stale proposal could get executed.
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 contract lacks any expiration or deadline check for an active proposal, so it remains executable until replaced.
Impact
A stale active proposal could be executed later, potentially causing serious harm to the protocol.
What the attacker needed
A proposal is active; quorum not reached; no new proposal replaces it; attacker can vote
The fix
It should be fixed by adding an expiration period for active proposals, after which they can be rejected and users can reclaim their VOTES tokens.
How it was found
- A new proposal is submitted, endorsed and activated.
- Users vote but quorum is not achieved.
- The proposal stays active until a new one is submitted.
- After a long time, a malicious actor votes and executes the stale proposal.
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.
A governance proposal is a suggested change that people vote on. Normally, a proposal should have a deadline. Here, once a proposal became active, it stayed active forever until a new one replaced it. That means someone could vote on a very old proposal months later and get it executed, even if it no longer makes sense.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.