Mega Forms 1.7.9以下 - 送信されたフィールド値を介した認証不要の任意ファイル削除
元情報の公開:2026/11/20 06:01 / 元情報の更新:2026/11/20 18:34(日本時間)
日本語訳
WordPress用プラグイン「Mega Forms – Drag & Drop Form Builder with Multi-Step & Conditional Logic」は、1.7.9以下のすべてのバージョンで、delete_entry関数のファイルパス検証が不十分なため、任意のファイルを削除できる脆弱性があります。認証されていない攻撃者がサーバー上の任意のファイルを削除でき、適切なファイル(wp-config.phpなど)が削除されると、容易にリモートコード実行につながる可能性があります。
攻撃者が指定したパスは認証不要のフォーム送信エンドポイントを通じて保存されますが、実際のファイル削除は、その後管理者が保存されたエントリーを削除したときにだけ発生します。この日常的な整理作業が発動の引き金となります。悪用の成功にはさらに管理者による操作が必要であり、攻撃者だけでこの脆弱性を発動させることはできません。
原文(英語)
Mega Forms <= 1.7.9 - Unauthenticated Arbitrary File Deletion via Submitted Field Value
The Mega Forms – Drag & Drop Form Builder with Multi-Step & Conditional Logic plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the delete_entry function in all versions up to, and including, 1.7.9 This makes it possible for unauthenticated attackers to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php). The attacker-supplied path is stored via the unauthenticated form submission endpoint, but the actual file deletion only occurs when an administrator subsequently deletes the stored entry — a routine housekeeping action that serves as the detonation trigger. Successful exploitation additionally requires an action by an administrator — the attacker cannot trigger the vulnerability on their own.
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。