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

From Oracle Linux 5 Security Technical Implementation Guide

Part of GEN005180

Associated with: CCI-000225

SV-63205r1_rule All .Xauthority files must have mode 0600 or less permissive.

Vulnerability discussion

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

Check content

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

Change the mode of the .Xauthority files. Procedure: # chmod 0600 .Xauthority

Pro Tips

Lavender hyperlinks in small type off to the right (of CSS class id, if you view the page source) point to globally unique URIs for each document and item. Copy the link location and paste anywhere you need to talk unambiguously about these things.

You can obtain data about documents and items in other formats. Simply provide an HTTP header Accept: text/turtle or Accept: application/rdf+xml.

Powered by sagemincer