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

Information

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://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_RHEL_9_V2R4_STIG.zip

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: a150f44965b9cc8ffb0db7ade6d074e408b85d4d1944d9644aef134ea8fe9ee5