WP Review Slider 15.5以下 - wprp_twitter_savetweet・wpfb_avatar_tolocal AJAX処理の権限確認欠如による認証済みの購読者以上の任意ファイル読み取り
元情報の公開:2026/11/26 11:07 / 元情報の更新:2026/11/26 23:36(日本時間)
日本語訳
原文欠損のお知らせ:Wordfence APIの説明文は途中で途切れています。以下は取得できた原文の範囲を翻訳したもので、欠けている内容は補っていません。訳文の末尾も原文に合わせて途中で終わっています。
WordPress用プラグイン「WP Review Slider」は、15.5以下のバージョンで、wprp_twitter_savetweetとwpfb_avatar_tolocalのAJAX処理を介した任意ファイル読み取りの脆弱性があります。
ハンドラーはWordPressのnonceだけを検証し、current_user_can()による権限チェックを行わず、tw_imgパラメータで攻撃者が指定したローカルファイルシステムのパスを受け入れます。このパスは後でPHPのcopy()へ直接渡され、攻撃者が選んだ名前で、元ファイルとバイト単位で同じデータが公開uploadsディレクトリへ書き込まれます。
nonceアクションrandomnoncestringは、同じ開発元の関連プラグイン「WP Google Review Slider」と共有されています。関連プラグインは公開側のすべてのページで全訪問者へこのnonceを出力するため、有効になっていれば、購読者を含むすべてのログイン済みユーザーが取得できます。
購読者以上の権限を持つ認証済みの攻撃者が、対象サイトのサーバー上の任意のファイルを読み取れます。機密ファイルも含まれ、その例はwp-config.
原文(英語)
WP Review Slider <= 15.5 - Missing Authorization to Authenticated (Subscriber+) Arbitrary File Read via 'wprp_twitter_savetweet' and 'wpfb_avatar_tolocal' AJAX Actions
The WP Review Slider plugin for WordPress is vulnerable to Arbitrary File Read in versions up to, and including, 15.5 via the wprp_twitter_savetweet and wpfb_avatar_tolocal AJAX actions. This is due to the handlers only verifying a WordPress nonce without any current_user_can() capability check and accepting an attacker-supplied local filesystem path in the 'tw_img' parameter, which is later passed directly to PHP's copy() to write byte-identical data into a publicly accessible uploads directory under an attacker-chosen name. The nonce action 'randomnoncestring' is shared with the same vendor's companion plugin (WP Google Review Slider), which emits it to every visitor of every front-end page, making it obtainable by any logged-in user including Subscribers whenever that companion plugin is active. This makes it possible for authenticated attackers, with subscriber-level access and above, to read arbitrary files on the affected site's server, including sensitive files such as wp-config.
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。