STIGQter STIGQter: STIG Summary: VMware vSphere 8.0 vCenter Appliance Photon OS 4.0 Security Technical Implementation Guide Version: 1 Release: 1 Benchmark Date: 31 Oct 2023:

The Photon operating system /var/log directory must be restricted.

DISA Rule

SV-258831r933554_rule

Vulnerability Number

V-258831

Group Title

SRG-OS-000205-GPOS-00083

Rule Version

PHTN-40-000073

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

At the command line, run the following commands:

# chown root:root /var/log
# chmod 0755 /var/log

Check Contents

At the command line, run the following command to verify permissions on the /var/log directory:

# stat -c "%n is owned by %U and group owned by %G with permissions of %a" /var/log

Expected result:

/var/log is owned by root and group owned by root with permissions of 755

If the /var/log directory is not owned by root, this is a finding.
If the /var/log directory is not group owned by root, this is a finding.
If the /var/log directory permissions are not set to 0755 or less, this is a finding.

Vulnerability Number

V-258831

Documentable

False

Rule Version

PHTN-40-000073

Severity Override Guidance

At the command line, run the following command to verify permissions on the /var/log directory:

# stat -c "%n is owned by %U and group owned by %G with permissions of %a" /var/log

Expected result:

/var/log is owned by root and group owned by root with permissions of 755

If the /var/log directory is not owned by root, this is a finding.
If the /var/log directory is not group owned by root, this is a finding.
If the /var/log directory permissions are not set to 0755 or less, this is a finding.

Check Content Reference

M

Target Key

5569