VCPG-70-000015 - VMware Postgres must not allow schema access to unauthorized accounts.

Information

Database management systems typically separate security functionality from nonsecurity functionality via separate databases or schemas. Database objects or code implementing security functionality should not be commingled with objects or code implementing application logic. When security and nonsecurity functionality are commingled, users who have access to nonsecurity functionality may be able to access security functionality.

VMware Postgres contains a number of system configuration schemas for which access must be strictly limited. By default, the 'pg_catalog' and 'information_schema' objects are configured to only be accessible in a read-only manner publicly and otherwise only accessible by the Postgres user. This configuration must be verified and maintained.

Solution

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.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_vSphere_7-0_Y23M07_STIG.zip

Item Details

Category: SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|SC-3, CAT|II, CCI|CCI-001084, Rule-ID|SV-256605r887601_rule, STIG-ID|VCPG-70-000015, Vuln-ID|V-256605

Plugin: Unix

Control ID: 69a4d341c938149799b92b55f1b0b3d4f469a15b35caf040a00a734f1f6aa3e4