1.133 RHEL-10-400230

Information

RHEL 10 must be configured to prohibit modification of permissions for cron configuration files and directories from the operating system defaults.

GROUP ID: V-281063RULE ID: SV-281063r1195403

If the permissions of cron configuration files or directories are modified from the operating system defaults, it may be possible for individuals to insert unauthorized cron jobs that perform unauthorized actions, including potentially escalating privileges.

Solution

Configure RHEL 10 to prohibit modification of permissions for cron configuration files and directories from the operating system defaults with the following commands:

$ sudo dnf reinstall cronie crontabs $ rpm --setugids cronie crontabs $ rpm --setperms cronie crontabs

See Also

https://workbench.cisecurity.org/benchmarks/26403