Check: SOL-11.1-070040
Solaris 11 SPARC STIG:
SOL-11.1-070040
(in versions v2 r10 through v1 r10)
Title
Permissions on user .netrc files must be 750 or less permissive. (Cat II impact)
Discussion
.netrc files may contain unencrypted passwords that can be used to attack other systems.
Check Content
The root role is required. Check that permissions on user .netrc files are 750 or less permissive. # for dir in \ `logins -ox | awk -F: '($8 == "PS") { print $6 }'`; do find ${dir}/.netrc -type f \( \ -perm -g+r -o -perm -g+w -o -perm -g+x -o \ -perm -o+r -o -perm -o+w -o -perm -o+x \) \ -ls 2>/dev/null done If output is produced, this is a finding.
Fix Text
The root role is required. Change the permissions on users' .netrc files to 750 or less permissive. # chmod 750 [file name]
Additional Identifiers
Rule ID: SV-216420r603267_rule
Vulnerability ID: V-216420
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 |