Organize Media Folder 2.00以下 - EXIFのDateTimeOriginalメタデータを介した認証済みの購読者以上による保存型クロスサイトスクリプティング
元情報の公開:2026/11/21 04:06 / 元情報の更新:2026/11/21 16:45(日本時間)
日本語訳
WordPress用プラグイン「Organize Media Folder」は、2.00以下のすべてのバージョンで、入力のサニタイズと出力のエスケープが不十分なため、EXIF.DateTimeOriginalパラメータを介した保存型クロスサイトスクリプティングの脆弱性があります。購読者以上の権限を持つ認証済みの攻撃者が任意のウェブスクリプトをページに埋め込み、そのページにユーザーがアクセスするたびにスクリプトを実行させることができます。
このwp_filter_post_ksesの回避により、アップロードするユーザーのunfiltered_html権限の有無にかかわらず、挿入したペイロードが保持されます。forumAttachmentsを併用するbbPressなど、公開側の添付ファイルアップロード連携が有効な場合は購読者の権限で十分であり、キャプションテンプレートにはデフォルトで%created_timestamp%プレースホルダーが含まれるため、悪用に特別な設定は不要です。
購読者以上の攻撃者が悪用するには、bbPressとgd-bbpress-attachments(forumAttachments)がインストールされ、購読者/参加者が公開側のフォーラムフォームから添付ファイルを投稿できるよう設定されている必要があります。その設定がないデフォルトのインストール環境では、悪用には投稿者以上の権限が必要です。
原文(英語)
Organize Media Folder <= 2.00 - Authenticated (Subscriber+) Stored Cross-Site Scripting via EXIF 'DateTimeOriginal' Metadata
The Organize Media Folder plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'EXIF.DateTimeOriginal' parameter in all versions up to, and including, 2.00 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This bypass of wp_filter_post_kses means the injected payload survives regardless of the uploader's unfiltered_html capability; Subscriber-level access becomes sufficient when a front-end attachment-upload integration such as bbPress with forumAttachments is active, and exploitation requires no special configuration because the %created_timestamp% placeholder is included in the caption template by default. Exploitation by attackers with subscriber-level access and above requires that bbPress and gd-bbpress-attachments (forumAttachments) are installed and configured so that Subscribers/Participants can post attachments through a frontend forum form. On a default installation, where that is not configured, the vulnerability requires attackers with author-level access and above.
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。