Check: SOL-11.1-070030
Solaris 11 x86 STIG:
SOL-11.1-070030
(in versions v2 r10 through v2 r5)
Title
Permissions on user . (hidden) files must be 750 or less permissive. (Cat II impact)
Discussion
Group-writable or world-writable user configuration files may enable malicious users to steal or modify other users' data or to gain another user's system privileges.
Check Content
The root role is required. Ensure that the permissions on user "." files are 750 or less permissive. # for dir in \ `logins -ox | awk -F: '($8 == "PS") { print $6 }'`; do find ${dir}/.[A-Za-z0-9]* \! -type l \ \( -perm -0001 -o -perm -0002 -o -perm -0004 -o -perm -0020 \) -ls done If output is produced, this is a finding.
Fix Text
The root role is required. Change the permissions on users' "." files to 750 or less permissive. # chmod 750 [file name]
Additional Identifiers
Rule ID: SV-216182r793048_rule
Vulnerability ID: V-216182
Group Title: SRG-OS-000480
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000366 |
The organization implements the security configuration settings. |
Controls
Number | Title |
---|---|
CM-6 |
Configuration Settings |