SV-215234r508663_rule
V-215234
SRG-OS-000326-GPOS-00126
AIX7-00-001138
CAT II
10
For each NFS file systems that does not contain approved "setuid" or "setgid" files, add the "nosuid" option, along with other mount options, to the "options" field in "/etc/filesystems" using the following command:
# chfs -a options=ro,bg,hard,intr,nosuid,sec=sys <NFS_mount_point>
Note that the other mount options (other than the nosuid options) may be different among NFS mounts.
Obtain a list of NFS file systems that contain approved "setuid" or "setgid" files from the ISSO/ISSM.
Check the "nosuid" mount option is used on all NFS file systems that do not contain approved "setuid" or "setgid" files:
# mount | grep -E "options|nfs|---"
node mounted mounted over vfs date options
-------- --------------- --------------- ------ ------------ ---------------
ausgsa.ibm.com /gsa/ausgsa/projects/a/aix/71 /mnt_1 nfs3 Nov 05 14:11 ro,bg,hard,intr,nosuid,sec=sys
ausgsa.ibm.com /gsa/ausgsa/projects/a/aix/72 /mnt_2 nfs3 Nov 05 14:12 ro,bg,hard,intr,sec=sys
If the NFS mounts do not show the "nosuid" setting in their "options" fields, along with other mount options, this is a finding.
V-215234
False
AIX7-00-001138
Obtain a list of NFS file systems that contain approved "setuid" or "setgid" files from the ISSO/ISSM.
Check the "nosuid" mount option is used on all NFS file systems that do not contain approved "setuid" or "setgid" files:
# mount | grep -E "options|nfs|---"
node mounted mounted over vfs date options
-------- --------------- --------------- ------ ------------ ---------------
ausgsa.ibm.com /gsa/ausgsa/projects/a/aix/71 /mnt_1 nfs3 Nov 05 14:11 ro,bg,hard,intr,nosuid,sec=sys
ausgsa.ibm.com /gsa/ausgsa/projects/a/aix/72 /mnt_2 nfs3 Nov 05 14:12 ro,bg,hard,intr,sec=sys
If the NFS mounts do not show the "nosuid" setting in their "options" fields, along with other mount options, this is a finding.
M
4012