UCF STIG Viewer Logo

Crontab files must not have extended ACLs.


Overview

Finding ID Version Rule ID IA Controls Severity
V-22386 GEN003090 SV-45601r1_rule 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
SUSE Linux Enterprise Server v11 for System z Security Technical Implementation Guide 2018-09-19

Details

Check Text ( C-42967r1_chk )
Check the permissions of the crontab files.
Procedure:

# ls -lL /var/spool/cron /var/spool/cron/tabs

ls –lL /etc/crontab /etc/cron.{d,daily,hourly,monthly,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-38999r1_fix)
Remove the extended ACL from the file.
# setfacl --remove-all [crontab file]