Transactions won't be included on Celestia when the gas price is high, and the transactions on Movement will be forgotten
The Celestia data-availability provider for Movement builds blob submission transactions with only the node's minimum gas price. When Celestia's market gas price rises above that minimum for more than five blocks, proposers deprioritise the blobs and they are dropped from the mempool, censoring Movement transactions.
- Disclosed after under an hour
#42925 [BC-Insight] Transactions won't be included on Celestia when the gas price is high, and the transactions on Movement will be forgotten
Submitted on Mar 29th 2025 at 09:26:29 UTC by @Franfran for Attackathon | Movement Labs
- Report ID: #42925
- Report Type: Blockchain/DLT
- Report severity: Insight
- Target: https://github.com/immunefi-team/attackathon-movement/tree/main/protocol-units/da/movement/providers/celestia
- Impacts:
- Network not being able to confirm new transactions (total network shutdown)
Description
Brief/Intro
The blob submission transaction only sets the minimum gas price, which will potentially prevent the transaction from being published by proposers, censoring all transaction on Movement in case of heavy load on Celestia.
Vulnerability Details
The transaction gas fees are only set to the minimum when the transaction is constructed, meaning that the gas price will be set to the node-defined minGasPrice as explained in the Default trait implementation of the TxConfig struct. By default, nodes have a minGasPrice parameter set to 0.002, meaning that the blob could be here sitting in the mempool of the Celestia node for a some time before being evicted, since the gas price might be higher and a Celestia proposer won't accept the blob with this few gas price paid, because it will give priority to higher gas bids as they fit in the block space. Indeed, the docs state that a transaction that hasn't been included in 5 blocks is dropped. That means that if the gas market price is over minGasPrice for more than 5 blocks, all transactions sent in the Movement namespace will be censored.
Impact Details
Under network load, all transactions from Movement will be censored.
References
https://github.com/immunefi-team/attackathon-movement/blob/a2790c6ac17b7cf02a69aea172c2b38d2be8ce00/protocol-units/da/movement/providers/celestia/src/da/mod.rs#L44\\ https://docs.celestia.org/how-to-guides/submit-data#submitting-multiple-transactions-in-one-block-from-the-same-account
Proof of Concept
Proof of Concept
The last 24 hours average gas price can be visualized on the Celenium explorer, and as you can see having an average gas price that is over the minGasPrice is not trivial, especially in some heavy load cases. This screenshot was taken on 29/03.
Let's look at few recent transactions, and calculate their gas price by doing the following calculation:$$gas_{price} = \frac{fee_{$TIA} \times 10^{6}}{gas_{used}}$$
1. c80e25a226a771ac763ae861f86852350ea09e0a0fffb81dee3179e6d1a60ee7
$$\frac{0.020406 \times 10^6}{9258357} = 0.0022$$
2. 96b8fabe9461eb9c030465a1c3c6a34fd6271e512f6f2ba7c504df9c1db64f0d
$$\frac{0.026958 \times 10^6}{12236156} = 0.0022$$
3. d10fa57d435f5864081d271a924e97b8d343a74cf814ea7371c2a5beda9d8eb4
$$\frac{0.036655 \times 10^6}{16644159} = 0.0022$$
4. d76c0581151956acb6e4da651e75fce65b0bb86b811b3a9173e1a3f206c433db
$$\frac{0.00016 \times 10^6}{64981} = 0.0025$$
5. 791a7a9dedc2f99851668433af4fb3e5741e48c57796ce4463992128c3ed02b1
$$\frac{0.00016 \times 10^6}{64956} = 0.0025$$
6. c46d1ac4892da31cf2ae6dd83e3351218ef70ed510c8c7be2654436201ee171e
$$\frac{0.001224 \times 10^6}{428637} = 0.0029$$
It is clear that none of them use the minGasPrice as Movement does.
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 transaction builder hard-codes the minimum gas price instead of estimating the current market gas price or allowing a configurable fee.
Impact
Under network load, all transactions from Movement could be censored because their blobs are evicted before inclusion.
What the attacker needed
Celestia gas price above minGasPrice; condition lasts more than five blocks
The fix
The transaction builder should estimate or allow configuration of a competitive gas price rather than always using the minimum.
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.
A blockchain only fits a limited number of transactions in each block, so users attach a fee to compete for space. This code always offers the smallest fee the network allows, so when the network is busy and others pay more, its transactions wait and are eventually thrown away. That means data the project sends to Celestia can silently stop being recorded.
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.