UCF STIG Viewer Logo

The .Xauthority files must not have extended ACLs.


Overview

Finding ID Version Rule ID IA Controls Severity
V-22446 GEN005190 SV-63285r1_rule Medium
Description
.Xauthority files ensure the user is authorized to access 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.
STIG Date
Oracle Linux 5 Security Technical Implementation Guide 2020-02-25

Details

Check Text ( C-51991r1_chk )
Check the file permissions for the .Xauthority files. These files will be located in user home directories.

Procedure:
# ls -la ~username |egrep "(\.Xauthority|\.xauth)"

If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix Text (F-53875r1_fix)
Remove the extended ACL from the file.
# setfacl --remove-all .Xauthority