# Anyone can cancel other accounts `nonces` and `groups`, leading to griefing their `Intents`.

VerifierBase validates signatures against common.signer but cancels nonces/groups for common.account, letting anyone grief other users' Intents by canceling their nonces and groups.

- Payout: Audit contest
- Severity: medium
- Program: Perennial
- Found by: Albort
- Disclosed: 2024-08-17
- Write-up quality: 6/10
- Original: https://github.com/sherlock-audit/2024-08-perennial-v2-update-3-judging/issues/54
- Library page: https://bugbountylibrary.com/r/sherlock%3A2024-08-perennial-v2-update-3%3AM-9
- Tags: area:web3 domain:web3 impact:dos impact:integrity kind:contest platform:sherlock sev:medium tech:evm tech:solidity technique:source-review vuln:access-control vuln:business-logic

**Target:** VerifierBase / AccountVerifier / OrderVerifier intent verification contracts
**Root cause:** verifyCommon and cancelGroupWithSignature only check the signature matches common.signer, but the nonce/group cancellation is applied to common.account with no check that common.signer is an authorized signer for common.account.
**Steps:**
1. Craft a Common struct with victim's `account`, arbitrary `nonce`/`group`, and attacker-controlled `signer`
2. Sign the EIP-712 hash of the Common struct with the attacker's key
3. Call `verifyCommon(common, signature)` (or `cancelGroupWithSignature`) on the verifier
4. validateAndCancel prechecks pass and `_cancelNonce(common.account, common.nonce)` cancels the victim's nonce/group
**How found:** Code reading of VerifierBase: noticed signature check uses common.signer while cancellation uses common.account, and no authorization link between the two exists.
**Exploitation:** Attacker submits crafted Common structs signed by their own key referencing victim accounts, canceling pending nonces and groups to invalidate the victim's Intents (limit orders, market maker orders), degrading fill rates and blocking Solver API usage.
**Insight:** When a struct carries both an identity field (account) and a signer field, verify the signer is authorized for that account; mismatched fields in signature-gated state changes are a recurring griefing vector.

