1.114 RHEL-09-232040

Information

RHEL 9 permissions of cron configuration files and directories must not be modified from the operating system defaults.

GROUP ID: V-257888
RULE ID: SV-257888r1069378

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

Run the following commands to restore the permissions of cron configuration files and directories to the operating system defaults:

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

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-257888r1069378_rule, STIG-ID|RHEL-09-232040, Vuln-ID|V-257888

Plugin: Unix

Control ID: 1f7ac2024f8b35f4c0151142295cc5c08daa709f5208ca8abe4441f6d4233bb9