STIGQter STIGQter: STIG Summary: Solaris 11 X86 Security Technical Implementation Guide Version: 2 Release: 3 Benchmark Date: 23 Apr 2021:

The system must implement non-executable program stacks.

DISA Rule

SV-216206r603268_rule

Vulnerability Number

V-216206

Group Title

SRG-OS-000480

Rule Version

SOL-11.1-080020

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

The root role is required.

Determine the OS version you are currently securing.

# uname –v

If the OS version is 11.3 or newer, enable non-executable program stacks using the "sxadm" command.

# pfexec sxadm enable nxstack

For Solaris 11, 11.1, and 11.2, this action applies to the global zone only and the "/etc/system" file is updated. Determine the zone that you are currently securing.

# zonename

If the command output is "global", modify the "/etc/system" file.

# pfedit /etc/system

add the line:

set noexec_user_stack=1

Solaris 11, 11.1, and 11.2 systems will need to be restarted for the setting to take effect.

Check Contents

Determine the OS version you are currently securing.

# uname –v

If the OS version is 11.3 or newer, this check applies to all zones and relies on the "sxadm" command. Determine if the system implements non-executable program stacks.

# sxadm status -p nxstack | cut -d: -f2
enabled (all)

If the command output is not "enabled (all)", this is a finding.

For Solaris 11, 11.1, and 11.2, this check applies to the global zone only and the "/etc/system" file is inspected. Determine the zone that you are currently securing.

# zonename

If the command output is "global", determine if the system implements non-executable program stacks.

# grep noexec_user_stack /etc/system

If the noexec_user_stack is not set to 1, this is a finding.

Vulnerability Number

V-216206

Documentable

False

Rule Version

SOL-11.1-080020

Severity Override Guidance

Determine the OS version you are currently securing.

# uname –v

If the OS version is 11.3 or newer, this check applies to all zones and relies on the "sxadm" command. Determine if the system implements non-executable program stacks.

# sxadm status -p nxstack | cut -d: -f2
enabled (all)

If the command output is not "enabled (all)", this is a finding.

For Solaris 11, 11.1, and 11.2, this check applies to the global zone only and the "/etc/system" file is inspected. Determine the zone that you are currently securing.

# zonename

If the command output is "global", determine if the system implements non-executable program stacks.

# grep noexec_user_stack /etc/system

If the noexec_user_stack is not set to 1, this is a finding.

Check Content Reference

M

Target Key

4021

Comments