SV-98923r1_rule
V-88273
SRG-APP-000233-DB-000124
VROM-PG-000265
CAT II
10
At the command prompt, execute 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.
At the command prompt, execute the following command:
# /opt/vmware/vpostgres/current/bin/psql -U postgres -c "\dp.*.;"
Review the Access Privilege column for all Schemas listed as information_schema and pg_catalog.
If access privilege is granted to any users other than "postgres", this is a finding.
V-88273
False
VROM-PG-000265
At the command prompt, execute the following command:
# /opt/vmware/vpostgres/current/bin/psql -U postgres -c "\dp.*.;"
Review the Access Privilege column for all Schemas listed as information_schema and pg_catalog.
If access privilege is granted to any users other than "postgres", this is a finding.
M
3445