Skip to content
Skillpedia
Security5.4k Β· #14951

vmware-vcenter-attack

What it does

This skill identifies VMware vSphere and vCenter servers from outside and checks them against known vulnerability lists and misconfigurations. It is for authorized testing of an organization's exposed virtualization management systems.

When to use it

  • βœ“When an internet-facing site shows a VMware vCenter or vSphere login page.
  • βœ“When a Workspace ONE or Aria management site is in scope for a test.
  • βœ“When you need to find the exact version of an exposed VMware server.

Skill link

https://github.com/elementalsouls/Claude-BugHunter/blob/main/skills/vmware-vcenter-attack/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/elementalsouls/Claude-BugHunter/blob/main/skills/vmware-vcenter-attack/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œWe have a vCenter login page on the internet. Can you identify its version and check it for known weaknesses in our authorized test?”

5 new skills a week. 1 minute to read.

How it works

The agent reads version details from public pages and endpoints, then compares them with a list of known vulnerabilities and default settings. It reports which items match and what the owner should patch.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

When to use

Trigger when external recon shows ANY of:

  • Banner: "VMware vCenter Server", "VMware vSphere Client"
  • URL paths: /ui, /ui/login, /websso/SAML2/Metadata, /sdk, /mob (Managed Object Browser)
  • TLS cert SAN includes vcenter / vsphere / vcsa / psc / vmware
  • Workspace ONE Access / Identity Manager: /SAAS, /SAAS/auth, /SAAS/login, /SAAS/horizon
  • VMware Aria / vRealize: /vco, /vco-controlcenter, /orchestrator, /lcm/api/v1
  • Horizon View: /portal, /admin

Do NOT use for:

  • Internal-network vCenter (out of scope β€” external boundary discipline)
  • Pure ESXi hypervisor exposed without management plane (rare on internet; flag as separate finding)

Step 1 β€” Version fingerprinting

TARGET="vcenter.target.com"

# Build info endpoint (often public; revealing exact patch level)
curl -sk "https://$TARGET/sdk/vimServiceVersions.xml"

# UI build (visible in page source)
curl -sk "https://$TARGET/ui/login" | grep -oE 'build[^"]{0,40}'
curl -sk "https://$TARGET/ui/" | grep -oE 'vsphere[^"]{0,40}'

# REST API version (vSphere 7+)
curl -sk "https://$TARGET/api/appliance/system/version"

# Cert metadata
echo | openssl s_client -connect "$TARGET:443" -servername "$TARGET" 2>/dev/null | openssl x509 -noout -text | grep -A1 "Subject Alt"

# SSO Admin Service (info disclosure)
curl -sk "https://$TARGET/sso-adminserver/sdk/vsphere.local"
curl -sk "https://$TARGET/websso/SAML2/Metadata/vsphere.local"

Map build β†’ version β†’ CVE applicability via VMware advisories (vmware.com/security/advisories).


Step 2 β€” CVE matrix (external-exploitable, sorted by historical impact)

CVE Affected Vector Status
CVE-2024-37085 ESXi 7.0/8.0 < specific patch AD group "ESX Admins" auto-admin bypass High — Domain takeover→ESXi RCE, exploited in ransomware ops
CVE-2024-22273 ESXi/Workstation/Fusion/vCenter storage controller OOB read/write β€” requires VM-local access (NOT a pre-auth network SSRF; see Section 9) Important (CVSS 8.1), not external pre-auth
CVE-2024-22252/53 Workstation/Fusion (not vCenter) Sandbox escape Not external
CVE-2023-34048 vCenter 7/8 < specific build DCE/RPC pre-auth heap OOB write β†’ RCE Critical, patched 2023-10
CVE-2023-20887 Aria Operations for Networks Pre-auth command injection β†’ RCE Critical
CVE-2023-20892 vCenter 7/8 Use-after-free in DCE/RPC High
CVE-2022-31656/31659 Workspace ONE Access 21.x Pre-auth SSRF + auth bypass Critical chained
CVE-2022-22954 Workspace ONE Access Pre-auth server-side template injection (SSTI) β†’ RCE Critical, widely exploited
CVE-2021-22005 vCenter 6.7/7.0 < build Analytics service pre-auth file upload β†’ RCE Critical
CVE-2021-21985 vCenter 6.5/6.7/7.0 < build vSAN Health Check plugin pre-auth RCE Critical
CVE-2021-21972 vCenter 6.5/6.7/7.0 < build vRealize plugin /ui/vropspluginui/rest/services/uploadova pre-auth file upload β†’ RCE Critical, exploited heavily
CVE-2020-3992 ESXi OpenSLP Pre-auth use-after-free β†’ RCE Critical, ESXi ransomware vector
CVE-2019-5544 ESXi OpenSLP Pre-auth heap overflow Critical

Step 3 β€” CVE-2021-21972 probe (still common on stale appliances)

# Detection only β€” DO NOT execute the file upload without explicit scope OK
curl -sk -o /dev/null -w "%{http_code}\n" \
  "https://$TARGET/ui/vropspluginui/rest/services/uploadova"
# 405 β†’ endpoint exists, version vulnerable
# 404 β†’ patched (endpoint removed)
# 401 β†’ patched (auth required)

curl -sk -o /dev/null -w "%{http_code}\n" \
  "https://$TARGET/ui/vropspluginui/rest/services/getstatus"

Public PoC by Mikhail Klyuchnikov exists; do not execute against client infra without explicit RCE-attempt sign-off.


Step 4 β€” CVE-2022-22954 (Workspace ONE SSTI) probe

# Stage A β€” detection only: reachability + baseline. No command execution yet.
curl -sk -o /tmp/wone_baseline.txt -w "%{http_code}\n" \
  "https://$TARGET/catalog-portal/ui/oauth/verify?error=&deviceUdid=probe"
# 4xx with FreeMarker/catalog-portal error template β†’ endpoint present, candidate vulnerable.
# 404 β†’ patched/removed. Keep the baseline body to diff against Stage B.

# Stage B β€” execution (ONLY with explicit RCE-attempt sign-off): emit a unique canary
# so a coincidental WAF/error page containing "uid=" cannot be mistaken for real output.
CANARY="VCTR$(h
FAQ

Does it cover internal vCenter servers?

No. The skill is limited to external exposure, since internal systems are out of its scope.

Which products are covered?

The skill covers vCenter, vSphere, Workspace ONE Access, Aria and Horizon View.

Why check the version first?

The skill says the version determines which known issues apply, so it is identified first.

Details

Original description by the author

VMware vSphere / vCenter Server external attack matrix β€” version fingerprinting, the high-impact CVE chain (CVE-2021-21972 vRealize unauth file upload, CVE-2021-21985 vSAN plugin RCE, CVE-2022-22954 Workspace ONE SSTI, CVE-2023-20887 Aria RCE, CVE-2024-37085 ESXi AD bypass, CVE-2023-34048 vCenter DCERPC OOB write APT-exploited), default credentials, SSO configuration disclosure, vmdir LDAP enumeration, ESXi Open SLP RCE history. ONLY for vCenter / Workspace ONE / Aria instances exposed to the internet β€” internal-network vCenter is out of scope per the external-only boundary. Use when recon sho

repo: elementalsouls/Claude-BugHunter

Popularity

GitHub stars
5.4k
Ranking position
#14951
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills