0xJacky nginx-ui
Nginx UI: Authentication bypass: password login does not enforce a passkey-only second factor (2FA bypass)
Nginx UI is a web user interface for the Nginx web server. From 2.0.0 until 2.5.0, POST /api/login checks EnabledOTP but does not require a WebAuthn assertion when EnabledPasskey is true and no TOTP secret is configured. A passkey-only account is therefore issued a session after password verification, despite Enabled2FA reporting that the account has a second factor. An attacker who obtains the password can take over the account and reach administrative functionality without the registered passkey. This issue is fixed in version 2.5.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2.0.0, < 2.5.0
Fixed in 2.5.0
Mitigation
Upgrade nginx-ui to 2.5.0 or later.
References
- Vendor advisory github.com/0xJacky/nginx-ui/security/advisorie…
- Patch github.com/0xJacky/nginx-ui/commit/95cd21b7081…
- Release notes github.com/0xJacky/nginx-ui/releases/tag/v2.5.…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.