The Linux NFS Server must not have the insecure file locking option.

From Oracle Linux 5 Security Technical Implementation Guide

Part of GEN000000-LNX00560

Associated with: CCI-000225 CCI-000764

SV-62985r1_rule The Linux NFS Server must not have the insecure file locking option.

Vulnerability discussion

Insecure file locking could allow for sensitive data to be viewed or edited by an unauthorized user.

Check content

Determine if an NFS server is running on the system by: # ps -ef |grep nfsd If an NFS server is running, confirm it is not configured with the insecure_locks option by: # exportfs -v The example below would be a finding: /misc/export speedy.example.com(rw,insecure_locks)

Fix text

Remove the "insecure_locks" option from all NFS exports on the system. Procedure: Edit /etc/exports and remove all instances of the insecure_locks option. Re-export the file systems to make the setting take effect. # exportfs -a

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