Check: GEN001890
AIX 6.1 SECURITY TECHNICAL IMPLEMENTATION GUIDE:
GEN001890
(in versions v1 r14 through v1 r10)
Title
Local initialization files must not have extended ACLs. (Cat II impact)
Discussion
Local initialization files are used to configure the user's shell environment upon login. Malicious modification of these files could compromise accounts upon logon.
Check Content
Check user home directories for local initialization files with extended ACLs. Procedure: # cat /etc/passwd | cut -f 6,6 -d ":" | xargs -n1 -IDIR ls -le DIR/.login DIR/.cshrc DIR/.logout DIR/.profile DIR/.bash_profile DIR/.bashrc DIR/.bash_logout DIR/.env DIR/.dtprofile DIR/.dispatch DIR/.emacs DIR/.exrc Procedure: #aclget <directory>/<file> and check if extended permissions are disabled. If extended permissions are not disabled, this is a finding.
Fix Text
Remove the extended ACL from the local initialization file(s) and disable extended permissions. #acledit <directory>/<file>
Additional Identifiers
Rule ID: SV-38739r1_rule
Vulnerability ID: V-22362
Group Title: GEN001890
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000225 |
The organization employs the concept of least privilege, allowing only authorized accesses for users (and processes acting on behalf of users) which are necessary to accomplish assigned tasks in accordance with organizational missions and business functions. |
Controls
Number | Title |
---|---|
AC-6 |
Least Privilege |