Skip to content
DoS Audit finding Intermediate

Excessive TCP timeout allows attacker to crash the sequencer via the indexer service

The indexer service on the Movement full node has a 120-second timeout and is bound to all interfaces, so an attacker can open many connections and exhaust file descriptors. This prevents the node from accepting new connections, causing the sequencer to crash and halt the network.

usmannk Follow

Originally disclosed on Immunefi

Critical View original
  • Disclosed after under an hour

#43250 [BC-Critical] Excessive TCP timeout allows attacker to crash the sequencer via the indexer service

Submitted on Apr 4th 2025 at 02:40:16 UTC by @usmannk for Attackathon | Movement Labs

Description

Brief/Intro

The indexer service is served by the Movement Full Node and serves HTTP requests. However this service has an excessive 120 second timeout on its requests. This allows an attacker to crash the sequencer via resource exhaustion.

Vulnerability Details

the indexer service is bound to the ip address 0.0.0.0 in both the default and suggested (https://docs.movementnetwork.xyz/assets/files/config-4551e1260977506ebb8dcdea19b254ed.json) configurations. Because 0.0.0.0 allows requests from not just the local host but any IP address on the internet, an attacker may call this RPC from outside the local network.

Each HTTP request opened to the indexer service creates a file descriptor on the host. By default nix OS allows 256 file descriptors per process. By spamming the indexer with connection requests and leaving them hanging, an attacker can use up all available file descriptors for the full node. At this point, the full node cannot accept or initiate any further connections. It will cease to receive new transactions or send any to DA.

Impact Details

The sequencer will not be able to process transactions submit batches to DA. It will then also panic and crash, halting the network.

References

The main RPC and sequencer node serves such an indexer: https://github.com/movementlabsxyz/movement/tree/main/docs/indexer#prerequisites

Proof of Concept

Proof of Concept

  • run movement stack by calling just movement-full-node native build.setup.celestia-local.eth-local
  • run the following python code pointed at the address and port of the indexer service
import socket
server_address = ('localhost', 30734)
arr = []
for _ in range(9999): # adjust for fd limit, likely 256 will suffice
     arr.append(socket.socket(socket.AF_INET, socket.SOCK_STREAM))
     arr[-1].connect(server_address)
  • observe as the sequencer node becomes unavailable then the sequencer crashes, halting the network.
2025-04-04T02:30:39.836891Z ERROR hyper::server::tcp: accept error: Too many open files (os error 24)
Error: readiness check fail - exit status 56
2025-04-04T02:30:40.336431Z  INFO movement_full_node::node::manager: Receive Terminate Signal
thread 'tokio-runtime-worker' panicked at /Users/<redacted>/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.1/src/
runtime/blocking/shutdown.rs:51:21:
Cannot drop a runtime in a context where blocking is not allowed. This happens when a runtime is dropped from within an asynchronous
context.
stack backtrace:
2025-04-04T02:30:40.838283Z ERROR hyper::server::tcp: accept error: Too many open files (os error 24)

The original report as published on Immunefi, by usmannk. Images and videos are our own copies; raw HTML is shown as text. View it on Immunefi.

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 indexer service had an excessively long timeout and was bound to all network interfaces, allowing remote resource exhaustion.

Impact

The sequencer could not process transactions or submit batches to DA, and it panicked and crashed, halting the network.

What the attacker needed

Network access to the indexer service

The fix

The indexer service should be bound to localhost only and have a shorter timeout to prevent resource exhaustion.

How it was found

  1. Start the Movement full node stack using the provided build command.
  2. Run a script that opens many TCP connections to the indexer service address and port.
  3. Observe the sequencer becoming unavailable and then crashing.

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.

Every network connection uses a small resource called a file descriptor. If a service keeps connections open too long, an attacker can open many and use up all the descriptors, so the service cannot accept new connections. Here, the indexer service allowed connections from anywhere and held them for 120 seconds, so the whole node stopped working.

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.

More by usmannk

View all

14 more disclosed reports, best first.

More from Movement Labs

View all

The newest disclosed reports for this program.

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.