Webinar on how Oracle 12c Multitenant changes database security: how pluggable databases can cause breaches, auditing, the Advanced Security Option, and recommended practices.
Play the Recording: Securing Oracle 12c Multitenant Pluggable DatabasesOracle Multitenant was built to consolidate databases: a container database (CDB) hosts many pluggable databases (PDBs), which simplifies provisioning and management, and only the CDB is patched. However, accidental or intentional acts can create security breaches with pluggable databases. We review the features the multitenant option introduces and how it changes basic database security, from common users, roles and grants to startup parameters and file system access, then cover auditing and the Advanced Security Option (ASO) with pluggable databases.
We finish with our recommended practices, so DBAs and security teams can revise their database security policies and update their audit and monitoring scripts before moving databases into a CDB.
Key Points
- Common users, roles and profiles exist in all current and future PDBs, need the
C##prefix and do not move with a PDB plugged into another CDB, so create them sparingly and only for maintenance, and take care grantingCREATE SESSIONcommonly, which opens every PDB, orSET CONTAINER, which lets users move among PDBs without authenticating. - PDBs inherit startup parameters from the CDB and can override, in
PDB_SPFILE$, only the 184 whereISPDB_MODIFIABLEis TRUE, not the 199 others such as auditing, FIPS-140 andUTL_FILE_DIR, so add parameter changes in both the CDB and each PDB to your monitoring and audit scripts. - In 12.1 all PDBs share one Oracle Home owned by a single OS account, so
UTL_FILE, directories, external tables, SQL*Loader and EXTPROC must be isolated by hand in each PDB, which 12.2 fixes with PDB lockdown profiles and thePDB_OS_CREDENTIAL,PATH_PREFIXandCREATE_FILE_DESTparameters; both releases are now desupported. - The CDB and all PDBs share one alert log and either traditional auditing, which Oracle desupported in 23ai (now 26ai) in favor of Unified Auditing, or Unified Auditing, but each has its own audit trail in its own SYSAUX tablespace,
CDB_UNIFIED_AUDIT_TRAILholds all PDB activity, and common audit policies do not move with a PDB. - TDE, an additional license option, works with Multitenant, keeping the keystore (wallet) in the operating system and a master encryption key for each PDB, each PDB needs its own wallet and SSL certificates, and Database Vault, pre-installed with 12c, need not be used in every PDB, but its
DV_OWNERaccount must not be locked. - Before using Multitenant, use separate CDBs for production and non-production, customize PDBs rather than the CDB and never
PDB$SEED, keep theC##common user prefix, remove APEX from the CDB, and update all audit and monitoring scripts for the newCDB_views, theORACLE_MAINTAINEDandCOMMONcolumns, and theCDB_DBAandPDB_DBAroles.