STIGQter STIGQter: STIG Summary: VMware vSphere 7.0 vCenter Appliance PostgreSQL Security Technical Implementation Guide Version: 1 Release: 2 Benchmark Date: 26 Jul 2023:

VMware Postgres must not allow schema access to unauthorized accounts.

DISA Rule

SV-256605r887601_rule

Vulnerability Number

V-256605

Group Title

SRG-APP-000233-DB-000124

Rule Version

VCPG-70-000015

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

At the command prompt, run the following command:

# /opt/vmware/vpostgres/current/bin/psql -U postgres -c "REVOKE ALL PRIVILEGES ON <name> FROM <user>;"

Replace <name> and <user> with the Access Privilege name and account, respectively, discovered during the check.

Check Contents

At the command prompt, run the following command:

# /opt/vmware/vpostgres/current/bin/psql -U postgres -c "\dp .*.;" |grep -E "information_schema|pg_catalog"|awk -F '|' '{print $4}'|awk -F '/' '{print $1}'|grep -v "=r" | grep -v "^[[:space:]]*$" | grep -v "postgres"

If any lines are returned, this is a finding.

Vulnerability Number

V-256605

Documentable

False

Rule Version

VCPG-70-000015

Severity Override Guidance

At the command prompt, run the following command:

# /opt/vmware/vpostgres/current/bin/psql -U postgres -c "\dp .*.;" |grep -E "information_schema|pg_catalog"|awk -F '|' '{print $4}'|awk -F '/' '{print $1}'|grep -v "=r" | grep -v "^[[:space:]]*$" | grep -v "postgres"

If any lines are returned, this is a finding.

Check Content Reference

M

Target Key

5521