Check: GEN002230
Solaris 10 SPARC STIG:
GEN002230
(in versions v2 r4 through v1 r19)
Title
All shell files must not have extended ACLs. (Cat II impact)
Discussion
Shells with world/group write permissions give the ability to maliciously modify the shell to obtain unauthorized access.
Check Content
If /etc/shells exists, check the permissions of each shell referenced. # cat /etc/shells | xargs -n1 ls -lL Otherwise, check any shells found on the system. # find / -name "*sh" | xargs -n1 ls -lL If the permissions include a "+", the file has an extended ACL, this is a finding.
Fix Text
Remove the extended ACL from the file. # chmod A- [shell]
Additional Identifiers
Rule ID: SV-226571r603265_rule
Vulnerability ID: V-226571
Group Title: SRG-OS-000480
Expert Comments
Expert comments are only available to logged-in users.
CCIs
CCIs tied to check.
Number | Definition |
---|---|
CCI-000366 |
The organization implements the security configuration settings. |
Controls
Controls tied to check. These are derived from the CCIs shown above.
Number | Title |
---|---|
CM-6 |
Configuration Settings |