توضیح (فارسی)
یک ضعفیت در PHP امکان Remote Code Execution را به دلیل مدیریت نادرست global state که میتواند به freed memory ارجاع دهد، فراهم میکند. در سناریوهای خاص، global state اطلاعات stale از درخواستهای قبلی را حفظ میکند، که میتواند به مهاجم امکان اجرای arbitrary code را بدهد. این مسئله زمانی پیش میآید که global state پس از پردازش یک request به درستی reset نمیشود، که منجر به افشای sensitive memory states به requestهای بعدی میشود.
Original description (English)
A vulnerability in PHP allows for the possibility of remote code execution due to improper management of global state that can reference freed memory. In certain scenarios, the global state retains stale information from previous requests, potentially enabling an attacker to execute arbitrary code. This issue arises when the global state does not reset correctly after a request is processed, resulting in the exposure of sensitive memory states to subsequent requests.