Check: GEN003110
SUSE Linux Enterprise Server v11 for System z STIG:
GEN003110
(in versions v1 r12 through v1 r9)
Title
Cron and crontab directories must not have extended ACLs. (Cat II impact)
Discussion
To protect the integrity of scheduled system jobs and to prevent malicious modification to these jobs, crontab files must be secured. ACLs on cron and crontab directories may provide unauthorized access to these directories. Unauthorized modifications to these directories or their contents may result in the addition of unauthorized cron jobs or deny service to authorized cron jobs.
Check Content
Check the permissions of the crontab directories. Procedure: # ls -ld /var/spool/cron /var/spool/cron/tabs ls -ld /etc/crontab /etc/cron.{d,daily,hourly,monthly,weekly} or # ls -ld /etc/cron*|grep -v deny If the permissions include a '+' the directory 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
Remove the extended ACL from the directory. # setfacl --remove-all <crontab directory>
Additional Identifiers
Rule ID: SV-45603r1_rule
Vulnerability ID: V-22387
Group Title: GEN003110
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000225 |
The organization employs the concept of least privilege, allowing only authorized accesses for users (and processes acting on behalf of users) which are necessary to accomplish assigned tasks in accordance with organizational missions and business functions. |
Controls
Number | Title |
---|---|
AC-6 |
Least Privilege |