Exploit database

GH-901dcf84bdb31883e651a3ddfd5b44bc

slabbdev/php2shell-cve-2026-109618-109619

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-109618

411 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files8

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

wordpress-demo/setup.sh

Shell · 1,414 bytes
#!/bin/sh
# One-shot bootstrap for the WordPress demo target (LOCAL / authorized target only).
# Fetches stock WordPress + wp-cli, boots the stack, installs WordPress with
# throwaway creds. No real data, no secrets, ever.
set -eu
cd "$(dirname "$0")"

echo "[1/4] fetching stock WordPress + wp-cli"
mkdir -p bin wordpress
curl -fsSL https://wordpress.org/latest.tar.gz | tar xz --strip-components=1 -C wordpress
curl -fsSL https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -o bin/wp-cli.phar
chmod +x bin/wp-cli.phar

echo "[2/4] building/starting stack (fpm=db on internal no-egress network, nginx on 127.0.0.1:8080)"
docker compose up -d --build
sleep 3

echo "[3/4] wp-config + core install (throwaway creds)"
docker compose exec -T fpm php /wp-cli.phar config create \
  --dbname=wpdemo --dbuser=wpdemo --dbpass=demo-notsecret --dbhost=db --force --allow-root

docker compose exec -T fpm php /wp-cli.phar core install \
  --url="http://localhost:8080" \
  --title="demo" \
  --skip-email \
  --admin_user=demo \
  --admin_password=demo-demo \
  [email protected] \
  --allow-root

echo "[4/4] verifying"
curl -fsS -o /dev/null -w "front page: HTTP %{http_code}\n" http://127.0.0.1:8080/
curl -fsS -o /dev/null -w "wp-login:   HTTP %{http_code}\n" http://127.0.0.1:8080/wp-login.php
echo "ready. target = http://127.0.0.1:8080 (default PHP config, frozen vulnerable fpm)"