VMware vCenter vmdir Authentication Bypass via Failed LDAP SASL Bind (CVE-2026-123903)
Published: 2026-11-27 • Researcher: dinosn (PoC); Broadcom / VMware (advisory)
- Severity
- Critical
- CVE
- CVE-2026-123903
- Category
- network
- Affected product
- VMware vCenter Server / VMware Directory Service (vmdir)
- Affected versions
- vCenter 8.0 U3k and earlier; 9.0.x below 9.0.2.0300; 9.1.x below 9.1.2; VMware Cloud Foundation 5.x below 5.2.5; listed Telco Cloud builds
- Disclosed
- 2026-11-27
- Patch status
- Unverified
References
Archive entry
intelseclab/poc-archiveOn this page
Metadata
| Field | Value |
|---|---|
| Date Added | 2026-11-27 |
| Last Updated | 2026-11-24 |
| Author / Researcher | dinosn (PoC); Broadcom / VMware (advisory) |
| CVE / Advisory | CVE-2026-123903 |
| Category | network |
| Severity | Critical |
| CVSS Score | 9.8 (CVSSv3.1) |
| Status | PoC (read-only proof; write action gated) |
| Tags | authentication-bypass, LDAP, SASL, vmdir, VMware, vCenter, unauthenticated, CWE-287 |
| Related | N/A |
Affected Target
| Field | Value |
|---|---|
| Software / System | VMware vCenter Server / VMware Directory Service (vmdir) |
| Versions Affected | vCenter 8.0 U3k and earlier; 9.0.x below 9.0.2.0300; 9.1.x below 9.1.2; VMware Cloud Foundation 5.x below 5.2.5; listed Telco Cloud builds |
| Language / Platform | Python 3 standard library client; vmdir LDAP service on TCP 389/636 |
| Authentication Required | No |
| Network Access Required | Yes (LDAP reachable) |
Summary
CVE-2026-123903 is an authentication bypass in VMware vCenter’s vmdir directory service. A failed LDAP SASL bind that claims a directory identity resolves that identity and plants its access token, SID and normalized DN on the connection; the SASL error path tears the session down without clearing that state. The bind still returns LDAP error 49, but subsequent plaintext LDAP operations on the same connection run as the claimed identity. Claiming an administrator UPN therefore gives an unauthenticated attacker an administrator session, account creation and membership in cn=Administrators. The included PoC has a read-only prove mode and a gated, reversible create-admin mode.
Vulnerability Details
Root Cause
In _VmDirSASLBind, a SASL step failing with LDAP_INVALID_CREDENTIALS reaches an error path that calls _VmDirBindSetupAccessInfo() for the client-chosen SASL_USERNAME and leaves the resulting access token on the connection. The simple-bind failure path clears this state, which is why failed simple binds are harmless.
Attack Vector
An unauthenticated attacker sends a failed SASL bind that claims an administrator UPN (no password or key material), then uses the same connection for LDAP reads or writes. The PoC compares a baseline connection with a planted one and requires privileged signals such as visibility of cn=Administrators,cn=Builtin and readability of sensitive attributes on the administrator entry.
Impact
Full administrative access to vCenter, including account creation and addition to cn=Administrators. The PoC’s write mode is reversible (create, verify, remove, delete) and gated behind --prove-write, a TTY and two typed confirmations; the default prove mode is read-only.
Environment / Lab Setup
OS: Linux/macOS with Python 3 (standard library only)
Target: VMware vCenter with vmdir reachable on 389 or 636
Attacker: Python 3 client on an authorized network path
Tools: python3, ldap/socket (stdlib)Setup Steps
| |
Proof of Concept
Step-by-Step Reproduction
- Open a baseline LDAP connection and record what the unauthenticated session can read.
- Send a SASL bind claiming an administrator UPN with invalid credentials; expect LDAP error 49.
- Reuse the connection for plaintext LDAP operations;
provechecks for administrator-only object visibility and sensitive attribute reads. - For impact,
create-admincreates a temporary account, verifies membership, removes it and deletes the entry (--reversible).
Exploit Code
See
vc123903_poc.py,ldap_raw.pyandsrp_cyrus.py.
The PoC is deliberately gated: --i-have-authorization is required for every target, and write actions additionally require --prove-write plus interactive confirmation.
Expected Output
| |
Detection & Indicators of Compromise
- LDAP SASL bind failures (resultCode 49) followed by successful privileged LDAP operations on the same connection.
- Unexpected account creation or additions to cn=Administrators in vmdir.
- Reads of sensitive attributes such as
vmwSRPSecretornTSecurityDescriptorby an unauthenticated connection. - vmdir / vCenter authentication logs showing a claimed administrator UPN on a failed SASL bind.
SIEM / IDS rule (example):
| |
Remediation
| Action | Detail |
|---|---|
| Patch | Upgrade vCenter to 8.0 U3m, 9.0.2.0300, 9.1.2 or later; apply the corresponding VMware Cloud Foundation / Telco Cloud fixes. |
| Workaround | Restrict LDAP/LDAPS access to vCenter to trusted management networks; do not expose vmdir broadly. |
| Config Hardening | Monitor vmdir authentication failures and privileged account changes; review VMSA-2026-0011 guidance. |
References
Notes
Reviewed from the 2026-11-27 watchlist. The repository is a careful, read-only-by-default PoC with explicit scope gating and a reversible write mode; it is not a detector or scanner. No upstream license file is present; the code is archived with attribution for authorized research only.
The PoC was not executed during preparation. The claimed identity only needs to resolve to a privileged directory entry; test only against vCenter instances you own or have written authorization to assess.
| |