Details
The audit service must be configured to create log files with the correct permissions to prevent normal users from reading audit logs. Audit logs contain sensitive data about the system and users. If log files are set to be readable and writable only by root or administrative users with sudo, the risk is mitigated.
Satisfies: SRG-OS-000057-GPOS-00027, SRG-OS-000206-GPOS-00084
Solution
For any log file that contains ACLs, run the following command:
/usr/bin/sudo chmod -N [audit log file]
Supportive Information
The following resource is also helpful.
This security hardening control applies to the following category of controls within NIST 800-53: Audit and Accountability, System and Information Integrity.This control applies to the following type of system Unix.
References
- 800-53|AU-9
- 800-53|SI-11b.
- CAT|II
- CCI|CCI-000162
- CCI|CCI-001314
- Rule-ID|SV-225137r610901_rule
- STIG-ID|AOSX-15-000030
- STIG-Legacy|SV-111651
- STIG-Legacy|V-102689
- Vuln-ID|V-225137