Ultra Addons for Contact Form 7 3.5.58以下 - Contact Form 7 Databaseアドオンのファイルアップロードを介した認証不要の保存型クロスサイトスクリプティング
元情報の公開:2026/11/26 09:35 / 元情報の更新:2026/11/26 21:35(日本時間)
日本語訳
WordPress用プラグイン「Ultra Addons for Contact Form 7」は、3.5.58以下のすべてのバージョンで、入力のサニタイズと出力のエスケープが不十分なため、dfile(任意のCF7ファイルフィールド)パラメータを介した保存型クロスサイトスクリプティングの脆弱性があります。認証されていない攻撃者が任意のウェブスクリプトをページに埋め込み、そのページにユーザーがアクセスするたびにスクリプトを実行させることができます。
スクリプト実行の成功には、対象の音声・動画ファイル拡張子に対してウェブサーバーが明示的なContent-Typeヘッダーを返さず、ブラウザーが内容から形式を判定してアップロードファイルをtext/htmlとして描画することも必要です。mod_headersがない、または.htaccessを適用しないデフォルトのApache構成は、この条件を満たします。悪用の成功には管理者による操作も必要で、攻撃者だけでこの脆弱性を発動させることはできません。
原文(英語)
Ultra Addons for Contact Form 7 <= 3.5.58 - Unauthenticated Stored Cross-Site Scripting via File Upload via Contact Form 7 Database Add-on
The Ultra Addons for Contact Form 7 plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'dfile (any CF7 file field)' parameter in all versions up to, and including, 3.5.58 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Successful script execution additionally requires a web server that returns no explicit Content-Type header for the targeted audio/video extension, causing the browser to sniff and render the uploaded file as text/html; default Apache configurations without mod_headers or without honoring .htaccess satisfy this condition. Successful exploitation additionally requires an action by an administrator — the attacker cannot trigger the vulnerability on their own.
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。