
Questo è uno script Python che sfrutta la CVE-2022-22963, una vulnerabilità di esecuzione remota di codice in Spring Cloud Function che consente agli attaccanti di eseguire codice arbitrario su un server vulnerabile. L'exploit utilizza l'endpoint vulnerabile /functionRouter per eseguire un comando sul server di destinazione.
Installa le librerie Python richieste eseguendo il seguente comando:
pip3 install requests
chmod +x spring_exploit.py
Run the script by providing the target URL using the -u or --url option:
./spring_exploit.py -u http://mysite.com:8080
or
python spring_exploit.py -u http://mysite.com:8080