All challenges

Whistle arbitrary file read

webeasy200pts

Whistle arbitrary file read

CVE-2025-5880 is an arbitrary file read in the Whistle proxy, in versions up to 2.9.98. An unauthenticated helper endpoint reads a file named by a query parameter and passes it straight to the filesystem with no containment, so any file the process can read comes back.

How to reach it

Run the challenge locally with its docker-compose. The flagger sidecar writes your per-run flag to /flag/flag.txt before Whistle starts. The service speaks HTTP on port 8080; the session helper endpoint is the entry point.

Run this challenge

Spin it up locally with Docker. The flagger sidecar fetches a per-run flag into a shared volume, then the challenge container boots and reads it.

compose.yml
services:
  flagger:
    image: matejbasic/rootcause-flagger:1.0
    environment:
      ROOTCAUSE_API_URL: https://root-cause-api.matejbasic.com
      ROOTCAUSE_API_KEY: ${ROOTCAUSE_API_KEY}
      ROOTCAUSE_CHALLENGE: whistle-traversal
      FLAG_PATH: /flag/flag.txt
    volumes:
      - flag:/flag
  challenge:
    image: matejbasic/cve-2025-5880:1.0
    depends_on:
      flagger:
        condition: service_completed_successfully
    environment:
      FLAG_PATH: /flag/flag.txt
    volumes:
      - flag:/flag
    ports:
      - "8080:8080"
volumes:
  flag:
one-line CLI
rootcause start whistle-traversal

The rootcause CLI does all of this in one command. Running a challenge needs your API key, which you generate in your profile.