Check: RHEL-06-000309
Red Hat Enterprise Linux 6 STIG:
RHEL-06-000309
(in versions v2 r2 through v1 r14)
Title
The NFS server must not have the insecure file locking option enabled. (Cat I impact)
Discussion
Allowing insecure file locking could allow for sensitive data to be viewed or edited by an unauthorized user.
Check Content
To verify insecure file locking has been disabled, run the following command: # grep insecure_locks /etc/exports If there is output, this is a finding.
Fix Text
By default the NFS server requires secure file-lock requests, which require credentials from the client in order to lock a file. Most NFS clients send credentials with file lock requests, however, there are a few clients that do not send credentials when requesting a file-lock, allowing the client to only be able to lock world-readable files. To get around this, the "insecure_locks" option can be used so these clients can access the desired export. This poses a security risk by potentially allowing the client access to data for which it does not have authorization. Remove any instances of the "insecure_locks" option from the file "/etc/exports".
Additional Identifiers
Rule ID: SV-218055r603264_rule
Vulnerability ID: V-218055
Group Title: SRG-OS-000104
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000764 |
The information system uniquely identifies and authenticates organizational users (or processes acting on behalf of organizational users). |
Controls
Number | Title |
---|---|
IA-2 |
Identification And Authentication (Organizational Users) |