Check: GEN001270 M6
MACOSX 10.6:
GEN001270 M6
(in version v1 r3)
Title
System log files must not have extended ACLs, except as needed to support authorized software. (Cat II impact)
Discussion
If the system log files are not protected, unauthorized users could change the logged data, eliminating its forensic value. Authorized software may be given log file access through the use of extended ACLs when needed and configured to provide the least privileges required.
Check Content
Open a terminal session and enter the following command to view the system log files ACLs. ls -lLR /var/log If the permissions include a '+', the file has an extended ACL. If an extended ACL exists, verify with the SA if the ACL is required to support authorized software and provides the minimum necessary permissions. If an extended ACL exists, providing access beyond the needs of authorized software, this is a finding.
Fix Text
Open a terminal session and enter the following command to remove the extended ACLs. chmod -N /var/log<file with extended ACL>
Additional Identifiers
Rule ID: SV-38073r1_rule
Vulnerability ID: V-22315
Group Title:
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-001314 |
The information system reveals error messages only to organization-defined personnel or roles. |
Controls
Number | Title |
---|---|
SI-11 |
Error Handling |