Naimur Email OTP Verification for WooCommerce 2.1.0以下 - 途中で中断されたパスワードリセットの完了処理を介した認証不要の認証回避によるアカウント乗っ取り

元情報の公開:2026/11/07 06:32 / 元情報の更新:2026/11/07 20:26(日本時間)

日本語訳

WordPress用プラグイン「Naimur Email OTP Verification for WooCommerce」の2.1.0以下のバージョンには、認証回避の脆弱性があります。原因は、プラグインのパスワードリセット完了エンドポイント(CEOVW_AJAX::update_new_password()が処理するwp_ajax_nopriv_ceovw_update_new_passwordアクション)が、メールアドレスをVERIFIEDとして記録したデータベース行の存在だけでリセットを許可し、タイムスタンプの確認、セッションとの紐付け、リセットごとのトークンがないことです。これに加え、mark_otp_as_verified_for_reset()は利用者がコードを入力した後も行をその状態で残すため、手順が途中で中断されると行が残ります。また、予定されたceovw_cleanup_expired_otps_event cronにはプラグインのどこにもadd_action()ハンドラーがなく、後処理が一度も実行されません。

これにより、認証されていない攻撃者は、所有者が以前にパスワードリセットコードを要求して検証を済ませたものの、すぐに新しいパスワードの選択を完了しなかった任意のアカウントを乗っ取れます。攻撃者に必要なのは、被害者のメールアドレスと、プラグイン自身が未ログインの訪問者向けにWooCommerceのアカウントページのCEOVW_APPグローバルへ公開出力するnonceだけです。その後、エンドポイントを呼び出して被害者のパスワードを上書きすると、その利用者の有効なwordpress_logged_in_セッションCookieが返されます。対象が管理者アカウントであれば、サイト全体の乗っ取りになります。

原文(英語)

Naimur Email OTP Verification for WooCommerce <= 2.1.0 - Unauthenticated Authentication Bypass to Account Takeover via Abandoned Password Reset Finalization

The Naimur Email OTP Verification for WooCommerce plugin for WordPress is vulnerable to authentication bypass in versions up to, and including, 2.1.0. This is due to the plugin's password-reset finalization endpoint (the wp_ajax_nopriv_ceovw_update_new_password action handled by CEOVW_AJAX::update_new_password()) authorizing the reset solely by the presence of a database row marking an email as 'VERIFIED', with no timestamp check, no session binding, and no per-reset token — combined with mark_otp_as_verified_for_reset() leaving the row in that state after a user enters their code (abandoning the flow leaves the row behind), and a scheduled 'ceovw_cleanup_expired_otps_event' cron that has no add_action() handler anywhere in the plugin so cleanup never runs. This makes it possible for unauthenticated attackers to take over any account whose owner previously requested and verified a password-reset code and did not immediately finish choosing a new password — the attacker needs only the victim's email address and a nonce that the plugin itself localizes publicly into the CEOVW_APP global on the WooCommerce account page for logged-out visitors, after which they call the endpoint, overwrite the victim's password, and are returned a live wordpress_logged_in_ session cookie for that user (full site takeover if the account is an administrator).

引用元:Wordfence

確認と対応の進め方

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

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

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

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

運営元KanriPressのサービス案内

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

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

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