ESXI-70-000097 - The ESXi Common Information Model (CIM) service must be disabled.

Information

The CIM system provides an interface that enables hardware-level management from remote applications via a set of standard application programming interfaces (APIs). These APIs are consumed by external applications such as HP SIM or Dell OpenManage for agentless, remote hardware monitoring of the ESXi host.

To reduce attack surface area and following the minimum functionality principal, the CIM service must be disabled unless explicitly needed and approved.

Solution

From the vSphere Client, go to Hosts and Clusters.

Select the ESXi Host >> Configure >> System >> Services.

Select the 'CIM Server' service. If the service is started, click 'Stop'.

Click 'Edit Startup Policy...'. Select 'Start and stop manually'. Click 'OK'.

or

From a PowerCLI command prompt while connected to the ESXi host, run the following commands:

Get-VMHost | Get-VMHostService | Where {$_.Label -eq 'CIM Server'} | Set-VMHostService -Policy Off
Get-VMHost | Get-VMHostService | Where {$_.Label -eq 'CIM Server'} | Stop-VMHostService

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_vSphere_7-0_Y23M07_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-256448r886125_rule, STIG-ID|ESXI-70-000097, Vuln-ID|V-256448

Plugin: VMware

Control ID: c3631b2e590c1d464b3e32347409d1b343ac84af79a63fe589b14a45b61b925f