cve-lfi
A 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-8File viewing is interactive and short-lived. Downloads are password-protected ZIP archives using password eip.
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.