目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-125301— WPFront User Role Editor <= 4.2.5 - Authenticated (Subscriber+) Privilege Escalation via Account Takeover to User Switching Cache Short-Circuit

一分钟漏洞结论

影响对象
syammohanm WPFront User Role Editor
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

WPFront User Role Editor 插件(WordPress)在所有版本中均存在“通过管理员账号接管进行权限提升”的漏洞,直至并包括 4.2.5。漏洞原因在于:“用户切换”功能把“切换回来的用户栈”写入对象缓存,但使用的是站点级、与用户无关的 key( ),且没有 TTL;同时,当缓存命中时, 会短路所有校验,仅在确认存在同名 cookie 后就返回缓存的管理员栈,绕过 、COOKIEHASH 比较以及 12 小时过期检查;此外, 在渲染“切换回来”的 UI 节点时没有 检查;而 中的 门控只会在 已

CVSS 7.5 · High
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-125301 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
WPFront User Role Editor <= 4.2.5 - Authenticated (Subscriber+) Privilege Escalation via Account Takeover to User Switching Cache Short-Circuit
来源: CVE Program / CVE List V5
Vulnerability Description
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_<COOKIEHASH>`) 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 feature at least once while the attacker maintains an active authenticated session. Successful exploitation gives the attacker control of a distinct, already-privileged Administrator account; it does not promote the attacker's original account.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
特权管理不恰当
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
syammohanm WPFront User Role Editor 0 ~ 4.2.5 -

二、漏洞 CVE-2026-125301 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-125301 的情报信息

请登录查看更多情报信息。

CVE-2026-125301 其他参考 (8)

IV. Related Vulnerabilities