Check: GEN001560
SUSE Linux Enterprise Server v11 for System z STIG:
GEN001560
(in versions v1 r12 through v1 r9)
Title
All files and directories contained in user home directories must have mode 0750 or less permissive. (Cat III impact)
Discussion
Excessive permissions allow unauthorized access to user files.
Check Content
For each user in the /etc/passwd file, check for files and directories with a mode more permissive than 0750. Procedure: # find /<usershomedirectory> ! -fstype nfs ! \( -name .bashrc -o -name .bash_login -o -name .bash_logout -o -name .bash_profile -o -name .cshrc -o -name .kshrc -o -name .login -o -name .logout -o -name .profile -o -name .tcshrc -o -name .env -o -name .dtprofile -o -name .dispatch -o -name .emacs -o -name .exrc \) \( -perm -0001 -o -perm -0002 -o -perm -0004 -o -perm -0020 -o -perm -2000 -o -perm -4000 \) -exec ls -ld {} \; If user home directories contain files or directories more permissive than 0750, this is a finding.
Fix Text
Change the mode of files and directories within user home directories to 0750. Procedure: # chmod 0750 filename Document all changes.
Additional Identifiers
Rule ID: SV-45040r1_rule
Vulnerability ID: V-915
Group Title: GEN001560
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000225 |
The organization employs the concept of least privilege, allowing only authorized accesses for users (and processes acting on behalf of users) which are necessary to accomplish assigned tasks in accordance with organizational missions and business functions. |
Controls
Number | Title |
---|---|
AC-6 |
Least Privilege |