ALMA-09-055900 - AlmaLinux OS 9 audit logs must be owned by the root group to prevent unauthorized read access.

Information

Unauthorized disclosure of audit records can reveal system and configuration data to attackers, thus compromising its confidentiality.

Audit information includes all information (e.g., audit records, audit settings, audit reports) needed to successfully audit operating system activity.

Satisfies: SRG-OS-000057-GPOS-00027, SRG-OS-000059-GPOS-00029

Solution

Change the audit logs to be owned by the root group:

$ chgrp root /var/log/audit/audit.log

Then set the group to root in /etc/audit/auditd.conf by adding or updating the following line:

log_group = root

See Also

https://workbench.cisecurity.org/benchmarks/0

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-9, CAT|II, CCI|CCI-000162, CCI|CCI-000164, Rule-ID|SV-269538r1050421_rule, STIG-ID|ALMA-09-055900, Vuln-ID|V-269538

Plugin: Unix

Control ID: 76fae31db099f30cf76b859e22bb59e19ebaf83a71fa413bdfa8dc5ea431236e