Masteriyo LMS 3.5.1以下 - fileパラメータを介した認証不要のPHPオブジェクトインジェクション
元情報の公開:2026/11/18 11:37 / 元情報の更新:2026/11/19 00:33(日本時間)
日本語訳
WordPress用プラグイン「Masteriyo LMS – LMS Course Builder, Quizzes & Certificates」は、3.5.1以下のバージョンで、コースインポーターにおける信頼できない入力のデシリアライズを介したPHPオブジェクトインジェクションの脆弱性があります。set_post_metas()メソッドが、アップロードされたJSONインポートファイルから解析した、攻撃者の制御するpostmeta文字列値にmaybe_unserialize()を呼び出します。認証されていない攻撃者が任意のPHPオブジェクトを挿入できます。
認証されていない攻撃者が悪用するには、サイトでenable_instructor_registration=trueかつenable_guest_checkout=trueであり、購入可能なコースが少なくとも1つ存在する必要があります。新規インストールではInstall.phpがenable_instructor_registration=falseを設定するため、これはデフォルトではない設定です。その設定がないデフォルトのインストール環境では、悪用には投稿者以上の権限が必要です。
原文(英語)
Masteriyo LMS <= 3.5.1 - Unauthenticated PHP Object Injection via 'file' Parameter
The Masteriyo LMS – LMS Course Builder, Quizzes & Certificates plugin for WordPress is vulnerable to PHP Object Injection in versions up to, and including, 3.5.1 via deserialization of untrusted input in the course importer. The set_post_metas() method calls maybe_unserialize() on attacker-controlled postmeta string values parsed from the uploaded JSON import file. This makes it possible for unauthenticated attackers to inject arbitrary PHP Objects. Exploitation by unauthenticated attackers requires that the site has enable_instructor_registration=true AND enable_guest_checkout=true AND at least one purchasable course exists. Install.php sets enable_instructor_registration=false on fresh installs, so this is a non-default configuration. On a default installation, where that is not configured, the vulnerability requires attackers with author-level access and above.
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。