Nexus Repository 3.68.0
The base image sonatype/nexus3:3.68.0, which is vulnerable to CVE-2024-4956. It listens on port 8081 and serves as the target for the path traversal exploit.
Dockerfile:5README.md:3File viewing is interactive and short-lived. Downloads are password-protected ZIP archives using password eip.
The artifact contains a bash script (exploit.sh) that sends crafted HTTP requests to a vulnerable Nexus Repository 3 instance to read arbitrary files, including /etc/passwd and a CTF flag file, via an unauthenticated path traversal vulnerability (CVE-2024-4956).
No backdoor observed in reviewed code
The supplied evidence consists of a Dockerfile, README, and exploit script for a CVE-2024-4956 proof-of-concept. All files are plain text and contain no obfuscation, concealed executable behavior, or operator-directed harm. The Dockerfile builds a vulnerable Nexus container and copies a local entrypoint script (not supplied in the evidence). The exploit script performs path traversal requests against the local container to read /etc/passwd and a CTF flag. No backdoor, trojan, or suspicious behavior is observed in the reviewed content.
The exploit.sh script actively sends crafted HTTP requests to exploit a path traversal vulnerability and retrieve file contents, which is the definition of exploit code.
exploit.sh:14-19Dockerfile:5README.md:4exploit.sh:14-15exploit.sh:18-19exploit.sh:15exploit.sh:19Dockerfile:9This review is limited to the supplied PoC code and context. It does not assert that the code works or is safe to execute.
A Docker-based lab for CVE-2024-4956, a path traversal vulnerability in Nexus Repository 3. It uses a vulnerable Nexus 3.68.0 image, adds a custom entrypoint to generate a flag file, and provides an exploit script to read arbitrary files via crafted URLs.
Dockerfile:1-13README.md:1-17The README explicitly states the lab demonstrates CVE-2024-4956, a path traversal in Nexus Repository 3. The Dockerfile uses a vulnerable version (3.68.0), and the exploit script performs the traversal to read /etc/passwd and a flag file, confirming the vulnerability research purpose.
README.md:1-3Dockerfile:5exploit.sh:14-18The base image sonatype/nexus3:3.68.0, which is vulnerable to CVE-2024-4956. It listens on port 8081 and serves as the target for the path traversal exploit.
Dockerfile:5README.md:3A custom entrypoint script that generates a random flag file at /opt/flag.txt if it does not exist, then hands off to the real Nexus launcher. It runs as root due to the Dockerfile USER directive.
entrypoint.sh:1-24Dockerfile:7-11A bash script that waits for Nexus to boot, then sends crafted HTTP requests to read /etc/passwd and the flag file via the path traversal vulnerability.
exploit.sh:1-20Supported by supplied evidence
The lab uses Nexus 3.68.0, which the README states is vulnerable (≤3.68.0). The exploit script demonstrates unauthenticated path traversal by reading /etc/passwd and /opt/flag.txt via a crafted URL, matching the advisory description.
README.md:1-3Dockerfile:5exploit.sh:14-18README.md:8-10README.md:10-11exploit.sh:6-11README.md:9README.md:10README.md:11exploit.sh:6-11exploit.sh:14-18All visible behavior targets the lab's own container. The entrypoint generates a flag and starts Nexus; the exploit reads files inside the container via the documented vulnerability. No host escape, external connections, persistence, credential theft, or destructive actions are observed.
entrypoint.sh:1-24exploit.sh:1-20Dockerfile:1-13This review is limited to the supplied lab evidence packet. It does not assert that the environment runs, reproduces a vulnerability, or is safe to execute. Contract: eip-docker-lab-analysis-v1.