UCF STIG Viewer Logo

The Photon operating system audit log must have correct permissions.


Overview

Finding ID Version Rule ID IA Controls Severity
V-239087 PHTN-67-000015 SV-239087r675069_rule Medium
Description
Audit information includes all information (e.g., audit records, audit settings, audit reports) needed to successfully audit operating system activity. Unauthorized disclosure of audit records can reveal system and configuration data to attackers, thus compromising its confidentiality.
STIG Date
VMware vSphere 6.7 Photon OS Security Technical Implementation Guide 2022-06-17

Details

Check Text ( C-42298r675067_chk )
At the command line, execute the following command:

# (audit_log_file=$(grep "^log_file" /etc/audit/auditd.conf|sed s/^[^\/]*//) && if [ -f "${audit_log_file}" ] ; then printf "Log(s) found in "${audit_log_file%/*}":\n"; stat -c "%n permissions are %a" ${audit_log_file%}*; else printf "audit log file(s) not found\n"; fi)

If the permissions on any audit log file is more permissive than 0600, this is a finding.
Fix Text (F-42257r675068_fix)
At the command line, execute the following command:

# chmod 0600

Replace with the log files more permissive than 0600.