STIGQter STIGQter: STIG Summary: IBM AIX 7.x Security Technical Implementation Guide Version: 2 Release: 2 Benchmark Date: 23 Apr 2021:

NFS file systems on AIX must be mounted with the nosuid option unless the NFS file systems contain approved setuid or setgid programs.

DISA Rule

SV-215234r508663_rule

Vulnerability Number

V-215234

Group Title

SRG-OS-000326-GPOS-00126

Rule Version

AIX7-00-001138

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

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.

Check Contents

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.

Vulnerability Number

V-215234

Documentable

False

Rule Version

AIX7-00-001138

Severity Override Guidance

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.

Check Content Reference

M

Target Key

4012

Comments