Check: GEN002230
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 -D If any 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:
Vulnerability ID: V-22366
Group Title:
Expert Comments
Expert comments are only available to logged-in users.
CCIs
CCIs tied to check.
Number | Definition |
---|---|
CCI-000225 |
Employ the principle of least privilege, allowing only authorized accesses for users (or processes acting on behalf of users) which are necessary to accomplish assigned organizational tasks. |
Controls
Controls tied to check. These are derived from the CCIs shown above.
Number | Title |
---|---|
AC-6 |
Least Privilege |