App Builder 5.7.1以下 - Google IDトークンのaudience検証回避による認証不要の認証回避

元情報の公開:2026/11/26 11:40 / 元情報の更新:2026/11/27 00:47(日本時間)

日本語訳

WordPress用プラグイン「App Builder – Create Native Android & iOS Apps On The Flight」は、5.7.1以下のすべてのバージョンで、Google IDトークンのaudience検証回避による認証回避の脆弱性があります。

LoginGoogle::login()関数が、渡されたidTokenのaud(audience)クレームをWordPressサイトに属するOAuthクライアントIDと照合せず、email_verifiedクレームも検証しないことが原因です。また、Googleのsub(subject)識別子に結び付けず、メールアドレスのクレームだけでWordPressアカウントを特定しています。一方、/app-builder/v1/login RESTエンドポイントは、無条件にtrueを返すpermission_callbackで登録されており、認証されていない利用者もアクセスできます。

認証されていない攻撃者が、対象ユーザーのメールアドレスのクレームを含むGoogle署名付きIDトークンを、まったく無関係なOAuthクライアントから取得して渡すと、メールアドレスを知っている既存のWordPressユーザーとして認証できます。管理者も対象です。プラグインはそのユーザーの全権限を与える署名付きApp Builder JWTを発行します。

悪用には、対象ユーザーのメールアドレスを含む有効なGoogle署名付きIDトークンを取得する必要があります。攻撃者が別のGoogle OAuthクライアントを運営し、対象ユーザーをそのクライアント経由で認証するよう誘導することで取得できます。

原文(英語)

App Builder <= 5.7.1 - Unauthenticated Authentication Bypass via Google ID Token Audience Validation Bypass

The App Builder – Create Native Android & iOS Apps On The Flight plugin for WordPress is vulnerable to Authentication Bypass via Google ID Token Audience Validation Bypass in all versions up to, and including, 5.7.1. This is due to the `LoginGoogle::login()` function failing to validate the `aud` (audience) claim of the supplied `idToken` against any OAuth client ID belonging to the WordPress site, failing to verify the `email_verified` claim, and resolving WordPress accounts solely by the email claim without binding to the Google `sub` (subject) identifier — while the `/app-builder/v1/login` REST endpoint is registered with a `permission_callback` that unconditionally returns `true`, leaving it fully reachable by unauthenticated requesters. This makes it possible for unauthenticated attackers to authenticate as any existing WordPress user — including Administrators — whose email address is known, by supplying a Google-signed ID token obtained from an entirely unrelated OAuth client containing the target user's email claim, which causes the plugin to issue a signed App Builder JWT granting that user's full privileges. Exploitation requires the attacker to obtain a valid Google-signed ID token carrying the target user's email address, which can be achieved by operating a separate Google OAuth client and inducing the target user to authenticate through it.

引用元:Wordfence

確認と対応の進め方

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

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

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

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

運営元KanriPressのサービス案内

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

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

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