# Solving Oracle E-Business Suite Security Challenges with Database Vault

- URL: https://www.integrigy.com/security-resources/solving-oracle-e-business-suite-security-challenges-database-vault
- Published: 2015-12-18
- Type: Webinar
- Products: Oracle E-Business Suite, Oracle Database
- Focus areas: Security Strategy and Standards
- Tags: Oracle Database Vault
- PDF: https://www.integrigy.com/sites/default/files/Integrigy%20Solving%20Oracle%20EBS%20Security%20Challenges%20with%20Database%20Vault.pdf
- Recording: https://www.youtube.com/watch?v=Ze__yT6RSAs

> Webinar on using Oracle Database Vault to control privileged users and restrict direct database access in complex Oracle E-Business Suite environments.

In complex Oracle E-Business Suite environments, controlling privileged users and restricting direct database access are two of the security challenges organizations must solve for a secure and compliant implementation. We examine how Oracle Database Vault, an add-on option licensed separately, can mitigate them: how its realms, command rules, rule sets and factors work, how it is certified and installed for EBS, and its limitations.

We then show how to limit over-privileged database accounts with realms and how to block direct database access with command rules. EBS DBAs and security teams can then decide where Database Vault fits in their environment.

## Key Points

- Database Vault only takes privileges away, never grants them: realms control system privileges such as SELECT ANY TABLE but not direct or PUBLIC object privileges, command rules control any SQL statement, and rule sets use factors such as client IP address, program name or OS user, with duties split between DBA and security administrator.
- Database Vault is certified separately for each EBS and database version, so verify on My Oracle Support (in December 2015 the slides recommend 11.2.0.4, now desupported), and create the EBS realms, which no EBS version includes, with the EBS DV patches and `fnddbvebs.sql`, as described for Database Vault 11gR2 in MOS Note ID 1091083.1 (12.0 and 12.1) or 1091086.1 (11i).
- Disable Database Vault when upgrading the database and when applying EBS patches that create database schemas, for which `fnddbvpatchx` relaxes some restrictions and grants `DV_ACCTMGR` to SYSTEM, and change passwords with `AFPASSWD`, since `FNDCPASS` must be run by an account with the `DV_ACCTMGR` role.
- The standard EBS realms (Note ID 428503.1) protect the EBS product schemas, APPLSYS, APPS, APPLSYSPUB, MSC and CTXSYS with all-or-nothing access, blocking SYS and named DBAs from EBS data, though DBAs may need access to FND tables added back, but they offer no solution for SYSTEM, which EBS patching and password changes use.
- Where service accounts and ad-hoc users keep privileges such as SELECT ANY TABLE, easier than managing 35,000+ individual grants, create custom realms by schema rather than by object, such as `object_owner` HR with `object_name` and `object_type` set to `%`, each authorized through a role such as HR_ROLE.
- Any user with direct database access can exploit unpatched vulnerabilities in public packages, so use a CONNECT command rule and rule set to let each type of account, above all generic privileged ones such as APPS and SYSTEM, connect only from its expected IP address, program and OS user, though clients can spoof the last two.
