CVSS 7.5 HIGH 未ログインで悪用可能
| 対象 | プラグイン Magic Login Mail or QR Code 有効インストール約 100 件 |
|---|---|
| 影響バージョン | 2.07 以下 |
| 修正版 | 2.08 |
| CVE | CVE-2026-126721 |
| 種類 | 権限昇格(Improper Privilege Management) |
| 公表 | 2026年11月18日 当サイト掲載: 2026年11月18日 12:16 |
何が起きるか
ログイン用メールのリンク生成に不備があり、管理者宛てのログイン情報が攻撃者に渡る恐れがあります。管理者がそのリンクを開くと、攻撃者が管理者としてログインできてしまいます。
想定される被害と条件
- 攻撃者が管理者アカウントでログインし、サイト全体を乗っ取る恐れ
- 不正なユーザー追加、プラグイン導入、改ざん、マルウェア設置などの二次被害
- 管理者が身に覚えのないログイン用メールのリンクを開いた場合に発生
- ログイン用ショートコードが404ページやヘッダー部分などに表示されていることが条件
- サーバーが不正なホスト名のアクセスを受け付ける設定であることが条件
今日やること
Magic Login Mail or QR Code を 2.08 以上に更新し、未修正のままなら停止・削除を検討してください。
すぐに更新できない場合
更新できるまでプラグインを停止するか、[magic_login] ショートコードを404ページやヘッダーなどから外してください。また、自分で依頼していないログイン用メールのリンクは開かないよう管理者に周知してください。
更新後に確認すること
- 管理画面「ユーザー」で、見覚えのない管理者アカウントや権限変更がないか確認する
- 「プラグイン」「外観」で見覚えのない追加・変更がないか、投稿・固定ページに不審な改ざんがないか確認する
- 管理者のメール受信履歴に、依頼していないログイン用メールが届いていないか確認する
- 念のため管理者全員のパスワードを変更し、全セッションからログアウトさせる
不審な投稿・ユーザー・ファイルが見つかった場合は、専門家への相談をおすすめします。
Magic Login Mail or QR Code の現在の情報 (WordPress.org、2026-11-18 取得)
| 最新版 | 2.08 修正版を含む |
|---|---|
| 対応 WordPress | 5.3 以上(検証済み 7.1.4) |
| 最終更新 | 2026-11-11 10:54pm GMT |
| 有効インストール | 100+ |
| リンク | WordPress.org のページ 公式サイト |
この脆弱性を共有する このプラグインを使っている方や、サイトの管理を任せている制作会社にも。
原文(Wordfence Intelligence)
The Magic Login Mail or QR Code plugin for WordPress is vulnerable to Privilege Escalation via Administrator Account Takeover in versions up to, and including, 2.07. This is due to the `curpageurl()` function falling back to the raw `$_SERVER[’HTTP_HOST’]` value — with no validation against the site’s configured origin via `home_url()` or `site_url()` — when `get_the_permalink()` returns empty or false, allowing an attacker-controlled Host header to become the URL origin of the magic-login link generated by `generate_url()` and delivered to the target via `wp_mail()`. This makes it possible for unauthenticated attackers to intercept the one-time uid and token pair sent to a targeted Administrator’s email and replay them against the real site, causing `autologin_via_url()` to call `wp_set_auth_cookie()` and establish a full Administrator session on the targeted account. Exploitation requires the `[magic_login]` shortcode to render on a path where `get_the_permalink()` returns empty or false (such as a 404 page or a block-theme header template part), the web server to forward non-canonical Host headers, the attacker to know the target administrator’s email address, and the administrator to click the attacker-originated magic-login link. Successful exploitation gives the attacker control of a distinct, already-privileged Administrator account; it does not promote the attacker’s original account. Successful exploitation additionally requires an action by an administrator — the attacker cannot trigger the vulnerability on their own.
参考リンク
脆弱性情報の出典と著作権
脆弱性情報の出典: Wordfence Intelligence のレコード。Copyright 2012-2026 Defiant Inc. License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. Read more.
CVE: Copyright 1999-2026 The MITRE Corporation. CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Terms of Use.
本ページの作成について: 上記の出典データをもとに、「何が起きるか」「今日やること」「更新後に確認すること」などの日本語解説は生成 AI が作成し、サイトの主治医が随時確認しています。誤りに気づかれた場合はお問い合わせください。
最近公表された深刻度の高い脆弱性
- WordPressプラグイン「Add-on Brevo for Gravity Forms」にバックドア混入の脆弱性(CVE-2026-135202) 2026/11/24
- WordPressプラグイン「Orphans」にクロスサイトスクリプティングの脆弱性(CVE-2026-124216) 2026/11/21
- WordPressプラグイン「ElasticPress」にクロスサイトスクリプティングの脆弱性(CVE-2026-116518) 2026/11/21
- WordPressプラグイン「Accept Stripe Payments」にXSSの脆弱性(CVE-2026-130323) 2026/11/21
- WordPressプラグイン「AutomatorWP」に格納型XSSの脆弱性(CVE-2026-120736) 2026/11/21

