Authorized pentest suite for VMware vCenter CVE-2026-59310 (unauth root RCE via rsyslog path traversal) and CVE-2026-59309 (SRP auth bypass), with GUI/CLI, C2 and cleanup.
CVE-2026-59310 Unauthenticated root RCE · CVE-2026-59309 SRP authentication bypass
📸 Interface · 🧠 Vulnerability Principles · ⛓️ Attack Chain · 🧰 Features · 🚀 Quick Start · 📖 Documentation
GUI + CLI · Zero third-party dependencies · Python 3.8+ · Windows
[!WARNING] For use only in penetration testing / vulnerability verification / defensive research with prior written authorization. Unauthorized access to computer systems is a criminal offense. Users bear all legal responsibility.
Describing the actual input and output of each step from an attacker's perspective:
| # | What you do | What the tool does | What you get |
|---|---|---|---|
| 1 | Enter the target IP | Probe 443/5480/514/1514/389/636/2020 + API version + SASL mechanisms | Attack surface assessment (whether both CVEs are usable) |
| 2 | Send a UDP packet | Craft an RFC5424 message (APP-NAME carries path traversal + newline injection) | Write a root-owned file to any path on the target |
| 3 | Wait ~60 seconds | cron.d scheduled task triggers → command output redirected to VAMI static directory → read back over HTTP | root command execution + output exfiltration (no reverse connectivity required) |
| 4 | Send a SASL bind | SRP authentication bypass (A=N → K=SHA1("") → forge M1) | Read/write the SSO directory as any identity |
| 5 | Click "One-Click Full Chain" | Automatically chains steps 1-4 + create administrator + add to Administrators + bind verification | Administrator account that can log in to /ui + password |
| 6 | Log in to 443 with the delivered account | Official REST API read-only inventory: VMs / hosts / datastores / clusters / networks | Impact scope list (for the test report) |
| 7 | Click one-click cleanup on the ⑥ page | Generate cleanup commands (including all cron/file/account artifacts) | Restore the target to its original state |
[!IMPORTANT] The underlying vulnerable code for CVE-2026-59309/59310 (rsyslog path template + Likewise libsrp.so) has existed since vCenter 6.0. The VMSA advisory only lists fixed versions for currently supported branches; older versions that have reached end of support (6.0/6.5/6.7, etc.) cannot receive patches but are equally affected. Testing confirms that 6.x-era appliances (Photon 1.0 kernel) are exploitable for both vulnerabilities.
| Branch | Affected range | Fixed version | Support status |
|---|---|---|---|
| vCenter 9.1 | < 9.1.0.0300 | 9.1.0.0300 | ✅ Currently supported |
| vCenter 9.0 | < 9.0.2.0100 | 9.0.2.0100 (Build 25629525) | ✅ Currently supported |
| vCenter 8.0 U3 | < 8.0 U3k | 8.0 U3k | ✅ Currently supported |
| vCenter 8.0 U2 | < 8.0 U2f | 8.0 U2f | ✅ Currently supported |
| vCenter 8.0 initial/U1 | All | Upgrade to 8.0 U3k+ | ✅ Currently supported |
| vCenter 7.0 | — | Contact Broadcom for patch | ⚠️ Extended support |
| vCenter 6.x | All | No patch (EOL) | ❌ Mitigation only |
同时影响 VCF / vSphere Foundation / Telco Cloud 中内嵌的 vCenter 组件。
Vendor advisory: VMSA-2026-0006.1
The following results come from an authorized penetration test of a real vCenter 6.x environment (Photon 1.0 kernel):
| Test item | Result |
|---|---|
| 59310 write verification (non-destructive) | ✅ root file confirmed written to disk |
| 59310 RCE (VAMI echo) | ✅ uid=0(root) command execution confirmed |
| 59310 machine account extraction | ✅ dcAccountDN + dcAccountPassword |
| 59310 one-click full chain (auto shutdown→export→restore) | ✅ OVA written to disk |
| 59310 vSphere REST inventory | ✅ VM/host/storage/cluster/network inventory obtained |
| 59309 SRP mechanism confirmation | ✅ rootDSE advertises GSSAPI SRP |
| 59309 challenge parsing | ✅ N=2048bit RFC5054 prime |
| 59309 full bypass | ⏳ Requires retest on 6.x version (v1.6.4 fixed the parsing issue) |
| 项目 | 链接 |
|---|---|
| VMSA-2026-0006.1(厂商通告) | Broadcom Advisory |
| GHSA-v2gp-49gj-2c9f(CVE-2026-59310) | GitHub Advisory |
| GHSA-fcv2-9hgc-5mgq(CVE-2026-59309) | GitHub Advisory |
| vCenter 9.0.2.0100 发行说明 | Broadcom Docs |
| rsyslog GHSA-xmp9-244p-5ggv | GitHub Advisory |
Temporary Mitigation (when immediate upgrade is not possible):
pmrfc3164 parser (closing the RFC5424 attack surface)securepath="normal" + secpath-drop="replace"$EscapeControlCharactersOnReceive on📖 For complete mitigation measures and compromise indicator investigation, see docs/检测与加固.md