Information
The operating system must define default permissions for all authenticated users in such a way that the user can only read and modify their own files.
Setting the most restrictive default permissions ensures that when new accounts are created, they do not have unnecessary access.
Solution
Configure the operating system to define default permissions for all authenticated users in such a way that the user can only read and modify their own files.
Add or edit the line for the "UMASK" parameter in "/etc/login.defs" file to "077":
UMASK 077
Item Details
Category: ACCESS CONTROL, CONFIGURATION MANAGEMENT, MEDIA PROTECTION
References: 800-53|AC-3, 800-53|AC-5, 800-53|AC-6, 800-53|CM-6b., 800-53|MP-2, CAT|I, CAT|II, CSCv7|14.6, Rule-ID|SV-230383r627750_rule, STIG-ID|RHEL-08-020351, Vuln-ID|V-230383
Control ID: f08e8c9532736b1054a021d835612ec6c224d936761e5e7be3a55a28cf0bbaba