Check: GEN005190
AIX 6.1 SECURITY TECHNICAL IMPLEMENTATION GUIDE:
GEN005190
(in versions v1 r14 through v1 r10)
Title
The .Xauthority files must not have extended ACLs. (Cat II impact)
Discussion
.Xauthority files ensure the user is authorized to access that specific X Windows host. Extended ACLs may permit unauthorized modification of these files, which could lead to Denial of Service to authorized access or allow unauthorized access to be obtained.
Check Content
Get a list of (non-system account) users and the associated home directories. # cat /etc/passwd | cut -f 1,6 -d ":" Check the file permissions for the user .Xauthority files. #aclget .Xauthority Check if extended permissions are disabled. If extended permissions are not disabled, this is a finding.
Fix Text
Remove the extended ACL from the .Xauthority file(s) and disable extended permissions. #acledit .Xauthority
Additional Identifiers
Rule ID: SV-38814r1_rule
Vulnerability ID: V-22446
Group Title: GEN005190
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 |