Details
The audit service must be configured to create log files with the correct ownership to prevent regular users from reading audit logs. Audit logs contain sensitive data about the system and about users. If log files are set to be readable and writable only by root or administrative users with sudo, the risk is mitigated.
Solution
For any log folder that has an incorrect owner, run the following command:
/usr/bin/sudo chown root [audit log folder]
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.This control applies to the following type of system Unix.
References
- 800-53|AU-9
- CAT|II
- CCI|CCI-000162
- CSCv6|3.1
- Rule-ID|SV-214840r609363_rule
- STIG-ID|AOSX-13-000332
- STIG-Legacy|SV-96255
- STIG-Legacy|V-81541
- Vuln-ID|V-214840