Exploit databaseDownload repository ZIP
GH-42b84fb86f338e224665b89e05061ed2
joshuavanderpoll/cve-2026-54806
Sources for CVE-2026-54806
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files5
joshuavanderpoll/cve-2026-54806Revision b50523a8c1fd
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
docker/admin-bot.sh
Shell · 1,113 bytes#!/bin/sh
# Simulates an admin browsing the dashboard, triggering the WP Activity Log
# "Latest Events" widget every interval. This is what fires injected payloads.
set -eu
BASE="http://wordpress"
USER="${ADMIN_USER:-admin}"
PASS="${LAB_PASSWORD:-H4CKIND\$X!}"
INTERVAL="${INTERVAL:-60}"
JAR="/tmp/admin_jar.txt"
echo "[*] admin-bot started — visiting dashboard every ${INTERVAL}s as ${USER}"
until curl -s -o /dev/null "${BASE}/wp-login.php"; do
echo "[*] Waiting for WordPress..."
sleep 3
done
while true; do
rm -f "$JAR"
curl -s -c "$JAR" "${BASE}/wp-login.php" -o /dev/null
curl -s -b "$JAR" -c "$JAR" "${BASE}/wp-login.php" \
--data-urlencode "log=${USER}" \
--data-urlencode "pwd=${PASS}" \
--data "wp-submit=Log+In&redirect_to=%2Fwp-admin%2F&testcookie=1" \
-o /dev/null -L
if grep -q "wordpress_logged_in" "$JAR"; then
curl -s -b "$JAR" "${BASE}/wp-admin/index.php" -o /dev/null
echo "[+] $(date '+%H:%M:%S') Dashboard visited"
else
echo "[-] $(date '+%H:%M:%S') Login failed"
fi
sleep "$INTERVAL"
done