Check: GEN005190
Title
The .Xauthority files must not have extended ACLs. (Cat II impact)
Discussion
.Xauthority files ensure the user is authorized to access the 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
Check the file permissions for the .Xauthority files. # find / -name .Xauthority -print -exec ls -D {} \; 2>/dev/null If any file has an extended ACL, this is a finding.
Fix Text
Remove the extended ACL from the file. # chmod A- .Xauthority
Additional Identifiers
Rule ID:
Vulnerability ID: V-22446
Group Title:
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 |