
CVE-2016-15042 lab: Dockerized WordPress PoC for unauthenticated file upload in Frontend File Manager <4.0 and N‑Media Post Front‑end Form <1.1
Fully reproducible, Dockerized lab to validate and demonstrate CVE-2016-15042:
nmedia-user-file-uploader) v3.7 (vulnerable < 4.0)wp-post-frontend) v1.0 (vulnerable < 1.1)This repo provides a one-command setup, verification steps with Nuclei, and artifacts for reviewers. Keywords: WordPress, CVE-2016-15042, unauthenticated file upload, arbitrary file upload, PoC, security lab, Docker.
./scripts/setup.sh
Once finished:
Option A: Download the template locally into this lab folder and run it.
curl -sL "https://raw.githubusercontent.com/projectdiscovery/nuclei-templates/refs/heads/main/http/cves/2016/CVE-2016-15042.yaml" -o ./CVE-2016-15042.yaml
nuclei -t ./CVE-2016-15042.yaml -u http://localhost:8090 -debug -vv \
| tee ./debug/CVE-2016-15042-debug.txt
Option B: If you have the templates repo locally, run the template by path:
nuclei -t /path/to/nuclei-templates/http/cves/2016/CVE-2016-15042.yaml -u http://localhost:8090 -debug -vv \
| tee ./debug/CVE-2016-15042-debug.txt
The debug output file is stored at ./debug/CVE-2016-15042-debug.txt for reviewers.
localhost:8090docker-compose.yml and re-run the script../debug/ for easy PR review.