# CVE-2026-123903 — vmdir authentication bypass (VMware vCenter) A **failed** LDAP SASL bind plants the claimed identity's access token on the connection, so the next plaintext LDAP operations run as that identity — no credentials required. With an administrator UPN claimed, that is unauthenticated account creation plus `cn=Administrators` membership. - Component: VMware Directory Service (`vmdir`), vCenter Server - Affected: 8.0 U3k and earlier (also 9.0.x / 9.1.x below the fixed builds) - Fixed: vCenter **8.0 U3m**, 9.1.2, 9.0.2 express patch — see VMSA-2026-0011 - Reference: Broadcom support notification 39626 → `vmware/vcf-security-and-compliance-guidelines`, `security-advisories/vmsa-2026-0011/README.md` (FAQ Q7: "a new and distinct issue") ## Mechanism `VmDirMLBind`'s SASL branch sets `bIsAnonymousBind = FALSE`, then calls `_VmDirSASLBind`. On a SASL step failing with `LDAP_INVALID_CREDENTIALS`, that function's error path resolves the **client-chosen user name** (`SASL_USERNAME`, i.e. the SASL authorization identity) to a directory entry and calls `_VmDirBindSetupAccessInfo(&conn->AccessInfo, entry)` — planting the entry's access token, SID and normalized DN **on the connection** — then tears the SASL session down without clearing `AccessInfo`. The simple-bind failure path *does* clear it, which is why failed simple binds are harmless. The bind still returns `49`; the connection is now that identity. ## Usage Requirements: Python 3 standard library only. No third-party packages. ```bash # read-only: failed bind claiming the admin UPN, then read admin-only data (baseline vs planted) python3 vc123903_poc.py prove --host --i-have-authorization python3 vc123903_poc.py prove --host --port 636 --tls --i-have-authorization # impact: create an account and add it to cn=Administrators (gated: --prove-write, a TTY, # two typed 'yes'; the password is generated in-process or read from a mode-0600 file) python3 vc123903_poc.py create-admin --host --account \ --first VW --last POC --reversible --i-have-authorization --prove-write # undo an account left behind by an interrupted impact proof python3 vc123903_poc.py cleanup --host \ --dn "cn=VW POC,cn=Users,dc=vsphere,dc=local" --i-have-authorization --prove-write ``` `--reversible` performs create → verify membership by read-back → remove member → delete the entry, so nothing persists and the generated password is never stored. ## Reading the result correctly `resultCode 0` alone is **not** proof: vmdir filters unreadable entries and still returns success (a nonexistent base is the only way to get `32`). `prove` therefore compares an unplanted baseline connection with the planted one and requires escalation signals — visibility of `cn=Administrators,cn=Builtin,` / its member list, and readability of sensitive attributes (`vmwSRPSecret`, `nTSecurityDescriptor`) on the administrator entry. ## Notes - The claimed identity only needs to resolve to a privileged entry; no password or key material is used. - Sensitive-attribute reads and the member roster are returned by `prove` as evidence. - Authorized testing only: pass `--i-have-authorization`; writes additionally require `--prove-write` and interactive confirmation. Declined/non-interactive runs exit 0 with a `SKIP_` line.