Nutanix OS must mount /var/log with secure options.

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
mediumV-279591SRG-OS-000368-GPOS-00154NXAC-OS-000140SV-279591r1192462_rule2026-02-241

Description

Controlling program execution is a mechanism used to prevent execution of unauthorized programs. Some operating systems may provide a capability that runs counter to the mission or provides users with functionality that exceeds mission requirements. This includes functions and services installed at the operating system level. Some of the programs, installed by default, may be harmful or may not be necessary to support essential organizational operations (e.g., key missions, functions). Removal of executable programs is not always possible; therefore, establishing a method of preventing program execution is critical to maintaining a secure system baseline. Methods for complying with this requirement include restricting program execution in certain environments, while preventing execution in other environments; or limiting execution of certain program functionality based on organization-defined criteria (e.g., privileges, subnets, sandboxed environments, or roles).

ℹ️ Check

For AHV, this requirement is Not Applicable. Verify in Nutanix OS that the "nodev","nosuid", and "noexec" options are configured for /var/log using the following command. $ sudo cat /etc/fstab | grep /var/log /root/filesystems/varlog.bin /var/log ext4 defaults,nodev,nosuid,noexec 0 2 If /var/log is mounted without secure options "nodev", "nosuid", and "noexec", this is a finding.

✔️ Fix

Nutanix AOS is designed and engineered to have mount option preconfigured by default and changes are not supported. If any mount options are found, then some corruption has occurred and the CVM must be rebuilt.