1.122 RHEL-10-400175

Information

RHEL 10 must enforce "root" ownership of audit logs to prevent unauthorized access.

GROUP ID: V-281052RULE ID: SV-281052r1165511

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

Satisfies: SRG-OS-000057-GPOS-00027, SRG-OS-000058-GPOS-00028, SRG-OS-000059-GPOS-00029, SRG-OS-000206-GPOS-00084

Solution

Configure RHEL 10 to enforce "root" ownership of audit logs to prevent unauthorized access with the following command:

$ sudo chown root [audit_log_file]

Replace "[audit_log_file]" with the correct audit log path. By default this location is "/var/log/audit/audit.log".

See Also

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