
PoC of CVE-2023-36281
PoC von CVE-2023-36281
Ich habe mich auf diesen PoC bezogen. Leider funktioniert es nicht, da die Indizes von subprocess.Popen in jeder Python-Umgebung unterschiedlich sind. Mein PoC-Code behebt dieses Problem jedoch.
$ 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.
$ python exploit.py
README.md attack_prompt.json get_index_of_subprocess.py exploit.py requirements.txt