The .Xauthority files must not have extended ACLs.

From HP-UX 11.31 Security Technical Implementation Guide

Part of GEN005190

Associated with IA controls: ECLP-1

Associated with: CCI-000225

SV-35167r1_rule The .Xauthority files must not have extended ACLs.

Vulnerability 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

Get a list of (non-system account) users and the associated home directories. # cat /etc/passwd | cut -f 1,6 -d ":" Check the file permissions for the user .Xauthority files. # ls -lLa //.Xauthority If the permissions include a "+", the file has an extended ACL, this is a finding.

Fix text

Remove the optional ACL from the file. # chacl -z //.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