修正版ありWPML Multilingual CMS

WPML Multilingual CMS 4.9.7以下 - 'wpml_sso_token_domain'パラメーターを介した言語別ドメインSSOにおける認証不要の認証回避

元情報の公開:2026/11/10 03:29 / 元情報の更新:2026/11/11 23:52(日本時間)

日本語訳

WordPress用プラグイン「WPML Multilingual CMS」の4.9.7以下のバージョンには、競合状態を介した認証回避の脆弱性があります。原因は、process_iframe_request関数の言語別ドメインSSOハンドラーが、ログアウト後の到着ページでwp_create_nonce('wpml_sso')を使い、ドメイン間のサインイントークンを生成することです。この時点でブラウザーはすでに認証Cookieを破棄しているため、wp_get_session_token()は空文字列を返し、トークンは利用者に紐付いた秘密値ではなく、現在の12時間単位の区間で共有される匿名のnonceになります。さらに、このトークンは、特定のサインアウト操作や要求元クライアントとの紐付けなしに、被害者のuser_idに対応付けられたwpml_sso_user_〈token〉_〈sha256('wpml_sso'.$domain)〉トランジェントに保存されます。

認証されていない攻撃者は、wp-login.php?action=logoutでログアウト確認処理を開始することで、同一のトークンを独自に導き出せます。また、is_iframe_request()の通過条件であるドメインごとのSSOのstartedトランジェントと、公開定数SSO_NONCEから導出されるドメインハッシュは、SSO_TIMEOUTの60秒間の範囲内にすべて算出可能です。そのため、正規のwpml_user_signed_out iframeが動作する前に、偽造したwpml_sso_token_domainパラメーターをwpml_user_signed_in状態とともに副言語ドメインのエンドポイントへ送信し、被害者のWordPress認証Cookieを発行させることができます。

これにより、認証されていない攻撃者は、競合が起きる時間帯に実際にログアウト処理中である利用者のアカウントへ、管理者のアカウントを含めてアクセスできるようになります。

原文(英語)

WPML Multilingual CMS <= 4.9.7 - Unauthenticated Authentication Bypass in Language-per-Domain SSO via 'wpml_sso_token_domain' Parameter

The WPML Multilingual CMS plugin for WordPress is vulnerable to Authentication Bypass via Race Condition in versions up to, and including, 4.9.7. This is due to the `process_iframe_request` function's language-per-domain SSO handler generating the cross-domain sign-in token via `wp_create_nonce('wpml_sso')` on the logout landing page, where the browser has already discarded its authentication cookies — so `wp_get_session_token()` returns an empty string and the token collapses to the shared anonymous nonce for the current 12-hour tick rather than a user-bound secret — and then storing it in the `wpml_sso_user_<token>_<sha256('wpml_sso'.$domain)>` transient mapped to the victim's `user_id` with no binding to the specific sign-out action or requesting client. Because an unauthenticated attacker can independently derive the identical token by triggering the logout confirmation flow on `wp-login.php?action=logout`, and because the `is_iframe_request()` gate conditions (the per-domain SSO `started` transient and domain-hash derived from the public constant `SSO_NONCE`) are fully computable within the 60-second `SSO_TIMEOUT` window, an unauthenticated attacker can submit the forged `wpml_sso_token_domain` parameter with a `wpml_user_signed_in` status to a secondary language-domain endpoint before the legitimate `wpml_user_signed_out` iframe fires, causing WordPress authentication cookies to be issued for the victim. This makes it possible for unauthenticated attackers to gain access to accounts of users — including administrators — who are actively in the process of logging out during the race window.

引用元:Wordfence

確認と対応の進め方

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

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

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

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

運営元KanriPressのサービス案内

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

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

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