概要
認証なしで、解放済みメモリを悪用され、不正なプログラムを実行されるおそれ。
元の説明(英語)を読む
Use-after-free via repopulation of last_fatal_error_backtrace global after shutdown. A fatal error raised while modified INI settings are restored during request shutdown can repopulate the stored fatal error backtrace after the executor has been cleaned up. The request memory is then freed, and a diagnostic emitted before executor initialization in a later request handled by the same PHP-FPM or mod_php worker can access the stale backtrace. The shutdown error requires per-path configuration of max_memory_limit, or of zlib.output_compression together with output_handler (which .user.ini can also set). The early diagnostic requires Apache per-directory configuration or, for PHP-FPM, a PHP_VALUE or PHP_ADMIN_VALUE parameter sent by the front end. This can cause memory corruption and worker crashes, and may allow remote code execution. This issue affects PHP versions 8.5.* before 8.5.13.
影響を受ける人
パスごとの PHP 設定を使う PHP 8.5 系の運用者
対策
- PHP を 8.5.13 以降に更新する
国内の動き
- piyolog(まとめ)↗11/20
海外の動き
- SecurityWeek(報道)↗11/20
- The Hacker News(報道)↗11/20
PoC
公開されている PoC は、まだ見つかっていない。