VCLD-67-000033 - VAMI must be protected from being stopped by a non-privileged user.

Information

An attacker has at least two reasons to stop a web server. The first is to cause a denial of service, and the second is to put in place changes the attacker made to the web server configuration. Therefore, only administrators should ever be able to stop VAMI.

The VAMI is configured out of the box to be owned by root. This configuration must be verified and maintained.

Solution

Navigate to and open /usr/lib/systemd/system/vami-lighttp.service in a text editor.

Under the '[Service]' section, remove the line that beings with 'User='.

At the command prompt, execute the following command:

# service vami-lighttp restart

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_vSphere_6-7_Y23M07_STIG.zip

Item Details

Category: SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|SC-5, CAT|II, CCI|CCI-002385, Rule-ID|SV-239740r879806_rule, STIG-ID|VCLD-67-000033, Vuln-ID|V-239740

Plugin: Unix

Control ID: f7a06cdb7a35ff2b6944c44e41f99c1910d99991468de97cb3bd72910000e593