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

The vCenter PostgreSQL service must log all connection attempts.

DISA Rule

SV-259183r935453_rule

Vulnerability Number

V-259183

Group Title

SRG-APP-000503-DB-000350

Rule Version

VCPG-80-000110

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

A script is included with vCenter to generate a PostgreSQL STIG configuration.

At the command prompt, run the following commands:

# chmod +x /opt/vmware/vpostgres/current/bin/vmw_vpg_config/vmw_vpg_config.py
# /opt/vmware/vpostgres/current/bin/vmw_vpg_config/vmw_vpg_config.py --action stig_enable --pg-data-dir /storage/db/vpostgres
# chmod -x /opt/vmware/vpostgres/current/bin/vmw_vpg_config/vmw_vpg_config.py

Restart the PostgreSQL service by running the following command:

# vmon-cli --restart vmware-vpostgres

Check Contents

At the command prompt, run the following command:

# /opt/vmware/vpostgres/current/bin/psql -U postgres -A -t -c "SHOW log_connections;"

Expected result:

on

If the output does not match the expected result, this is a finding.

Vulnerability Number

V-259183

Documentable

False

Rule Version

VCPG-80-000110

Severity Override Guidance

At the command prompt, run the following command:

# /opt/vmware/vpostgres/current/bin/psql -U postgres -A -t -c "SHOW log_connections;"

Expected result:

on

If the output does not match the expected result, this is a finding.

Check Content Reference

M

Target Key

5570