UCF STIG Viewer Logo

All .Xauthority files must have mode 0600 or less permissive.


Overview

Finding ID Version Rule ID IA Controls Severity
V-12014 GEN005180 SV-63205r1_rule Medium
Description
.Xauthority files ensure the user is authorized to access specific X Windows host. Excessive permissions 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-51933r2_chk )
Check the file permissions for the .Xauthority files.

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

If the file mode is more permissive than 0600, this is finding.
Fix Text (F-53789r1_fix)
Change the mode of the .Xauthority files.

Procedure:
# chmod 0600 .Xauthority