STIGQter STIGQter: STIG Summary: Red Hat Enterprise Linux 8 Security Technical Implementation Guide Version: 1 Release: 2 Benchmark Date: 23 Apr 2021:

RHEL 8 must mount /var/log/audit with the nosuid option.

DISA Rule

SV-230518r627750_rule

Vulnerability Number

V-230518

Group Title

SRG-OS-000368-GPOS-00154

Rule Version

RHEL-08-040130

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Configure the system so that /var/log/audit is mounted with the "nosuid" option by adding /modifying the /etc/fstab with the following line:

/dev/mapper/rhel-var-log-audit /var/log/audit xfs defaults,nodev,nosuid,noexec 0 0

Check Contents

Verify "/var/log/audit" is mounted with the "nosuid" option:

$ sudo mount | grep /var/log/audit

/dev/mapper/rhel-var-log-audit on /var/log/audit type xfs (rw,nodev,nosuid,noexec,seclabel)

Verify that the "nosuid" option is configured for /var/log/audit:

$ sudo cat /etc/fstab | grep /var/log/audit

/dev/mapper/rhel-var-log-audit /var/log/audit xfs defaults,nodev,nosuid,noexec 0 0

If results are returned and the "nosuid" option is missing, or if /var/log/audit is mounted without the "nosuid" option, this is a finding.

Vulnerability Number

V-230518

Documentable

False

Rule Version

RHEL-08-040130

Severity Override Guidance

Verify "/var/log/audit" is mounted with the "nosuid" option:

$ sudo mount | grep /var/log/audit

/dev/mapper/rhel-var-log-audit on /var/log/audit type xfs (rw,nodev,nosuid,noexec,seclabel)

Verify that the "nosuid" option is configured for /var/log/audit:

$ sudo cat /etc/fstab | grep /var/log/audit

/dev/mapper/rhel-var-log-audit /var/log/audit xfs defaults,nodev,nosuid,noexec 0 0

If results are returned and the "nosuid" option is missing, or if /var/log/audit is mounted without the "nosuid" option, this is a finding.

Check Content Reference

M

Target Key

2921

Comments