VSA-2026-074: LDAP Authentication Bypass via session.signIn
| Published | Updated | Severity | CVSS 4.0 | Affected products |
|---|---|---|---|---|
| 2026-11-30 | 2026-11-30 | ๐ด Important | Not available yet | - Xen Orchestra / Xen Orchestra Appliance |
A flaw in session.signIn allows an adversary to sign in as any LDAP user without knowing the password has been discovered in Xen Orchestra that is part of the Xen Orchestra Appliance. For Vates products, we classify the impact as Important. For details on how we assign severity levels, see our Severity Levels Explained page.
Summaryโ
session.signIn accepts password: null. The empty-password guard in authenticateUser only rejects the exact string '', and the LDAP plugin only checks password === undefined, so null gets through to client.bind(entry.dn, null). ldapts (BindRequest: this.password = options.password ?? '') turns null into an empty password. The bind becomes an LDAP unauthenticated simple bind (RFC 4513 ยง5.1.2: a DN with an empty password). Directories that accept unauthenticated binds return success for it. Microsoft Active Directory does so unless DenyUnauthenticatedBind is set, and OpenLDAP does with olcAllows: bind_anon_dn. On those directories, anyone who knows an LDAP login name can sign in to Xen Orchestra as that user without the password, including XO administrators.
The web /signin form is not affected because passport-local rejects empty fields, but the JSON-RPC session.signIn method has no params schema and goes around both checks.
Impactโ
The terms anonymous bind and unauthenticated bind are frequently used interchangeably but they describe two distinct LDAP behaviors (RFC 4513, section 5.1):
- Anonymous bind: a simple bind with an empty name and an empty password. The client does not claim any identity.
- Unauthenticated bind: a simple bind with a non-empty name (e.g, a DN or UPN) and an empty password. The client claims an identity but supplies no credentials.
An adversary who has network access to xo-server and knows a valid LDAP login name can sign in to Xen Orchestra as that user without the password. If the targeted account belongs to a user with Admin privilege, it can lead to the full compromise of the Vates VMS stack.
Statusโ
- Released
Affected Versionsโ
- Xen Orchestra before 6.10.2: Affected.
- Xen Orchestra Appliance before 6.10.2: Affected.
Mitigationโ
Several mitigation options are available but updating is strongly recommended.
Disable unauthenticated bind on Active Directoryโ
Set DenyUnauthenticatedBind with ADSI Edit, so the directory rejects the empty-password bind that this bypass relies on.
- Open ADSI Edit (adsiedit.msc) on a domain controller or AD LDS server.
- Right-click ADSI Edit, select Connect to and choose Configuration.
- Expand Configuration > CN=Configuration... > CN=Services > CN=Windows NT.
- Right-click CN=Directory Service and select Properties.
- Select
msDS-Other-Settings, click Edit, addDenyUnauthenticatedBind=1.
Alternatively, use the following PowerShell command:
Set-ADObject -Identity "CN=Directory Service,CN=Windows NT,CN=Services,$((Get-ADRootDSE).ConfigurationNamingContext)" -Add @{ 'msDS-Other-Settings' = 'DenyUnauthenticatedBind=1' }
Disable unauthenticated bind on OpenLDAPโ
Remove bind_anon_dn from olcAllows, so the directory rejects unauthenticated binds.
Resolutionโ
As of 2026-11-30, Xen Orchestra version 6.11.0 and Xen Orchestra version 6.10.2 have been updated and include the fix for this issue. It is currently available on the latest channel and on stable channel.
List of packages fixing this issue:
- xo-server-auth-ldap:
0.10.14
Creditsโ
Discovered by @hgrgr