Check: GEN001550
Solaris 10 X86 STIG:
GEN001550
(in versions v2 r4 through v1 r17)
Title
All files and directories contained in user home directories must be group-owned by a group of which the home directory's owner is a member. (Cat II impact)
Discussion
If a user's files are group-owned by a group of which the user is not a member, unintended users may be able to access them.
Check Content
Check the contents of user home directories for files group-owned by a group of which the home directory's owner is not a member. 1. List the user accounts. # cut -d : -f 1/etc/passwd 2. For each user account, get a list of GIDs for files in the user's home directory. # find < users home directory > -exec ls -lLd \; 3. Obtain the list of GIDs associated with the user's account. # id < user name > 4. Check the GID lists. If there are GIDs in the file list not present in the user list, this is a finding.
Fix Text
Change the group of a file not group-owned by a group where the home directory's owner is a member. # chgrp < user's primary group > <file with bad group ownership >
Additional Identifiers
Rule ID: SV-227659r603266_rule
Vulnerability ID: V-227659
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 |