Skip to content
Access control Write-up Advanced

The Arcadia $3.6M Exploit Was a Blueprint for Future Failures

The Arcadia Finance Rebalancer contract accepted an attacker-supplied router address in its swapViaRouter function without validation, allowing the attacker's contract to execute with Rebalancer privileges. The attacker also pre-triggered a circuit breaker to induce a cooldown that prevented the protocol from pausing during the real exploit, then drained about $3.6 million.

medium.com

Published on medium.com

The Arcadia exploit wasn’t just a $3.6 million bug. It was a two-day, multi-phase takedown that turned the protocol’s own defenses into weapons.

Olympix, on medium.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 a missing input validation and privilege separation flaw: a high-privilege function accepted an arbitrary external router address and executed it with the Rebalancer's full trust.

Impact

The attacker drained about $3.6 million in USDC and USDS, swapped it to WETH, and bridged it to Ethereum; the circuit breaker cooldown prevented the protocol from pausing during the attack.

What the attacker needed

Ability to call rebalance() with crafted data; access to a large flashloan; cooldown active from a prior pause

The fix

The text does not state that the issue was fixed; it recommends whitelisting critical addresses, enforcing interface checks, scoping privileges for delegated calls, and allowing emergency overrides of cooldowns.

How it was found

  1. The attacker deployed contracts that intentionally tripped Arcadia's circuit breakers, causing a pause.
  2. After the team unpaused the protocol, a cooldown period began that prevented another pause.
  3. The attacker took a large flashloan to fund the operation.
  4. The attacker used the loan to repay victim debts, making vaults appear healthy.
  5. The attacker called rebalance() with crafted swap data that injected their own contract as the swap router.
  6. The attacker's contract executed with Rebalancer privileges, extracted LP tokens, unwound positions, repaid the loan, and bridged out the funds.

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.

A smart contract is a program on a blockchain that can hold and move money. Arcadia let anyone tell it which external contract to use for swapping tokens, and it trusted that contract completely. The attacker pointed it at their own contract, which then acted with Arcadia's own authority to take funds.

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.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.