Skip to content
DoS Write-up Advanced

Axelar Network

Axelar validators could be forced to skip voting on cross-chain transactions by making the voting request exceed a default RPC body size limit. Repeated skips caused all Chain Maintainers to be deregistered, halting cross-chain operations.

marcotnunes.com

Published on marcotnunes.com

➤ Target: Axelar Network ➤ Reported on: 7 May 2024 ➤ Status: Resolved / Paid ➤ Reward: $50,000 (USDC)

The author, on marcotnunes.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the combination of a default RPC request size limit that caused validators to skip voting and the absence of a minimum quorum requirement before penalising and deregistering validators for missed votes.

Impact

An attacker could systematically deregister all Chain Maintainers across multiple EVM chains, causing the system to fall below the required 60% quorum and halting all cross-chain operations; the attacker could cheaply repeat the attack to sustain the blockage.

What the attacker needed

Ability to send transactions on an EVM chain; ability to send messages on Axelar chain; funds for setup and repeated attacks

The fix

The Chain Maintainer auto-deregistration mechanism was disabled via governance proposal 256, and the vulnerability is no longer exploitable.

How it was found

  1. Attacker creates two transactions on an EVM chain that make the AxelarGateway contract store 2000 ContractCall logs each.
  2. Attacker sends a ConfirmGatewayTxs message on the Axelar chain with the malicious transaction IDs, creating two polls for Chain Maintainers.
  3. The off-chain vald software fetches the logs and tries to vote, but the request exceeds the RPC body size limit, so the vote fails.
  4. Attacker repeats the ConfirmGatewayTxs message enough times within the check window to trigger mass deregistration of Chain Maintainers for the targeted EVM chain.

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 write-up has not been written yet. The Original tab links to the source.

Axelar is a system that lets different blockchains talk to each other. Validators are computers that check and approve these cross-chain messages. The report found that an attacker could make the approval messages too big for the validators' software to handle, so they would skip voting. Because the system punished validators for skipping votes without checking if enough validators were still active, the attacker could get all validators removed and stop cross-chain transfers.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.