Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-84313— Nginx UI: TOTP / passkey enrolment requires no re-authentication, enabling persistent account takeover

Quick assessment

Affected
0xJacky nginx-ui
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Nginx UI 是 Nginx Web 服务器的 Web 管理界面。在版本 2.4.1 之前,POST /api/otp_enroll 和 POST /api/finish_passkey_register 这两个接口未受 RequireSecureSession 保护,它们接受普通的已认证会话,而不验证当前密码。攻击者若窃取了 JWT(JSON Web Token),可以在受害者尚未启用 TOTP(基于时间的一次性密码)时,绑定由攻击者控制的 TOTP 密钥;或者在注册路径缺乏等效的“已有绑定检查”机制的情况下

CVSS 8.8 · High EPSS 0.43% · P35

Affected Version Matrix 1

VendorProduct Version RangeStatus
0xJacky nginx-ui < 2.4.1 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-84313

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Nginx UI: TOTP / passkey enrolment requires no re-authentication, enabling persistent account takeover
Source: CVE Program / CVE List V5
Vulnerability Description
Nginx UI is a web user interface for the Nginx web server. Prior to 2.4.1, POST /api/otp_enroll and POST /api/finish_passkey_register are registered outside RequireSecureSession and accept a normal authenticated session without verifying the current password. An attacker with a stolen JWT can bind an attacker-controlled TOTP secret when the victim has not already enabled TOTP, or can register an attacker-controlled passkey because that path has no equivalent existing-enrollment guard. These changes create persistent account access that can survive a password change and interfere with the legitimate user's authentication. This issue is fixed in version 2.4.1.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
认证机制不恰当
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
0xJacky nginx-ui < 2.4.1 -

II. Public POCs for CVE-2026-84313

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-84313

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

Vendor Advisories for CVE-2026-84313 (1)

Same Patch Batch · 0xJacky · 2026-10-12 · 11 CVEs total

CVE-2026-84318 8.8 HIGH Nginx UI: MCP `nginx_config_add` Bypasses Directive Validation — Authenticated RCE
CVE-2026-84316 8.8 HIGH Nginx UI: nginx config directive denylist (ValidateConfigFile) is bypassable via same-line
CVE-2026-84317 8.8 HIGH Nginx UI: MCP nginx_config_add skips config directive validation → authenticated nginx dir
CVE-2026-84314 8.7 HIGH Nginx UI: Account Takeover via Missing `RequireSecureSession` on User Management Endpoint
CVE-2026-84315 8.3 HIGH Nginx UI OTP secure-session step-up is missing on sensitive mutation routes
CVE-2026-84319 8.3 HIGH Nginx UI: MCP configuration tools bypass restricted directive validation and allow seconda
CVE-2026-84360 8.1 HIGH Nginx UI: OTP secure-session step-up can be bypassed via MCP configuration tools
CVE-2026-84312 7.1 HIGH Nginx UI: Casdoor SSO callback uses a constant `state` parameter (login CSRF)
CVE-2026-84320 6.3 MEDIUM Nginx UI: Auto backup name allows path traversal outside validated storage path
CVE-2026-84321 5.4 MEDIUM Nginx UI: Standalone short tokens survive administrative revocation in cache and authentic

IV. Related Vulnerabilities

V. Comments for CVE-2026-84313

No comments yet


Leave a comment