Everest Forms 3.6.4以下 - Signatureキーを持つテキストフィールドのeverest_forms[form_fields][〈id〉]パラメータを介した認証不要のファイル削除

元情報の公開:2026/11/26 08:47 / 元情報の更新:2026/11/26 21:35(日本時間)

日本語訳

WordPress用プラグイン「Everest Forms – Contact Form, Payment Form, Quiz, Survey & Custom Form Builder with AI」は、3.6.4以下のすべてのバージョンで、ファイル削除の脆弱性があります。delete_entry_files()関数が実際のフィールド型を検証せず、エントリーのメタキーに対する緩い部分文字列検査preg_match('/signature_/', $meta_key)でファイル削除の実行を判定することが原因です。このため、ラベルが「Signature」で始まる通常のTextフィールドでも、signature_1のような条件を満たすメタキーが生成されます。その結果、everest_forms[form_fields][〈field_id〉]を介して送信された攻撃者が制御する値がそのまま保存され、後でwp_delete_file()へ渡されます。

認証されていない攻撃者が、サーバー上のwp-content/uploads/ディレクトリ内のファイルを削除できます。safe_delete_file()はrealpathに基づく境界を強制するため、wp-config.phpなど、このディレクトリの外にあるファイルは削除できません。

悪用には、攻撃者が送信したエントリーを管理者が完全に削除する必要があります。認証されていない攻撃者自身は削除を開始できません。また、対象ファイルはwp-content/uploads/内に存在する必要があります。悪用の成功には管理者による操作も必要で、攻撃者だけでこの脆弱性を発動させることはできません。

原文(英語)

Everest Forms <= 3.6.4 - Unauthenticated File Deletion via 'everest_forms[form_fields][<id>]' Parameter via Signature-Keyed Text Field

The Everest Forms – Contact Form, Payment Form, Quiz, Survey & Custom Form Builder with AI plugin for WordPress is vulnerable to File Deletion in all versions up to, and including, 3.6.4 This is due to the `delete_entry_files()` function gating file cleanup on a loose `preg_match('/signature_/', $meta_key)` substring check against the entry's meta-key rather than verifying the actual field type, which allows an ordinary Text field whose label begins with "Signature" to generate a qualifying meta-key such as `signature_1` — causing the attacker-controlled value submitted via `everest_forms[form_fields][<field_id>]` to be stored verbatim and later passed to `wp_delete_file()`. This makes it possible for unauthenticated attackers to delete files within the `wp-content/uploads/` directory on the server, as `safe_delete_file()` enforces a realpath boundary that prevents deletion of files outside that directory such as `wp-config.php`. Exploitation requires an administrator to permanently delete the attacker's submitted entry, as the unauthenticated attacker cannot trigger the deletion themselves; the targeted file must also reside within `wp-content/uploads/`. Successful exploitation additionally requires an action by an administrator — the attacker cannot trigger the vulnerability on their own.

引用元:Wordfence

確認と対応の進め方

WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。

影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。

更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。

プラグインの管理・更新方法(WordPress公式・日本語)

運営元KanriPressのサービス案内

サイトを守る備えを、今日から始めませんか。

「KanriPress WP Sakimori」は、ファイアウォールと仮想パッチで攻撃に備え、マルウェア検査と継続監視でサイトの異変を捉えます。毎日のバックアップで万一に備え、月次レポートで保護・監視の状況も確認。日々の管理負担を抑えながらWordPressを守る仕組みを、月額2,200円(税込)で導入できます。

サービス内容・料金を見る