Check: GEN002210
Solaris 10 X86 STIG:
GEN002210
(in versions v2 r4 through v1 r17)
Title
All shell files must be group-owned by root, bin, or sys. (Cat II impact)
Discussion
If shell files are group-owned by users other than root or a system group, they could be modified by intruders or malicious users to perform unauthorized actions.
Check Content
If /etc/shells exists, check the group ownership of each shell referenced. Procedure: # cat /etc/shells | xargs -n1 ls -lL Otherwise, check any shells found on the system. Procedure: # find / -name "*sh" | xargs -n1 ls -lL If a shell is not group-owned by root, bin, or sys, this is a finding.
Fix Text
Change the group-owner of the shell to root, bin, or sys. Procedure: # chgrp root <shell>
Additional Identifiers
Rule ID: SV-227695r603266_rule
Vulnerability ID: V-227695
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 |