Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-22388 | GEN003190 | SV-37477r2_rule | Medium |
Description |
---|
Cron logs contain reports of scheduled system activities and must be protected from unauthorized access or manipulation. |
STIG | Date |
---|---|
Red Hat Enterprise Linux 5 Security Technical Implementation Guide | 2016-12-16 |
Check Text ( C-36144r2_chk ) |
---|
Check the permissions of the file. Procedure: Depending on what system is used for log processing either /etc/syslog.conf or /etc/rsyslog.conf will be the logging configuration file. Check the configured cron log file found in the cron entry in /etc/syslog.conf or /etc/rsyslog.conf(normally /var/log/cron). # grep cron /etc/syslog.conf Or: # grep cron /etc/rsyslog.conf # ls -lL /var/log/cron If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding. |
Fix Text (F-31390r1_fix) |
---|
Remove the extended ACL from the file. # setfacl --remove-all /var/log/cron |