Skip to content
High 7.5

WPFront User Role Editorに権限昇格の脆弱性、認証済みの利用者が管理者を乗っ取るおそれ

CVE-2026-125301 First seen on SecPulse

Summary

WPFront User Role Editorの4.2.5までのすべての版に、サブスクライバー以上の権限を持つ利用者が管理者アカウントを乗っ取れる脆弱性があります。サイトを全面的に乗っ取られるおそれがあり、深刻度はCVSSで7.5と評価されています。公表時点で修正版は確認されていないため、最新の情報を確認してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

WPFront User Role Editorの4.2.5までのすべての版に、サブスクライバー以上の権限を持つ利用者が管理者アカウントを乗っ取れる脆弱性があります。サイトを全面的に乗っ取られるおそれがあり、深刻度はCVSSで7.5と評価されています。公表時点で修正版は確認されていないため、最新の情報を確認してください。

Affected packages

PackageAffected → Fixed
syammohanmWPFront User Role Editor
≤ 4.2.5→ Not listed

This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.

Original description The description as published by the source.

The WPFront User Role Editor plugin for WordPress is vulnerable to Privilege Escalation via Administrator Account Takeover in all versions up to, and including, 4.2.5 The vulnerability exists because the User Switching feature writes the switch-back user stack to the object cache under a site-wide, user-agnostic key (wpfront_ure_user_switching_stack_) with no TTL, while get_switched_users_stack() short-circuits all validation on a cache hit — returning the cached administrator stack after only confirming that a cookie with the matching name is present, bypassing Utils::decrypt(), the COOKIEHASH comparison, and the 12-hour expiry check — and admin_bar_menu_actions() renders the switch-back UI node with no current_user_can() check, and the current_user_can(self::CAP) gate in switch_user() executes only after wp_set_current_user($admin_id) has already replaced the request context, causing it to evaluate against the administrator's capabilities rather than the attacker's. This makes it possible for authenticated attackers with Subscriber-level access and above to obtain a valid switch-back nonce bound to their own ID, trigger wp_set_auth_cookie() for an administrator account, and achieve complete site takeover — including the ability to manage options, install plugins, edit themes, and manipulate user accounts. Exploitation requires that a persistent object cache (e.g., Redis or Memcached) is active on the site and that an administrator has used the Switch To fe…

Source: CVE.org (CVE Program・cvelistV5) NVD

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details