Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-22386 | GEN003090 | SV-37467r1_rule | ECLP-1 | Medium |
Description |
---|
To protect the integrity of scheduled system jobs and to prevent malicious modification to these jobs, crontab files must be secured. ACLs on crontab files may provide unauthorized access to the files. |
STIG | Date |
---|---|
Red Hat Enterprise Linux 5 Security Technical Implementation Guide | 2013-07-03 |
Check Text ( C-36133r1_chk ) |
---|
Check the permissions of the crontab files. Procedure: # ls -lL /var/spool/cron # ls -lL /etc/cron.d /etc/crontab /etc/cron.daily /etc/cron.hourly /etc/cron.monthly /etc/cron.weekly or # ls -lL /etc/cron*|grep -v deny 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-31378r1_fix) |
---|
Remove the extended ACL from the file. # setfacl --remove-all [crontab file] |