All Network File System (NFS) exported system files and system directories must be owned by root.

From SUSE Linux Enterprise Server v11 for System z Security Technical Implementation Guide

Part of GEN005800

Associated with: CCI-000225

SV-46121r1_rule All Network File System (NFS) exported system files and system directories must be owned by root.

Vulnerability discussion

Failure to give ownership of sensitive files or directories to root provides the designated owner and possible unauthorized users with the potential to access sensitive information or change system configuration which could weaken the system's security posture.

Check content

Check if the nfs-kernel-server package is installed. It contains the exportfs command as well as the nfsserver process itself. # rpm –q nfs-kernel-server If the package is not installed, this check does not apply. If it is installed, check for NFS exported file systems. Procedure: # cat /etc/exports For each file system displayed, check the ownership. # ls -lLa If the files and directories are not owned by root, this is a finding.

Fix text

Change the ownership of exported file systems not owned by root. Procedure: # chown root

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