VCPG-70-000006 - All vCenter database (VCDB) tables must be owned by the 'vc' user account.

Information

Within the database, object ownership implies full privileges to the owned object, including the privilege to assign access to the owned objects to other subjects. Database functions and procedures can be coded using definer's rights. This allows anyone who uses the object to perform the actions if they are the owner. If not properly managed, this can lead to privileged actions being taken by unauthorized individuals.

VCDB is configured out of the box to be owned by the 'vc' Postgres user. This configuration must be verified and maintained.

Solution

At the command prompt, run the following command:

# /opt/vmware/vpostgres/current/bin/psql -d VCDB -U postgres -c 'ALTER TABLE <tablename> OWNER TO vc;'

Replace <tablename> with the name of the table 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: CONFIGURATION MANAGEMENT

References: 800-53|CM-5(6), CAT|II, CCI|CCI-001499, Rule-ID|SV-256596r918971_rule, STIG-ID|VCPG-70-000006, Vuln-ID|V-256596

Plugin: Unix

Control ID: f34074f820fed90fd18d4ceae2f415d38a111fcfc2c0f9877802fa37d2dafa52