Dynific Addons for Elementor (formerly Anywhere Elementor) 1.3以下 - 'q'パラメーターを介した認証済み(購読者以上)のSQLインジェクション
元情報の公開:2026/11/07 07:46 / 元情報の更新:2026/11/07 20:26(日本時間)
日本語訳
WordPress用プラグイン「Dynific Addons for Elementor」の1.3以下のバージョンには、qパラメーターを介したSQLインジェクションの脆弱性があります。原因は、ae_preview_post() AJAXハンドラーと、そのposts_whereコールバックであるpreview_post_filter()で、利用者が指定するパラメーターのエスケープと既存のSQLクエリのプリペア処理が不十分なことです。値は$wpdb->esc_like()(アンダースコア、パーセント記号、バックスラッシュに対するaddcslashes)を通り、シングルクォートで囲まれたSQLのLIKEリテラルへ連結されます。この構成はシングルクォートをエスケープせず、wp_magic_quotesが攻撃者の引用符の前に置いたバックスラッシュを逆にエスケープするため、引用符がリテラルを終了できるようになります。
これにより、購読者以上の権限を持つ認証済みの攻撃者は、既存のクエリに追加のSQLクエリを付け加え、データベースから機密情報を取得できます。
原文(英語)
Dynific Addons for Elementor (formerly Anywhere Elementor) <= 1.3 - Authenticated (Subscriber+) SQL Injection via 'q' Parameter
The Dynific Addons for Elementor plugin for WordPress is vulnerable to SQL Injection via the 'q' parameter in versions up to, and including, 1.3. This is due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query in the ae_preview_post() AJAX handler and its preview_post_filter() posts_where callback, where the value is passed through $wpdb->esc_like() (addcslashes for '_%\\') and concatenated into a single-quoted SQL LIKE literal — a construction that does not escape single quotes and actively escapes the backslash wp_magic_quotes places before the attacker's quote, freeing it to terminate the literal. This makes it possible for authenticated attackers, with Subscriber-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。