Governance veto can be bypassed
The governance veto mechanism can be bypassed because a malicious proposal can include an action that points to the governance contract itself, making the entire proposal immune to veto. An attacker could thus pass a harmful proposal without the council being able to stop it.
Submitted by gzeon
Impact
Since veto ensure none of the actions in proposal being vetoed point to the contract (GovernorAlpha.sol:L562), a malicious proposal can be designed to have an action that point to governance and therefore effectively cannot be vetoed.
Proof of Concept
For any attacker who want to launch a governance attack using a malicious proposal, they simply need to add an action that point to governance that does nothing (or anything).
Recommended Mitigation Steps
Some other design can be proposal are vetoable whenever the differential is less than x%, even if it involves governance change, s.t. council can veto most malicious proposal while it is still possible to change council given high enough vote differential.
Duplicate of #61
Not a duplicate
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 veto function skips vetoing if any action in the proposal targets the governance contract, allowing a proposal to include a trivial governance action to avoid being vetoed.
What the attacker needed
Ability to submit a governance proposal
The fix
The veto mechanism should be redesigned so that proposals can still be vetoed even if they involve governance changes, for example by allowing veto when the vote differential is below a threshold.
How it was found
- Design a malicious proposal that includes an action pointing to the governance contract.
- Submit the proposal; the veto mechanism will not block it because it contains a governance action.
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 some blockchain systems, a group votes on proposals. A 'veto' lets a small group block a proposal if it seems dangerous. Here, the veto checks if any action in the proposal touches the governance contract; if it does, the veto is skipped. So an attacker adds a harmless action that touches governance, and the veto no longer works, letting the bad proposal go through.
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.