Skip to main content
QUICK REVIEW

[Paper Review] Total Eclipse of the Heart -- Disrupting the InterPlanetary File System

Bernd Prünster, Alexander Marsalek|arXiv (Cornell University)|Nov 2, 2020
Peer-to-Peer Network TechnologiesComputer Science16 citations
TL;DR

This paper presents a scalable, low-effort eclipse attack on the InterPlanetary File System (IPFS) by exploiting a conceptual flaw in its libp2p connection management, enabling arbitrary node isolation and global network disruption. The attack successfully poisons routing tables and eclipses nodes within minutes, with results showing linear scalability across large networks and significant impact even with limited resources.

ABSTRACT

Peer-to-peer networks are an attractive alternative to classical client-server architectures in several fields of application such as voice-over-IP telephony and file sharing. Recently, a new peer-to-peer solution called the InterPlanetary File System (IPFS) has attracted attention, which promises to re-decentralise the Web. Being increasingly used as a stand-alone application, IPFS has also emerged as the technical backbone of various other decentralised solutions and was even used to evade censorship. Decentralised applications serving millions of users rely on IPFS as one of their crucial building blocks. This popularity makes IPFS attractive for large-scale attacks. We have identified a conceptual issue in one of IPFS's core libraries and demonstrate their exploitation by means of a successful end-to-end attack. We evaluated this attack against the IPFS reference implementation on the public IPFS network, which is used by the average user to share and consume IPFS content. Results obtained from mounting this attack on live IPFS nodes show that arbitrary IPFS nodes can be eclipsed, i.e. isolated from the network, with moderate effort and limited resources. Compared to similar works, we show that our attack scales linearly even beyond current network sizes and can disrupt the entire public IPFS network with alarmingly low effort. The vulnerability set described in this paper has been assigned CVE-2020-10937. Responsible disclosure procedures are currently being carried out and have led to mitigations being deployed, with additional fixes to be rolled out in future releases.

Motivation & Objective

  • To investigate the feasibility of large-scale, low-cost attacks on decentralized peer-to-peer systems like IPFS.
  • To identify and exploit a conceptual vulnerability in IPFS’s core connection management mechanism.
  • To evaluate the real-world impact of such an attack on live IPFS nodes and the public network.
  • To demonstrate that the attack scales linearly with network size, unlike previous attacks that scale exponentially.
  • To drive long-term hardening of IPFS by reporting findings to Protocol Labs, resulting in major protocol updates.

Proposed method

  • Exploiting a design flaw in libp2p’s connection manager (ConnMgr) to manipulate routing table entries in IPFS nodes.
  • Establishing a large number of controlled, multiplexed connections to exhaust and poison the target node’s routing table.
  • Using the poisoned routing table to isolate the target node from the rest of the IPFS network, achieving eclipse.
  • Conducting end-to-end attacks on live IPFS nodes in the public network to validate feasibility and impact.
  • Demonstrating that no additional DoS attacks are required, as the attack relies solely on connection flooding and routing manipulation.
  • Evaluating the attack’s scalability by simulating its behavior across networks of increasing size, showing linear growth in cost.

Experimental results

Research questions

  • RQ1Can a low-cost, global eclipse attack be mounted on a real-world, production-grade P2P system like IPFS?
  • RQ2Does the attack scale efficiently with network size, and if so, how does its cost grow relative to network size?
  • RQ3What are the architectural and implementation-level weaknesses in IPFS’s connection management that enable such an attack?
  • RQ4How effective is the attack in isolating arbitrary nodes and disrupting the broader IPFS network in practice?
  • RQ5To what extent can existing countermeasures mitigate this attack, and what long-term hardening is required?

Key findings

  • The attack successfully isolated arbitrary IPFS nodes within minutes by poisoning their routing tables using only connection management manipulation.
  • The attack achieved full eclipse of a target node with high probability in less than an hour, without requiring any denial-of-service mechanisms.
  • The attack scales linearly with network size, making it feasible to disrupt the entire public IPFS network with moderate resources.
  • The vulnerability was rooted in a conceptual flaw in libp2p’s ConnMgr, which persisted even after major protocol updates.
  • The findings led to immediate mitigation efforts, including the release of IPFS 0.6.1 and 0.7, which increased the attack cost by several orders of magnitude.
  • Despite fixes, the underlying architectural issue in connection management remains challenging to fully resolve, highlighting ongoing security hardening needs.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.