Motors 1.4.125以下 - 'stm_user_avatar_path'ユーザーメタを介した認証済み(購読者以上)の任意のファイル削除
元情報の公開:2026/11/07 08:12 / 元情報の更新:2026/11/07 20:26(日本時間)
日本語訳
WordPress用プラグイン「Motors – Car Dealership & Classified Listings Plugin」の1.4.125以下のすべてのバージョンには、stm_listings_ajax_save_user_data関数でファイルパスの検証が不十分なため、任意のファイル削除の脆弱性があります。これにより、購読者以上の権限を持つ認証済みの攻撃者はサーバー上の任意のファイルを削除でき、wp-config.phpなど特定のファイルが削除された場合には、容易にリモートコード実行につながる可能性があります。
ただし、削除範囲はwp-content/uploadsに制限されており、wp-config.phpの削除はできません。それでも、必要なAJAX nonceがすべてのフロントエンドページに出力され、ログイン済みの利用者なら誰でも自分自身のアカウントのstm_user_avatar_pathメタを書き換えられるため、認証済みの購読者であれば誰でも容易に悪用できます。
原文(英語)
Motors <= 1.4.125 - Authenticated (Subscriber+) Arbitrary File Deletion via 'stm_user_avatar_path' User Meta
The Motors – Car Dealership & Classified Listings Plugin plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the stm_listings_ajax_save_user_data function in all versions up to, and including, 1.4.125 This makes it possible for authenticated attackers, with subscriber-level access and above, to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php). Although deletion is bounded to wp-content/uploads (preventing removal of wp-config.php), any authenticated Subscriber can trivially exploit this because the required AJAX nonce is printed on every front-end page and the handler's stm_user_avatar_path meta is writable by any logged-in user against their own account.
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。