Not having any whitelisted account completely disables the prevalidator leading to transactions that cannot be deserialized
When a sequencer light node is configured without any whitelisted accounts, no prevalidator is set, so transactions are not checked for deserializability. A single non-deserializable transaction in a block then prevents that block and all subsequent blocks from executing, halting the network.
Originally disclosed on Immunefi
- Disclosed after under an hour
#41794 [BC-High] Not having any whitelisted account completely disables the prevalidator leading to transactions that cannot be deserialized
Submitted on Mar 18th 2025 at 13:33:49 UTC by @HollaDieWaldfee for Attackathon | Movement Labs
- Report ID: #41794
- Report Type: Blockchain/DLT
- Report severity: High
- Target: https://github.com/immunefi-team/attackathon-movement/tree/main/protocol-units/da/movement/
- Impacts:
- Network not being able to confirm new transactions (total network shutdown)
Description
Brief/Intro
When a sequencer light node is set without any whitelisted account, there will be no prevalidator. But since the prevalidator is not only used for validating that the transaction.sender() is whitelisted, but also for ensuring that every transaction can be deserialized, this leads to blocks not being executable.
Vulnerability Details
Let's take a look at how this happens.
There are two types of prevalidations inside of prevalidator/src/aptos: one for the whitelist and one for the transaction.
Both prevalidation functions are called inside of prevalidate() of the prevalidator that is set inside of try_from_config().
However, there is no prevalidator set if there are no whitelisted accounts. Hence, both the prevalidation for the whitelist and the prevalidation for the transaction depend on config.whitelisted_accounts() not being empty. This can be verified by taking a look at reference (1).
As a result, transactions will not be prevalidated to be deserializable when there are no whitelisted accounts. This introduces an issue since the execution logic heavily depends on transactions being deserializable. If this is not the case, even for only one transaction, the execution for the block that contains this transaction will not be possible. Additionally, executing any other block will be prevented as well since Celestia only allows execution in the correct order.
To mitigate this, the prevalidation for transaction should also be done when there are no whitelisted accounts.
Impact Details
The execution of blocks will not be possible. Hence, the network will not be able to confirm new transactions.
References
Proof of Concept
- There are no whitelisted accounts which means that
try_from_config()won't set a prevalidator. Again, this can be verified by taking a look at reference (1). - Whenever
batch_write()is called, there will be no prevalidation whatsoever. Instead, every transaction will just be pushed ontotransactions. To confirm this, take a look at reference (2). This means that there is no validation for the transactions to be deserializable. - Now, when a block that contains any transaction that cannot be deserialized is processed before it is going to be executed, the deserialization showcased in reference (3) will fail and the execution of this block will not be possible. Ultimately, no other block will be executable either.
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 prevalidator, which also performs transaction deserialization checks, is only instantiated when the whitelist is non-empty, so deserialization validation is skipped entirely without whitelisted accounts.
Impact
The network could be unable to confirm new transactions because block execution halts.
What the attacker needed
Sequencer light node with no whitelisted accounts; a non-deserializable transaction is included
The fix
The transaction deserialization prevalidation should also run when there are no whitelisted accounts.
How it was found
- Configure the sequencer light node with no whitelisted accounts, so no prevalidator is set.
- Submit a transaction that cannot be deserialized; batch_write pushes it without prevalidation.
- When a block containing that transaction is processed, deserialization fails and the block cannot execute.
- Because Celestia requires ordered execution, no later block can execute either.
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 prevalidator is a check that runs before transactions are accepted. Here it was only switched on when a list of allowed accounts existed, so without that list bad transactions slipped through and later broke block processing.
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.