The vCenter UI service must protect logs from unauthorized access.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-259108 | SRG-APP-000118-AS-000078 | VCUI-80-000025 | SV-259108r960930_rule | 2024-07-11 | 2 |
Description
Log data is essential in the investigation of events. The accuracy of the information is always pertinent. One of the first steps an attacker will take is the modification or deletion of log records to cover tracks and prolong discovery. The web server must protect the log data from unauthorized modification.
Satisfies: SRG-APP-000118-AS-000078, SRG-APP-000119-AS-000079, SRG-APP-000120-AS-000080
ℹ️ Check
At the command prompt, run the following command:
# find /var/log/vmware/vsphere-ui/ -xdev -type f -a '(' -perm -o+w -o -not -user vsphere-ui -o -not -group users -a -not -group root ')' -exec ls -ld {} \;
If any files are returned, this is a finding.
✔️ Fix
At the command prompt, run the following commands:
# chmod o-w <file>
# chown vsphere-ui:users <file>
Note: Substitute <file> with the listed file.