VCLD-80-000019 The vCenter VAMI service log files must only be accessible by privileged users.

Information

Log data is essential in the investigation of events. If log data were to become compromised, then competent forensic analysis and discovery of the true source of potentially malicious system activity would be difficult, if not impossible, to achieve. In addition, access to log records provides information an attacker could potentially use to their advantage since each event record might contain communication ports, protocols, services, trust relationships, user names, etc.

The web server must protect the log data from unauthorized read, write, copy, etc. This can be done by the web server if the web server is also doing the logging function. The web server may also use an external log system. In either case, the logs must be protected from access by nonprivileged users.

Satisfies: SRG-APP-000118-WSR-000068, SRG-APP-000119-WSR-000069, SRG-APP-000120-WSR-000070

Solution

At the command prompt, run the following commands for log files under /opt/vmware/var/log/lighttpd/:

# chmod o-w <file>
# chown lighttpd:lighttpd <file>

At the command prompt, run the following commands for all other log files:

# chmod o-w <file>
# chown root:root <file>

Note: Substitute <file> with the listed file.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_vSphere_8-0_Y24M08_STIG.zip

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-9, CAT|II, CCI|CCI-000162, CCI|CCI-000163, CCI|CCI-000164, Rule-ID|SV-259141r960930_rule, STIG-ID|VCLD-80-000019, Vuln-ID|V-259141

Plugin: Unix

Control ID: cf97b8493c4daa5343d8a43acb231891f65e6ad3bf27e358631b05a062e65c87