Soledad - Multi-Concept Blog/Magazine WordPress Theme 8.7.7以下 - penci_more_post_ajaxのショートコード許可リスト回避とFeatured-Slidersのローカルファイルインクルードを介した認証不要のリモートコード実行
元情報の公開:2026/11/17 01:31 / 元情報の更新:2026/11/18 03:50(日本時間)
日本語訳
WordPress用テーマ「Soledad」の8.7.7以下のバージョンには、認証不要のリモートコード実行の脆弱性があります。公開されているpenci_more_post_ajax AJAXアクションは、infeedads[ads_code]をBase64とURLのデコード後にpenci_safe_shortcode()へ渡します。この関数の許可リスト用正規表現は、ハイフン以降を切り落とした外側のショートコード名(例えばadinserter)だけを調べ、入れ子の[elementor-element k=.. data=..]タグは一切調べないため、do_shortcode()が攻撃者の選んだElementor要素を描画します。
描画されたpenci-featured-slidersウィジェットは、無害化されていないstyle設定をinclude dirname(__FILE__)."/{$style}.php"へ渡すため、パストラバーサルによるローカルファイルインクルードが発生します。
原文(英語)
Soledad - Multi-Concept Blog/Magazine WordPress Theme <= 8.7.7 - Unauthenticated Remote Code Execution via penci_more_post_ajax Shortcode-Allowlist Bypass and Featured-Sliders Local File Inclusion
The Soledad theme for WordPress is vulnerable to unauthenticated Remote Code Execution in versions up to, and including, 8.7.7 The public penci_more_post_ajax AJAX action feeds infeedads[ads_code] (base64+urldecoded) to penci_safe_shortcode(), whose allowlist regex inspects only the hyphen-truncated outer shortcode name (e.g. 'adinserter') and never the nested [elementor-element k=.. data=..] tag, so do_shortcode() renders an attacker-chosen Elementor element. The rendered penci-featured-sliders widget passes its unsanitized 'style' setting to include dirname(__FILE__)."/{$style}.php", a path-traversal local file inclusion.
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「外観」→「テーマ」で、対象テーマの「テーマの詳細」を開き、バージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。