Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-227697 | GEN002230 | SV-227697r603266_rule | Medium |
Description |
---|
Shells with world/group write permissions give the ability to maliciously modify the shell to obtain unauthorized access. |
STIG | Date |
---|---|
Solaris 10 X86 Security Technical Implementation Guide | 2022-09-07 |
Check Text ( C-29859r488672_chk ) |
---|
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 (F-29847r488673_fix) |
---|
Remove the extended ACL from the file. # chmod A- [shell] |