Check: GEN004410
AIX 6.1 SECURITY TECHNICAL IMPLEMENTATION GUIDE:
GEN004410
(in versions v1 r14 through v1 r10)
Title
Files executed through a mail aliases file must be group-owned by root, bin, sys, or other, and must reside within a directory group-owned by root, bin, sys, or other. (Cat II impact)
Discussion
If a file executed through a mail aliases file is not group-owned by root or a system group, it may be subject to unauthorized modification. Unauthorized modification of files executed through aliases may allow unauthorized users to attain root privileges.
Check Content
Examine the contents of the /etc/mail/aliases file. # cat /etc/mail/aliases | cut -f 2,2 -d ":" | grep "|" For each file referenced, check the group ownership of the file. # ls -lL <file referenced from aliases> If the group owner of any file is not root, bin, sys or other, this is a finding.
Fix Text
Change the group ownership of the file referenced from /etc/mail/aliases. # chgrp root <file referenced from aliases>
Additional Identifiers
Rule ID: SV-38373r1_rule
Vulnerability ID: V-22440
Group Title: GEN004410
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 |