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

Information

.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.

NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.

Solution

Change the mode of the .Xauthority files.

Procedure:
# chmod 0600 .Xauthority

See Also

http://iasecontent.disa.mil/stigs/zip/U_RedHat_5_V1R18_STIG.zip