h2
Alpine-based container running H2 Database 2.0.202 via TCP on port 9092, started by start.sh with options -tcp -tcpAllowOthers -tcpPort 9092 -ifNotExists.
h2/Dockerfile:1-16h2/start.sh:1-3docker-compose.yml:4-8File viewing is interactive and short-lived. Downloads are password-protected ZIP archives using password eip.
A Docker Compose environment with two services: a vulnerable H2 database server (version 2.0.202) and a client container with a Python exploit script targeting CVE-2021-42392.
docker-compose.yml:1-15README.md:1-91The README explicitly states the repository provides a minimal environment to test CVE-2021-42392, and the included Dockerfiles and exploit script are designed to demonstrate the vulnerability.
README.md:1-3Alpine-based container running H2 Database 2.0.202 via TCP on port 9092, started by start.sh with options -tcp -tcpAllowOthers -tcpPort 9092 -ifNotExists.
h2/Dockerfile:1-16h2/start.sh:1-3docker-compose.yml:4-8Python 3.11-slim container with jaydebeapi, JPype1, and a script (h2_exploit.py) that connects to the H2 service and executes CREATE ALIAS to achieve RCE.
client/Dockerfile:1-16client/h2_exploit.py:1-52docker-compose.yml:10-15Supported by supplied evidence
The exploit script uses CREATE ALIAS to execute arbitrary commands on the H2 server, matching the CVE description. The README and Dockerfiles confirm the vulnerable version 2.0.202 is used.
client/h2_exploit.py:36-46h2/Dockerfile:9README.md:9-11README.md:21-23client/h2_exploit.py:22-24docker-compose.yml:6client/Dockerfile:10-11client/h2_exploit.py:12README.md:33-35README.md:39README.md:41client/h2_exploit.py:1-52All visible behavior is confined to the lab containers: the exploit targets the vulnerable H2 service within the same Docker network, and no host escape, external connections, persistence, or credential theft is observed.
docker-compose.yml:1-15client/h2_exploit.py:1-52h2/start.sh:1-3This 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.