STIGQter STIGQter: STIG Summary: VMware vSphere 7.0 vCenter Appliance Photon OS Security Technical Implementation Guide Version: 1 Release: 4 Benchmark Date: 30 Jan 2025:

The Photon operating system must require users to reauthenticate for privilege escalation.

DISA Rule

SV-256533r1050789_rule

Vulnerability Number

V-256533

Group Title

SRG-OS-000373-GPOS-00156

Rule Version

PHTN-30-000062

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Check the configuration of the "/etc/sudoers" and "/etc/sudoers.d/*" files with the following command:

# visudo

OR

# visudo -f /etc/sudoers.d/<file name>

Remove any occurrences of "NOPASSWD" tags associated with user accounts with a password hash.

Check Contents

At the command line, run the following commands:

# grep -ihs nopasswd /etc/sudoers /etc/sudoers.d/*|grep -v "^#"|grep -v "^%"|awk '{print $1}'

# awk -F: '($2 != "x" && $2 != "!") {print $1}' /etc/shadow

If any account listed in the first output is also listed in the second output and is not documented, this is a finding.

Vulnerability Number

V-256533

Documentable

False

Rule Version

PHTN-30-000062

Severity Override Guidance

At the command line, run the following commands:

# grep -ihs nopasswd /etc/sudoers /etc/sudoers.d/*|grep -v "^#"|grep -v "^%"|awk '{print $1}'

# awk -F: '($2 != "x" && $2 != "!") {print $1}' /etc/shadow

If any account listed in the first output is also listed in the second output and is not documented, this is a finding.

Check Content Reference

M

Target Key

5520