Ce mail provient de l'extérieur, restons vigilants

=====================================================================


                            CERT-Renater

                Note d'Information No. 2026/VULN1210

_____________________________________________________________________

DATE                : 27/11/2026

HARDWARE PLATFORM(S): /

OPERATING SYSTEM(S): Systems running Nginx-UI (Go) versions prior to
                                         2.9.5.

====================================================================
https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-q856-qj25-p7fc
https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-gv2g-m37c-8wwh
_____________________________________________________________________


OIDC login resolves the local account from unverified,
end-user-controlled claims, allowing impersonation of any user
including the administrator

This report was submitted with AI assistance
High
0xJacky published GHSA-q856-qj25-p7fc

Package
github.com/0xJacky/Nginx-UI (Go)

Affected versions
>= 2.3.3, < 2.9.5

Patched versions
>= 2.9.5


Description

Summary

When OIDC login was enabled, Nginx UI picked the local account from
the ID token through the fallback chain Identifier → email → name → sub
and matched the result against existing account names. name is a display
name the user can edit at most identity providers, and email was trusted
without email_verified. A configured Identifier whose claim was missing
also fell through silently to the next claim. Anyone who could sign in
at the configured identity provider could log in to Nginx UI as an
existing account, including the administrator, by setting their own
display name or email to that account's username. The identity provider
doesn't need to be compromised.


Impact

Instances with OIDC login enabled whose identity provider serves people
other than the Nginx UI users, such as a company tenant, a shared
Keycloak, Authentik or Zitadel, or any provider with self-registration.
An attacker gets a session for an existing account they choose by name.


Patches

Fixed in v2.9.5 (cab1e54). A configured Identifier is now used exclusively,
and a missing or empty claim refuses the login. Without one, the order is
verified email, then sub. name is no longer used, and email requires email
verified. TrustUnverifiedEmail (default off) is an explicit opt-out for
providers that never send email_verified.


Workarounds

Until you upgrade, allow only the people who should have Nginx UI accounts
to sign in to the Nginx UI application at your identity provider.

Credits

Reported by @thesecguy45.
Severity
High
7.5/ 10

CVSS v3 base metrics
Attack vector
Network
Attack complexity
High
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

CVE ID
No known CVE

Weaknesses
Weakness CWE-287
Weakness CWE-290 

_____________________________________________________________________

Casdoor login accepts tokens from other organizations and, in the
JWT-Standard format, resolves the account by display name

High
0xJacky published GHSA-gv2g-m37c-8wwh

Package
github.com/0xJacky/Nginx-UI (Go)

Affected versions
>= 2.0.0-beta.5, < 2.9.5

Patched versions
>= 2.9.5


Description

Summary

When Casdoor login is configured, the Nginx UI callback verified only the
signature of the Casdoor access token and then signed in the local account
whose username equalled the token's name claim. It did not check which
Casdoor organization the user belongs to, which application the token was
issued for, or the token type. In the JWT-Standard token format, name
carries the user's display name (the username is in preferred_username),
and Casdoor lets users edit their display name by default.
Impact

Affects instances with Casdoor login configured. Depending on the Casdoor
configuration, a person holding an ordinary Casdoor account could be
signed in as an existing Nginx UI account with the same name, including
an administrator:

    a user of a different Casdoor organization that can sign in to the
application (for example the built-in organization, or other
organizations of a shared application);
    with the JWT-Standard token format, any user of the configured
organization who sets their display name to an Nginx UI username.

For accounts without a second factor, which is the default, this yields
a full administrator session. Accounts with TOTP or a passkey enrolled
still need the second factor for secure-session routes (terminal,
configuration, certificates, settings, users, cluster).


Patches

Fixed in v2.9.5 (bffd49f): the token's owner must equal the configured
Organization, aud must be the configured ClientId
(or <ClientId>-org-<Organization> for shared applications), refresh
tokens are refused, and in the JWT-Standard format the account is
resolved by preferred_username.


Workarounds

Use the JWT or JWT-Empty token format for the Casdoor application used
by Nginx UI, do not let users of other organizations sign in to it,
and disable sign-up and guest sign-in for it. Alternatively, require
a second factor for all accounts (MFARequired).


Notes

Casdoor sign-up remains an operator-side risk after the fix: anyone
who can register a Casdoor account in the configured organization with
the same username as an Nginx UI user can sign in as that user. The
Casdoor guide documents disabling sign-up for the application used by
Nginx UI.


Severity
High
7.5/ 10

CVSS v3 base metrics
Attack vector
Network
Attack complexity
High
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

CVE ID
No known CVE

Weaknesses
Weakness CWE-287
Weakness CWE-290


=========================================================
+ CERT-RENATER        |    tel : 01-53-94-20-44         +
+ 23/25 Rue Daviel    |    fax : 01-53-94-20-41         +
+ 75013 Paris         |   email:cert@support.renater.fr +
=========================================================




