Shortcodes and extra features for Phlox theme 2.17.22以下 - extra_template_pathパラメータを介した認証不要のローカルファイルインクルード
元情報の公開:2026/11/20 04:48 / 元情報の更新:2026/11/20 16:53(日本時間)
日本語訳
WordPress用プラグイン「Shortcodes and extra features for Phlox theme」は、2.17.22以下のすべてのバージョンで、extra_template_pathパラメータを介したローカルファイルインクルードの脆弱性があります。認証されていない攻撃者がサーバー上の任意の.phpファイルをインクルードして実行し、そのファイル内の任意のPHPコードを実行できます。これを利用してアクセス制御を回避し、機密データを取得できます。また、.php形式のファイルをアップロードしてインクルードできる場合には、コード実行を実現できます。
CVE-2023-37888の修正として導入されたスラッグベースの許可リストは、template_part_fileのファイル名末尾だけを制約し、extra_template_pathのディレクトリ部分を検証しません。そのため、このパラメータに対してパストラバーサルの文字列がそのまま機能します。
原文(英語)
Shortcodes and extra features for Phlox theme <= 2.17.22 - Unauthenticated Local File Inclusion via 'extra_template_path' Parameter
The Shortcodes and extra features for Phlox theme plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 2.17.22 via the 'extra_template_path' parameter parameter. This makes it possible for unauthenticated attackers to include and execute arbitrary .php files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where .php file types can be uploaded and included. The slug-based allowlist introduced as the fix for CVE-2023-37888 constrains only the template_part_file filename suffix and does not validate the extra_template_path directory component, meaning path traversal sequences are fully functional against this parameter.
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。