
VMware vCenter Server Virtual SAN ヘルスチェック プラグイン RCE (CVE-2021-21985)
vSphere Client(HTML5)には、vCenter Server プラグインにリモートコード実行の脆弱性が存在します。ポート 443 へのネットワークアクセスを持つ悪意のある攻撃者は、この問題を悪用して、vCenter Server をホストする基盤となるオペレーティングシステム上で無制限の権限でコマンドを実行できる可能性があります。この脆弱性は、VMware vCenter Server(7.0 U2b より前の 7.x、6.7 U3n より前の 6.7、6.5 U3p より前の 6.5)および VMware Cloud Foundation(4.2.1 より前の 4.x、3.10.2.1 より前の 3.x)に影響します。
> git clone https://github.com/sknux/CVE-2021-21985_PoC
> cd CVE-2021-21985_PoC
> chmod +x cve-2021-21985_PoC
> ./cve-2021-21985_PoC
$ Usage: ./poc Target-IP Class/Method(s). To list all class/methods, please use -l option.
> ./cve-2021-21985_PoC -l
$ getClusterCapabilityData
getHostCapabilityData
getHostsCapabilitiyData
getIsDeduplicationSupported
getIsEncryptionSupported
getIsLocalDataProtectionSupportedOnVc
getIsLocalDataProtectionSupportedOnCluster
getIsRemoteDataProtectionSupported
getIsObjectIdentitiesSupportedOnCluster
getIsHistoricalCapacitySupported
getIsPerfVerboseModeSupported
getIsPerfNetworkDiagnosticModeSupported
getIsPerfDiagnosticsFeedbackSupportedOnVc
getIsAdvancedClusterSettingsSupported
getIsRecreateDiskGroupSupported
getIsPurgeInaccessibleVmSwapObjectsSupported
getIsUpdateVumReleaseCatalogOfflineSupported
getIsVitOnlineResizeSupported
getIsImprovedCapacityMonitoringSupportedOnVc
getIsVmLevelCapacityMonitoringSupported
getIsWhatIfCapacitySupported
getIsHostReservedCapacitySupported
getIsUnmountWithMaintenanceModeSupported
getIsEvacuationStatusSupportedOnCluster
...
...