Worked example · 2022-05
Fortress Protocol — FTS bought to pass a collateral proposal, then a publicly callable price feed set its price — Fortress / BNB Smart Chain — 2022-05-08
Summary
Fortress, a lending protocol on BNB Smart Chain built by Jetfuel Finance, announced on 2022-05-09 that it had been hit by what it believed was an oracle manipulation attack draining all funds (The Record). Rekt and CertiK describe two linked weaknesses (Rekt, CertiK).
First, governance: the attacker funded an address with ETH that Rekt traces to Tornado Cash on Ethereum, swapped it for FTS, and used the FTS to reach quorum on proposal 11, which added FTS as collateral with a collateral factor of 700000000000000000. CertiK gives the minimum to vote as 400,000 FTS, about 11 ETH at the depressed FTS price; BlockSec, relayed by The Record, says about $8,000 bought 296,193 FTS to vote. Rekt says the proposal was active for 3 days.
Second, the oracle: the price submit() function could be called by anyone, so the attacker set the FTS price high, posted 100 FTS as collateral, and borrowed the protocol's other assets (Rekt, CertiK). The borrowed assets were swapped to ETH and DAI and deposited into Tornado Cash (Rekt). FTS fell more than 45% per Coinbase data in The Record.
Which oracle was involved differs by source: The Record quotes Umbrella Network saying the exploits may have stemmed from an Umbrella Network price feed error and that it deployed a hotfix; CertiK describes a submit() function on a chain contract. The two are not reconciled in the opened pages.
Timeline (UTC)
Stages: Entry (governance and oracle weaknesses), Preparation (funding, FTS purchase, proposal), Execution (price set, borrow), Money (Tornado Cash), Response. Times are from CertiK unless noted.
| When | What happened | OAK |
|---|---|---|
| Before 2022-05-08 (undisclosed) | Oracle submit() could be called by anyone, and governance accepted a proposal backed by 400,000 FTS (CertiK, Rekt) |
T9.001 |
| 2022-04-19 17:41:59 | First recorded attacker interaction with Fortress; CertiK calls it possible reconnaissance (CertiK) | — |
| Before the vote (date undisclosed) | Attacker EOA funded with ETH traced by Rekt to Tornado Cash, swapped for FTS (Rekt) | T7.001 |
| Multi-day, ending before the exploit (exact dates undisclosed) | Proposal 11 submitted and voted; it set FTS collateral factor to 700000000000000000 and was active for 3 days (Rekt, CertiK) | T16.002 |
| 2022-05-08 20:31:03 | Attacker deploys the contract used in the exploit (CertiK) | — |
| 2022-05-08 20:34:42, tx | Oracle submit() called to set the FTS price; 100 FTS posted as collateral and the other assets borrowed via the attack contract; time confirmed by OAK on-chain lookup |
T9.001 |
| After 2022-05-08 | Borrowed assets swapped to ETH and DAI; 1,048 ETH and 400k DAI deposited into Tornado Cash (Rekt); CertiK adds a route over cBridge and Multichain from BSC to Ethereum before Tornado Cash (CertiK). Individual hashes not verified by OAK | T7.001 |
| 2022-05-08 evening to 2022-05-09 | Fortress announces the attack and asks users not to supply assets; supply and borrow disabled; Umbrella Network deploys a hotfix; proposal 12 launched to repair the damage (The Record, Rekt) | response |
Key addresses (as printed by CertiK and Rekt):
- Attacker EOA —
0xa6af2872176320015f8ddb2ba013b38cb35d22ad - Attack contract (CertiK: "highly likely") —
0xcd337b920678cf35143322ab31ab8977c3463a45 - Proposer EOA —
0x0db3b68c482b04c49cd64728ad5d6d9a7b8e43e6 - Governor Alpha contract —
0xe79ecdb7fedd413e697f083982bac29e93d86b2e - FortressPriceOracle —
0x00fcf33bfa9e3ff791b2b819ab2446861a318285 - Chain (price submit) contract —
0xc11b687cd6061a6516e23769e4657b6efa25d78e
Root-cause evidence
- Technique: OAK-T9.001
- Source: https://www.certik.com/blog/fortress-loans-exploit; https://rekt.news/fortress-rekt/; https://therecord.media/defi-protocol-fortress-announces-3-million-hack/
- Source type: security-firm
- Confidence: corroborated
- Evidence: CertiK and Rekt independently describe a publicly callable price
submit()and a market-bought FTS vote passing proposal 11. Fortress itself only said it believed the cause was oracle manipulation and was investigating. Open: which oracle provider's contract was involved (Umbrella Network per The Record), and whether the voting step was necessary to the borrow.
Public references
- CertiK, "Fortress Loans Incident Analysis" (2022-05).
- Rekt, "Fortress Protocol" (2022-05-09).
- The Record, "DeFi protocol Fortress announces $3 million hack" (2022-05-09).