Apache with PHP 7.2
Serves the web application on port 80. PHP extensions for MySQL and image processing are installed.
Dockerfile:1-2Dockerfile:5-14Dockerfile:50OURPHP <= 7.2.0 - Cross Site Scripting
CVE-2023-30212 has a selected CVSS score of 6.1 (medium); EIP currently links 12 repository PoCs, 1 Nuclei template, and 4 lab environments.
OURPHP <= 7.2.0 is vulnerale to Cross Site Scripting (XSS) via /client/manage/ourphp_out.php.
A Docker-based environment built from a PHP 7.2 Apache image, with MySQL installed and a web application copied from a downloaded zip file. The README describes it as a lab for CVE-2023-30212, a cross-site scripting vulnerability.
Dockerfile:1-51README.md:1-2lab.sh:1-57The README explicitly states the repository creates a vulnerable environment for CVE-2023-30212, enabling exploration of the exploitability of this security vulnerability. The Dockerfile builds a web server with a database, and the lab script downloads and deploys a specific web application, consistent with a controlled vulnerability research setup.
README.md:1-2Serves the web application on port 80. PHP extensions for MySQL and image processing are installed.
Dockerfile:1-2Dockerfile:5-14Dockerfile:50Installed inside the container, creates a database named 'test', and is started before Apache. The lab script later sets a root password and grants privileges.
Dockerfile:17-24Dockerfile:50lab.sh:55A zip file downloaded from 'https://down.chinaz.com/api/index/download?id=51308&type=code' and extracted into the document root. The README provides a URL path '/client/manage/ourphp_out.php' suggesting it is the OURPHP application, which is the subject of CVE-2023-30212.
lab.sh:30-35README.md:20Automates environment setup: installs Docker and unzip if missing, downloads the vulnerable application zip, builds the Docker image, runs the container with port 80 exposed, and configures MySQL root password to 'adarsh'.
lab.sh:1-57Supported by supplied evidence
The README explicitly associates the lab with CVE-2023-30212 and provides a proof-of-concept XSS payload targeting a specific endpoint. The downloaded application and the URL path match the OURPHP product known to be affected by this CVE.
README.md:1-2README.md:20lab.sh:4-13lab.sh:8-10lab.sh:44README.md:16-18README.md:10-14README.md:16-18README.md:20The lab script downloads a zip file from an external third-party URL (down.chinaz.com) and executes it inside the container. The downloaded content is uninspected and its behavior is unknown. Additionally, the script uses 'docker exec' to set a hardcoded MySQL root password ('adarsh') inside the running container. While the lab is documented for CVE-2023-30212, the reliance on an uninspected external payload and the hardcoded credential constitute suspicious indicators.
lab.sh:30-35lab.sh:55lab.sh:30-35lab.sh:55This 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.
A Docker Compose environment that builds a PHP 7.4 Apache container exposing port 8088. It copies a vulnerable LFI script and a malicious PHP script into the web root.
docker-compose.yaml:1-7Dockerfile:1-10The README explicitly states it is a PoC for CVE-2023-30212, a PHP LFI vulnerability, and the included files (vulnerable.php, malicious.php) are designed to demonstrate the exploit.
README.md:1-5A PHP 7.4 Apache service built from the local Dockerfile. It serves vulnerable.php (LFI entry point) and malicious.php (command execution) on port 8088.
docker-compose.yaml:3-5Dockerfile:1-8A PHP script that includes a file specified by the 'file' GET parameter without sanitization, enabling local file inclusion.
vulnerable.php:1-5A PHP script that executes 'touch /tmp/pwned' via the system() function, used to demonstrate arbitrary command execution after LFI.
malicious.php:1Supported by supplied evidence
The README describes the environment as a PoC for CVE-2023-30212, and the provided vulnerable.php and malicious.php demonstrate a PHP LFI leading to remote code execution, consistent with the CVE description.
README.md:1-5vulnerable.php:1-5malicious.php:1README.md:37-39docker-compose.yaml:5README.md:43README.md:37-39README.md:47-51README.md:59-61README.md:63-67All visible behavior is confined to the lab container. The malicious.php payload only creates a file inside the container's /tmp, and there are no host volume mounts, privileged mode, or network connections to external systems. The exercise demonstrates the vulnerability without escaping the lab boundary.
docker-compose.yaml:1-7Dockerfile:1-10malicious.php:1This 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.
A single Dockerfile builds a PHP 7.2 Apache container with MySQL, intended to host a vulnerable OURPHP application for demonstrating CVE-2023-30212 (XSS). The README provides build, run, and exploit instructions.
dockerfile:1-52README.md:1-91The README explicitly states the purpose is to 'create a vulnerable Docker environment that is susceptible to CVE-2023-30212' and provides step-by-step instructions to build, run, and exploit the vulnerability via a crafted URL.
README.md:1-3README.md:79-81Official PHP 7.2 Apache image serving as the base. Apache is configured with mod_rewrite enabled and document root set to /var/www/html. Exposes port 80.
dockerfile:2dockerfile:28dockerfile:31-33dockerfile:45Default MySQL server installed inside the container. A 'test' database is created during build. Started by the CMD instruction alongside Apache.
dockerfile:18-24dockerfile:48Files copied from the build context into the document root. The file inventory includes admin.php, index.php, search.php, and others, suggesting a PHP application (likely OURPHP). The README references /client/manage/ourphp_out.php as the vulnerable endpoint.
dockerfile:36README.md:5README.md:79Insufficient evidence
The README claims the environment is susceptible to CVE-2023-30212, an XSS vulnerability in OURPHP <= 7.2.0 via /client/manage/ourphp_out.php. However, the supplied evidence does not include the actual application source code (e.g., ourphp_out.php) or any runtime demonstration of the vulnerability. The Dockerfile only sets up the infrastructure; the vulnerability cannot be confirmed from the provided artifacts.
README.md:1-5README.md:79README.md:13-17README.md:9-11README.md:27-29README.md:23-25README.md:27-29README.md:37-75README.md:79The Dockerfile and README describe a self-contained lab environment. The container runs Apache and MySQL internally, exposes only port 80, and does not mount host directories, run in privileged mode, or connect to external networks beyond the base image pull. The exploit URL targets the local container's web application. No hidden, destructive, or host-escaping behavior is evident.
dockerfile:1-52README.md:1-91This 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.
A single Dockerfile based on php:7.2-apache that installs MySQL, creates a 'test' database, copies local application files, and starts Apache and MySQL. The README describes it as a vulnerable Docker environment for CVE-2023-30212, an XSS vulnerability in OURPHP <= 7.2.0.
dockerfile:1-52README.md:1-4The README explicitly states the purpose is to 'create a vulnerable Docker environment that is susceptible to CVE-2023-30212' and provides steps to build, run, and exploit the vulnerability. The Dockerfile sets up a PHP/Apache/MySQL stack consistent with hosting a vulnerable OURPHP application.
README.md:1-4Official PHP 7.2 Apache image used as the base. Provides Apache with PHP support.
dockerfile:2Installed via apt-get, started to create a 'test' database, and started again in the CMD to run alongside Apache.
dockerfile:18-25dockerfile:50Copied from a local 'file' directory into the Apache document root. The README references OURPHP and an exploit path, indicating these files contain the vulnerable OURPHP application.
dockerfile:37README.md:3-4Insufficient evidence
The README claims the environment is susceptible to CVE-2023-30212 and provides an exploit URL. However, the actual application source code (e.g., ourphp_out.php) is not included in the evidence files, so the presence of the vulnerable code cannot be verified.
README.md:3-4README.md:75README.md:11-15dockerfile:37README.md:21-23README.md:27-29README.md:75The Dockerfile and README describe a self-contained lab environment. The only network exposure is port 80 mapped to the host, which is typical for a web-based vulnerability lab. No hidden or unnecessary host compromise, persistence, credential theft, or external connections are indicated.
dockerfile:1-52README.md:1-90This 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.
OURPHP <= 7.2.0 is vulnerale to Cross Site Scripting (XSS) via /client/manage/ourphp_out.php.
Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement of the affected website.
Upgrade to a patched version of OURPHP (7.2.1 or higher) to mitigate this vulnerability.
Source: ProjectDiscovery