Skip to content
Projets

dinosn/CVE-2026-123890

Voir sur GitHub

À propos

PoC for CVE-2026-123890: unauthenticated SRP-6a session-key disclosure in VMware vCenter vmdird DCE/RPC (TCP 2012). Bind -> rpc_srp_verifier new -> get_session_key -> K leaked without password; optional verify_session completes an [email protected] session.

Sécurité et confidentialité

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
+1
in 7 days
Historique en cours
in 15 days
Historique en cours
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

CVE-2026-123890 — VMware vCenter vmdir SRP-6a Session-Key Disclosure (PoC)

Unauthenticated authentication bypass in the VMware Directory Service (vmdird) DCE/RPC rpc_srp_verifier interface on TCP 2012 (VMSA-2026-0009, CVSS 9.8, CWE-288; disclosed 2026-11-19, actively exploited in the wild per CISA KEV and Mandiant MNDT-2026-0050).

The bug

vmdird exposes an SRP-6a verifier service over DCE/RPC. The session key is returned by rpc_srp_verifier_get_session_key without any check that the SRP proof (verify_session) ever completed — srp_verifier_is_authenticated is never called. An attacker who can reach port 2012:

  1. binds to rpc_srp_verifier (no authentication required),
  2. calls opnum 0 (rpc_srp_verifier_new) as any user — e.g. [email protected] — with their own SRP A value (no password needed),
  3. calls opnum 1 (rpc_srp_verifier_get_session_key) — the server returns the session key K,
  4. (optional, completes the bypass) computes the SRP proof M from the disclosed K and calls opnum 3 (verify_session) — the server accepts it and builds an authenticated [email protected] session.

Usage

Python 3, standard library only (no dependencies).

# offline suites
python3 vc123890_poc.py --selftest

# against an authorized lab target
python3 vc123890_poc.py probe --host <target> --port 2012
python3 vc123890_poc.py key   --host <target> --port 2012 \
                              --user [email protected]

probe verifies the DCE/RPC bind; key performs the disclosure and prints the leaked session key. The opnum-3 proof step is available via build_verify_request()/calc_M() in the module.

Verified

Live-verified against a standalone vmdird (vCenter 8.0.3 U3k / build 25600417, vmware-directory-8.0.3.01000): bind_ack accepted, K disclosed (32 bytes) with no credentials, and verify_session returned success (ret=0 + HAMK), confirming the authenticated administrator session server-side.

The db stage's vmdirdbcp request stubs are byte-exact against the binary's NDR interpreter stream (ref-pointer wide strings, bare 20-byte context handles) and the server unmarshals them; live open returns access-denied (ret=5) because the follow-on calls must carry the SRP-GSSAPI auth trailer bound to the disclosed session key — the remaining, unimplemented step.

Affected / fixed

Affected: vCenter 9.1.x (< 9.1.1.0200), 9.0.x (< 9.0.2.0200), 8.0 (< 8.0 U3m), 5.x (< 5.2.5). Fixed in VMSA-2026-0009. No configuration workaround.

Legal

For authorized security testing and research only. The author is not affiliated with Broadcom/VMware. Weaponization notes: post-auth vmdirdbcp exfiltration is not included in this PoC.

Explorer des projets similaires

Chargement…