UCF STIG Viewer Logo

A least-privileges assignment must be used for the vCenter Server database user.


Overview

Finding ID Version Rule ID IA Controls Severity
VCENTER-000023 VCENTER-000023 VCENTER-000023_rule Medium
Description
Least-privileges mitigates attacks if the vCenter database account is compromised. vCenter requires very specific privileges on the database. Privileges normally required only for installation and upgrade must be removed for/during normal operation. These privileges may be reinstated if/when any future upgrade must be performed.
STIG Date
VMware vCenter Server Security Technical Implementation Guide 2013-01-15

Details

Check Text ( C-VCENTER-000023_chk )
Verify only the runtime privileges needed for the current vCenter state, on either Oracle or Microsoft SQL Server, is assigned.

Grant the following permissions to the vCenter user in the vCenter database.
GRANT ALTER ON SCHEMA :: to ;
GRANT REFERENCES ON SCHEMA :: to ;
GRANT INSERT ON SCHEMA :: to ;
GRANT CREATE TABLE to ;
GRANT CREATE VIEW to ;
GRANT CREATE Procedure to ;

Grant the following permissions to the user in the MSDB database. Note that the msdb database is used by SQL Server Agent for scheduling alerts and jobs.
GRANT SELECT on msdb.dbo.syscategories to ;
GRANT SELECT on msdb.dbo.sysjobsteps to ;
GRANT SELECT ON msdb.dbo.sysjobs to ;
GRANT EXECUTE ON msdb.dbo.sp_add_job TO ;
GRANT EXECUTE ON msdb.dbo.sp_delete_job TO ;
GRANT EXECUTE ON msdb.dbo.sp_add_jobstep TO ;
GRANT EXECUTE ON msdb.dbo.sp_update_job TO ;
GRANT EXECUTE ON msdb.dbo.sp_add_category TO ;
GRANT EXECUTE ON msdb.dbo.sp_add_jobserver TO ;
GRANT EXECUTE ON msdb.dbo.sp_add_jobschedule TO ;

For Oracle, either assign the DBA role or grant the following permissions to the user.
grant connect to
grant resource to
grant create view to
grant create materialized view to
grant execute on dbms_job to
grant execute on dbms_lock to
grant unlimited tablespace to

If the above permissions are not strictly adhered to, this is a finding.
Fix Text (F-VCENTER-000023_fix)
Set the runtime privileges needed for the current vCenter state, on either Oracle or Microsoft SQL Server as noted below.

Grant the following permissions to the vCenter user in the vCenter database:
GRANT ALTER ON SCHEMA :: to ;
GRANT REFERENCES ON SCHEMA :: to ;
GRANT INSERT ON SCHEMA :: to ;
GRANT CREATE TABLE to ;
GRANT CREATE VIEW to ;
GRANT CREATE Procedure to ;

Grant the following permissions to the user in the MSDB database. Note that the msdb database is used by SQL Server Agent for scheduling alerts and jobs.
GRANT SELECT on msdb.dbo.syscategories to ;
GRANT SELECT on msdb.dbo.sysjobsteps to ;
GRANT SELECT ON msdb.dbo.sysjobs to ;
GRANT EXECUTE ON msdb.dbo.sp_add_job TO ;
GRANT EXECUTE ON msdb.dbo.sp_delete_job TO ;
GRANT EXECUTE ON msdb.dbo.sp_add_jobstep TO ;
GRANT EXECUTE ON msdb.dbo.sp_update_job TO ;
GRANT EXECUTE ON msdb.dbo.sp_add_category TO ;
GRANT EXECUTE ON msdb.dbo.sp_add_jobserver TO ;
GRANT EXECUTE ON msdb.dbo.sp_add_jobschedule TO ;

For Oracle, either assign the DBA role or grant the following permissions to the user.
grant connect to
grant resource to
grant create view to
grant create materialized view to
grant execute on dbms_job to
grant execute on dbms_lock to
grant unlimited tablespace to