
CVE-2023-36281のPoC
CVE-2023-36281 の PoC
この PoC を参考にしました。残念ながら、subprocess.Popen のインデックスが Python 環境ごとに異なるため動作しません。しかし、私の PoC コードはこの問題を解決しています。
$ pip install -r requirements.txt
$ python get_index_of_subprocess.py
subprcess.Popen index: 309.
Replace target_index in attack_prompt.json with this value.
attack_prompt.jsontarget_index$ python exploit.py
README.md attack_prompt.json get_index_of_subprocess.py exploit.py requirements.txt