修正版ありBasel Post Types

Basel Post Types 1.18以下 - ハードコードされた代替ソルトを用いたOpauthコールバック署名の偽造による認証不要の認証回避

元情報の公開:2026/11/10 18:21 / 元情報の更新:2026/11/11 06:28(日本時間)

日本語訳

WordPress用プラグイン「Basel Post Types」の1.18以下のすべてのバージョンには、認証回避の脆弱性があります。BASEL_Auth::get_config()内のSECURE_AUTH_SALTに対するdefined()呼び出しで引用符が欠けているコーディングの誤りにより、PHPが定数の名前ではなく値を評価するために発生します。この確認は常に失敗し、テーマのソースコードに公開されている、静的にハードコードされたソルト2NlBUibcszrVtNmDnxqDbwCOpLWq91eatIz6O1Oへ常にフォールバックします。このソルトは静的で既知のため、攻撃者は完全にオフラインで有効なOpauth署名を計算し、register_or_loginによって処理される、認証不要のinitフックのエンドポイントへ、偽造した?opauthコールバックを送信できます。

これにより、認証されていない攻撃者は、既知の対象アカウントのメールアドレスに紐付いたコールバックを偽造し、管理者を含む既存の任意のWordPress利用者として認証を受けることができます。パスワード検証、多要素認証、所有者確認をすべて回避し、wc_set_customer_auth_cookie()を通じて完全に認証済みのセッションCookieを取得できます。

悪用には、WooCommerceが有効であり、テーマ設定でBaselのソーシャルログインプロバイダー(Facebook、Google、VKontakte)のうち少なくとも1つに、有効なapp_idとapp_secretが設定されている必要があります。

原文(英語)

Basel Post Types <= 1.18 - Unauthenticated Authentication Bypass via Forged Opauth Callback Signature with Hardcoded Fallback Salt

The Basel Post Types plugin for WordPress is vulnerable to Authentication Bypass in all versions up to, and including, 1.18. The vulnerability exists because a missing-quotes coding error in the defined() call for SECURE_AUTH_SALT inside BASEL_Auth::get_config() causes PHP to evaluate the constant's value rather than its name, making the check always fail and permanently falling back to the static hardcoded salt 2NlBUibcszrVtNmDnxqDbwCOpLWq91eatIz6O1O that is publicly visible in the theme source code; because this salt is static and known, an attacker can compute a valid Opauth signature entirely offline and submit a forged ?opauth callback to the unauthenticated init hook endpoint processed by register_or_login. This makes it possible for unauthenticated attackers to authenticate as any existing WordPress user, including administrators, by forging a callback tied to a known target account email address — bypassing all password verification, multi-factor authentication, and ownership checks, and receiving a fully authenticated session cookie via wc_set_customer_auth_cookie(). Exploitation requires WooCommerce to be active and at least one Basel social-login provider (Facebook, Google, or VKontakte) to be configured with a valid app_id and app_secret in the theme settings.

引用元:Wordfence

確認と対応の進め方

WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。

影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。

更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。

プラグインの管理・更新方法(WordPress公式・日本語)

運営元KanriPressのサービス案内

サイトを守る備えを、今日から始めませんか。

「KanriPress WP Sakimori」は、ファイアウォールと仮想パッチで攻撃に備え、マルウェア検査と継続監視でサイトの異変を捉えます。毎日のバックアップで万一に備え、月次レポートで保護・監視の状況も確認。日々の管理負担を抑えながらWordPressを守る仕組みを、月額2,200円(税込)で導入できます。

サービス内容・料金を見る