Check: GEN005770
HP-UX 11.23 STIG:
GEN005770
(in version v1 r8)
Title
The NFS exports configuration file must not have an extended ACL. (Cat III impact)
Discussion
File system extended ACLs provide access to files beyond what is allowed by the mode numbers of the files. Excessive permissions on the NFS export configuration file could allow unauthorized modification of the file, which could result in Denial of Service to authorized NFS exports and the creation of additional unauthorized exports.
Check Content
Check the mode of the NFS export configuration file. # echo `ls -lL /etc/dfs/dfstab` | sed -e 's/^[ \t]*//' | tr '\011' ' ' | tr -s ' ' | cut -f 1,1 -d " " 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 /etc/dfs/dfstab
Additional Identifiers
Rule ID: SV-26817r1_rule
Vulnerability ID: V-22493
Group Title: GEN005770
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000225 |
Employ the principle of least privilege, allowing only authorized accesses for users (or processes acting on behalf of users) which are necessary to accomplish assigned organizational tasks. |
Controls
Number | Title |
---|---|
AC-6 |
Least Privilege |