SV-227741r603266_rule
V-227741
SRG-OS-000480
GEN003000
CAT II
10
Remove the world-writable and group-writable permissions from the cron program file(s) identified.
# chmod go-w <cron program file>
List all cronjobs on the system.
Procedure:
# ls /var/spool/cron/crontabs/
If cron jobs exist under any of the above directories search for programs executed by cron.
Procedure:
# more <cron job file>
Determine if the file is group-writable or world-writable.
Procedure:
# ls -la <cron program file>
If cron executes group-writable or world-writable files, this is a finding.
V-227741
False
GEN003000
List all cronjobs on the system.
Procedure:
# ls /var/spool/cron/crontabs/
If cron jobs exist under any of the above directories search for programs executed by cron.
Procedure:
# more <cron job file>
Determine if the file is group-writable or world-writable.
Procedure:
# ls -la <cron program file>
If cron executes group-writable or world-writable files, this is a finding.
M
4061