gs-lab
The single service defined in docker-compose.yml. It builds from the local Dockerfile, runs with host networking, mounts the host X11 socket and the PoC script, and provides an interactive bash shell as the test user.
docker-compose.yml:4-14iTop XSS vulnerability on pages/preferences.php
CVE-2023-34446 has a selected CVSS score of 8.8 (high); EIP currently links 1 repository PoC and 1 lab environment.
iTop is an open source, web-based IT service management platform. Prior to versions 3.0.4 and 3.1.0, when displaying `pages/preferences.php`, cross site scripting is possible. This issue is fixed in versions 3.0.4 and 3.1.0.
| Product | Source | Version range | Status |
|---|---|---|---|
Default status: unknown | CVE List | < 3.0.4 | affected |
| Before 3.0.4 | affected |
The artifact is a PoC exploit for CVE-2023-36664, a Ghostscript command injection vulnerability. It includes a Python script (poc.py) that generates a malicious PostScript file containing a %pipe% payload, and a Dockerfile to set up a vulnerable Ghostscript 10.01.1 environment. The README provides step-by-step instructions to build the container, generate the payload, and execute it with Ghostscript to achieve arbitrary command execution (e.g., opening a sensitive file with gedit).
No backdoor observed in reviewed code
The repository contains a PoC for CVE-2023-36664 (Ghostscript RCE) and a Dockerfile. The PoC script (poc.py) generates a PostScript file with a user-supplied command embedded in a %pipe% payload, which is the documented exploit mechanism. The Dockerfile builds a vulnerable Ghostscript version and creates a test user. No concealed backdoor, unrelated remote access, persistence, or deceptive payload targeting the person running the PoC was observed. The README describes the exploit and its mechanism in detail.
The artifact contains functional code (poc.py) that generates a malicious file designed to exploit CVE-2023-36664, and a Dockerfile to create a vulnerable environment. The README provides explicit instructions to execute the generated payload with Ghostscript to achieve command execution, which is the definition of an exploit.
poc.py:1-76README.md:200-213README.md:6README.md:13poc.py:62README.md:85README.md:200README.md:217-221poc.py:62Dockerfile:13-14Dockerfile:22-23This review is limited to the supplied PoC code and context. It does not assert that the code works or is safe to execute.
A single-service Docker Compose environment that builds an Ubuntu 22.04 container with a vulnerable Ghostscript 10.01.1 installation, a Python PoC generator, and a simulated sensitive file, intended for demonstrating CVE-2023-36664.
docker-compose.yml:1-14Dockerfile:1-33README.md:1-254The README explicitly describes the environment as a lab for CVE-2023-36664, a Ghostscript RCE vulnerability. The Dockerfile builds a vulnerable Ghostscript version, and the Compose file mounts a PoC script. The entire setup is designed to reproduce and demonstrate the vulnerability.
README.md:1-10Dockerfile:10-16poc.py:1-2The single service defined in docker-compose.yml. It builds from the local Dockerfile, runs with host networking, mounts the host X11 socket and the PoC script, and provides an interactive bash shell as the test user.
docker-compose.yml:4-14A specific vulnerable version of Ghostscript downloaded and built from source inside the container. It is the target of the CVE-2023-36664 exploit.
Dockerfile:10-16README.md:5-6A Python script mounted into the container that generates malicious PostScript (.ps) or Encapsulated PostScript (.eps) files. It crafts a payload using the %pipe% prefix to exploit the Ghostscript vulnerability.
poc.py:1-76docker-compose.yml:11A file created during the Docker build containing a hardcoded database password. It serves as a target for the exploit demonstration, showing how an attacker could read sensitive files.
Dockerfile:18-19README.md:148-150Contradicted by supplied evidence
The repository name and canonical identifiers suggest CVE-2023-34446, but all unit content (README, PoC script) explicitly and exclusively references CVE-2023-36664. No evidence within the packet supports CVE-2023-34446.
README.md:1poc.py:1README.md:160-162docker-compose.yml:8-10README.md:120-122Dockerfile:10-11README.md:160-162README.md:164-165README.md:170-172README.md:180-182README.md:184-190All visible behavior is directed at the lab's own target container. The exploit reads a simulated sensitive file inside the container and opens gedit via the mounted X11 socket, which is a documented part of the exercise. There is no evidence of host compromise, external communication, persistence, or any action outside the intended lab scope.
README.md:160-190poc.py:1-76Dockerfile:1-33This 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.