Video & Photo Gallery for Ultimate Member 1.1.4以下 - videos[]パラメーターを介した認証済みの購読者以上による任意ファイル削除
元情報の公開:2026/11/20 05:12 / 元情報の更新:2026/11/20 17:34(日本時間)
日本語訳
原文欠損のお知らせ:Wordfence APIの説明文は途中で途切れています。以下は取得できた原文の範囲を翻訳したもので、欠けている内容は補っていません。訳文の末尾も原文に合わせて途中で終わっています。
WordPress用プラグイン「Video & Photo Gallery for Ultimate Member」は、1.1.4以下のバージョンで任意のファイルを削除される脆弱性があります。um_gallery_add_videos() AJAXハンドラーが、ユーザー指定のvideos[]の値にesc_url()だけを適用してfile_nameカラムへ保存することが原因です。esc_url()はパストラバーサルの文字列を保持します。また、対応するum_gallery_delete_photo()ヘルパーは、正規化や許可されたディレクトリの確認を行わず、保存した値をget_user_image_path()を通じてunlink()へ渡します。
これにより、購読者以上の権限を持つ認証済みの攻撃者はサーバー上の任意のファイルを削除できます。この削除はリモートコード実行の実現に悪用できます。その条件となるのは、適切なファイル(例えばwp-config.
原文(英語)
Video & Photo Gallery for Ultimate Member <= 1.1.4 - Authenticated (Subscriber+) Arbitrary File Deletion via 'videos[]' Parameter
The Video & Photo Gallery for Ultimate Member plugin for WordPress is vulnerable to Arbitrary File Deletion in versions up to, and including, 1.1.4 This is due to the um_gallery_add_videos() AJAX handler persisting user-supplied videos[] values into the file_name column after only esc_url() — which preserves path-traversal sequences — and the companion um_gallery_delete_photo() helper passing that stored value to unlink() through get_user_image_path() with no canonicalization or allowed-directory check. This makes it possible for authenticated attackers, with Subscriber-level access and above, to delete arbitrary files on the server, which can be leveraged to achieve remote code execution when the right file (such as wp-config.
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。