db
A PostgreSQL 16.6 container initialized with a company_db database and sample employee data. It exposes port 5432 and has a healthcheck.
docker-compose.yml:4-17app/init_db.sql:1-31File viewing is interactive and short-lived. Downloads are password-protected ZIP archives using password eip.
The artifact is an exploit for CVE-2025-1094, a SQL injection vulnerability in PostgreSQL libpq and psql. It includes a Python script (exolit.py) that sends a crafted payload to a vulnerable Flask web application (app/app.py) to achieve remote code execution via psql meta-commands.
No backdoor observed in reviewed code
The repository contains a proof-of-concept (PoC) for CVE-2025-1094, demonstrating SQL injection and remote code execution via psql meta-commands. All code and documentation directly support this stated purpose. No concealed, deceptive, or unrelated harmful behavior was observed.
The artifact contains a functional exploit script (exolit.py) that actively sends a malicious payload to a vulnerable application to achieve remote code execution, which is the defining characteristic of an exploit.
exolit.py:1-37README.md:3app/app.py:1-106README.md:19exolit.py:8exolit.py:14README.md:29-31app/app.py:32exolit.py:8exolit.py:20-21exolit.py:8README.md:70app/app.py:86-92exolit.py:8This 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 Compose environment simulating a vulnerable web application that uses PostgreSQL's libpq and psql, designed to demonstrate CVE-2025-1094 SQL injection and potential remote code execution.
README.md:1-3docker-compose.yml:1-34The README explicitly states it is a Proof of Concept for CVE-2025-1094, and the provided code (app.py, exolit.py) implements the vulnerable pattern and exploit described.
README.md:1-3app/app.py:1-106A PostgreSQL 16.6 container initialized with a company_db database and sample employee data. It exposes port 5432 and has a healthcheck.
docker-compose.yml:4-17app/init_db.sql:1-31A Flask app built from app/Dockerfile, based on postgres:16.6. It accepts user input via POST /search, uses libpq's PQescapeLiteral for escaping, then pipes the resulting SQL to psql, creating a SQL injection and RCE path. It mounts the entire app directory for live code updates.
docker-compose.yml:19-33app/Dockerfile:1-17app/app.py:1-106A Python script that sends a crafted POST request containing a multibyte bypass payload to the web application to trigger the SQL injection and execute shell commands.
exolit.py:1-37Supported by supplied evidence
The environment directly implements the vulnerable pattern described for CVE-2025-1094: using PQescapeLiteral on user input and then executing the result via psql, which allows bypassing escaping with invalid multibyte bytes and executing meta-commands.
README.md:1-3app/app.py:68-90exolit.py:7README.md:120-122exolit.py:4README.md:80-82exolit.py:7README.md:122README.md:126-128README.md:132README.md:134exolit.py:17-20All visible behavior is directed at the lab's own target (the web container). The exploit executes shell commands within the container as part of the vulnerability demonstration. There is no evidence of host escape, external connections, persistence, credential theft, or destructive actions beyond the intended lab exercise.
exolit.py:7app/app.py:68-90docker-compose.yml:1-34This 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.