CIS Oracle Database 11g R2 Benchmark v2.2.0 ARCHIVE
CIS Oracle Database 11g R2 Benchmark v2.2.0 ARCHIVE
ARCHIVE
v2.2.0 - 05-31-2016
The CIS Security Benchmarks division provides consensus-oriented information security products, services, tools, metrics, suggestions, and
recommendations (the “SB Products”) as a public service to Internet users worldwide. Downloading or using SB Products in any way signifies
and confirms your acceptance of and your binding agreement to these CIS Security Benchmarks Terms of Use.
SPECIAL RULES FOR CIS MEMBER ORGANIZATIONS: CIS reserves the right to create special rules for: (1) CIS Members; and (2) Non-
Member organizations and individuals with which CIS has a written contractual relationship. CIS hereby grants to each CIS Member
Organization in good standing the right to distribute the SB Products within such Member's own organization, whether by manual or
electronic means. Each such Member Organization acknowledges and agrees that the foregoing grants in this paragraph are subject to the
terms of such Member's membership arrangement with CIS and may, therefore, be modified or terminated by CIS at any time.
1|Page
Table of Contents
Overview ....................................................................................................................................................................8
Intended Audience ............................................................................................................................................8
Consensus Guidance .........................................................................................................................................8
Typographical Conventions........................................................................................................................ 10
Scoring Information ....................................................................................................................................... 10
Profile Definitions........................................................................................................................................... 11
Acknowledgements ........................................................................................................................................ 12
Recommendations............................................................................................................................................... 13
1 Oracle Database Installation and Patching Requirements ......................................................... 13
1.1 Ensure the Appropriate Version/Patches for Oracle Software Is Installed
(Scored)..................................................................................................................................................... 13
1.2 Ensure All Default Passwords Are Changed (Scored) ..................................................... 15
1.3 Ensure All Sample Data And Users Have Been Removed (Scored) ........................... 17
2 Oracle Parameter Settings ....................................................................................................................... 18
2.1 Listener Settings ................................................................................................................................. 19
2.1.1 Ensure 'SECURE_CONTROL_<listener_name>' Is Set In 'listener.ora' (Scored) 19
2.1.2 Ensure 'extproc' Is Not Present in 'listener.ora' (Scored) ......................................... 21
2.1.3 Ensure 'ADMIN_RESTRICTIONS_<listener_name>' Is Set to 'ON' (Scored) ........ 22
2.1.4 Ensure 'SECURE_REGISTER_<listener_name>' Is Set to 'TCPS' or 'IPC' (Scored)
...................................................................................................................................................................... 24
2.2 Database settings ................................................................................................................................ 26
2.2.1 Ensure 'AUDIT_SYS_OPERATIONS' Is Set to 'TRUE' (Scored) .................................. 26
2.2.2 Ensure 'AUDIT_TRAIL' Is Set to 'OS', 'DB', 'XML', 'DB,EXTENDED', or
'XML,EXTENDED' (Scored)................................................................................................................ 28
2.2.3 Ensure 'GLOBAL_NAMES' Is Set to 'TRUE' (Scored) .................................................... 29
2.2.4 Ensure 'LOCAL_LISTENER' Is Set Appropriately (Scored) ........................................ 30
2.2.5 Ensure 'O7_DICTIONARY_ACCESSIBILITY' Is Set to 'FALSE' (Scored) ................. 32
2.2.6 Ensure 'OS_ROLES' Is Set to 'FALSE' (Scored) ................................................................ 33
2|Page
2.2.7 Ensure 'REMOTE_LISTENER' Is Empty (Scored) .......................................................... 34
2.2.8 Ensure 'REMOTE_LOGIN_PASSWORDFILE' Is Set to 'NONE' (Scored) ................. 35
2.2.9 Ensure 'REMOTE_OS_AUTHENT' Is Set to 'FALSE' (Scored) .................................... 36
2.2.10 Ensure 'REMOTE_OS_ROLES' Is Set to 'FALSE' (Scored) ......................................... 37
2.2.11 Ensure 'UTIL_FILE_DIR' Is Empty (Scored) .................................................................. 38
2.2.12 Ensure 'SEC_CASE_SENSITIVE_LOGON' Is Set to 'TRUE' (Scored) ...................... 39
2.2.13 Ensure 'SEC_MAX_FAILED_LOGIN_ATTEMPTS' Is Set to '10' (Scored) ............. 41
2.2.14 Ensure 'SEC_PROTOCOL_ERROR_FURTHER_ACTION' Is Set to 'DELAY,3' or
'DROP,3' (Scored).................................................................................................................................. 42
2.2.15 Ensure 'SEC_PROTOCOL_ERROR_TRACE_ACTION' Is Set to 'LOG' (Scored) ... 43
2.2.16 Ensure 'SEC_RETURN_SERVER_RELEASE_BANNER' Is Set to 'FALSE' (Scored)
...................................................................................................................................................................... 44
2.2.17 Ensure 'SQL92_SECURITY' Is Set to 'TRUE' (Scored)................................................ 45
2.2.18 Ensure '_TRACE_FILES_PUBLIC' Is Set to 'FALSE' (Scored) ................................... 46
2.2.19 Ensure 'RESOURCE_LIMIT' Is Set to 'TRUE' (Scored) ............................................... 47
3 Oracle Connection and Login Restrictions ........................................................................................ 48
3.1 Ensure 'FAILED_LOGIN_ATTEMPTS' Is Less than or Equal to '5' (Scored) ............ 48
3.2 Ensure 'PASSWORD_LOCK_TIME' Is Greater than or Equal to '1' (Scored) ........... 50
3.3 Ensure 'PASSWORD_LIFE_TIME' Is Less than or Equal to '90' (Scored) ................. 51
3.4 Ensure 'PASSWORD_REUSE_MAX' Is Greater than or Equal to '20' (Scored) ....... 52
3.5 Ensure 'PASSWORD_REUSE_TIME' Is Greater than or Equal to '365' (Scored) ... 53
3.6 Ensure 'PASSWORD_GRACE_TIME' Is Less than or Equal to '5' (Scored)............... 54
3.7 Ensure 'DBA_USERS.PASSWORD' Is Not Set to 'EXTERNAL' for Any User (Scored)
...................................................................................................................................................................... 55
3.8 Ensure 'PASSWORD_VERIFY_FUNCTION' Is Set for All Profiles (Scored) .............. 56
3.9 Ensure 'SESSIONS_PER_USER' Is Less than or Equal to '10' (Scored) ...................... 57
3.10 Ensure No Users Are Assigned the 'DEFAULT' Profile (Scored) .............................. 58
4 Oracle User Access and Authorization Restrictions ...................................................................... 59
4.1 Default Public Privileges for Packages and Object Types................................................... 60
4.1.1 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'DBMS_ADVISOR' (Scored) ... 60
4.1.2 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'DBMS_CRYPTO' (Scored) ..... 61
3|Page
4.1.3 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'DBMS_JAVA' (Scored) ........... 62
4.1.4 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'DBMS_JAVA_TEST' (Scored)
...................................................................................................................................................................... 63
4.1.5 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'DBMS_JOB' (Scored) .............. 64
4.1.6 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'DBMS_LDAP' (Scored) .......... 66
4.1.7 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'DBMS_LOB' (Scored) ............. 67
4.1.8 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on
'DBMS_OBFUSCATION_TOOLKIT' (Scored) ................................................................................ 69
4.1.9 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'DBMS_RANDOM' (Scored) .. 71
4.1.10 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'DBMS_SCHEDULER'
(Scored)..................................................................................................................................................... 72
4.1.11 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'DBMS_SQL' (Scored) ........... 73
4.1.12 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'DBMS_XMLGEN' (Scored) . 74
4.1.13 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'DBMS_XMLQUERY' (Scored)
...................................................................................................................................................................... 75
4.1.14 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'UTL_FILE' (Scored).............. 76
4.1.15 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'UTL_INADDR' (Scored) ...... 77
4.1.16 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'UTL_TCP' (Scored) ............... 78
4.1.17 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'UTL_MAIL' (Scored) ............ 79
4.1.18 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'UTL_SMTP' (Scored) ........... 80
4.1.19 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'UTL_DBWS' (Scored) .......... 81
4.1.20 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'UTL_ORAMTS' (Scored) ..... 82
4.1.21 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'UTL_HTTP' (Scored) ........... 83
4.1.22 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'HTTPURITYPE' (Scored) ... 84
4.2 Revoke Non-Default Privileges for Packages and Object Types ...................................... 85
4.2.1 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'DBMS_SYS_SQL' (Scored) .... 85
4.2.2 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'DBMS_BACKUP_RESTORE'
(Scored)..................................................................................................................................................... 86
4.2.3 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'DBMS_AQADM_SYSCALLS'
(Scored)..................................................................................................................................................... 87
4.2.4 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'DBMS_REPCAT_SQL_UTL'
(Scored)..................................................................................................................................................... 88
4|Page
4.2.5 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'INITJVMAUX' (Scored) .......... 89
4.2.6 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'DBMS_STREAMS_ADM_UTL'
(Scored)..................................................................................................................................................... 90
4.2.7 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'DBMS_AQADM_SYS' (Scored)
...................................................................................................................................................................... 91
4.2.8 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'DBMS_STREAMS_RPC'
(Scored)..................................................................................................................................................... 92
4.2.9 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'DBMS_PRVTAQIM' (Scored)
...................................................................................................................................................................... 93
4.2.10 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'LTADM' (Scored) .................. 94
4.2.11 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'WWV_DBMS_SQL' (Scored)
...................................................................................................................................................................... 95
4.2.12 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on
'WWV_EXECUTE_IMMEDIATE' (Scored) ..................................................................................... 96
4.2.13 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'DBMS_IJOB' (Scored) .......... 97
4.2.14 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'DBMS_FILE_TRANSFER'
(Scored)..................................................................................................................................................... 98
4.3 Revoke Excessive System Privileges ........................................................................................... 99
4.3.1 Ensure 'SELECT_ANY_DICTIONARY' Is Revoked from Unauthorized 'GRANTEE'
(Scored)..................................................................................................................................................... 99
4.3.2 Ensure 'SELECT ANY TABLE' Is Revoked from Unauthorized 'GRANTEE'
(Scored).................................................................................................................................................. 100
4.3.3 Ensure 'AUDIT SYSTEM' Is Revoked from Unauthorized 'GRANTEE' (Scored)
................................................................................................................................................................... 101
4.3.4 Ensure 'EXEMPT ACCESS POLICY' Is Revoked from Unauthorized 'GRANTEE'
(Scored).................................................................................................................................................. 102
4.3.5 Ensure 'BECOME USER' Is Revoked from Unauthorized 'GRANTEE' (Scored)
................................................................................................................................................................... 103
4.3.6 Ensure 'CREATE_PROCEDURE' Is Revoked from Unauthorized 'GRANTEE'
(Scored).................................................................................................................................................. 104
4.3.7 Ensure 'ALTER SYSTEM' Is Revoked from Unauthorized 'GRANTEE' (Scored)
................................................................................................................................................................... 105
4.3.8 Ensure 'CREATE ANY LIBRARY' Is Revoked from Unauthorized 'GRANTEE'
(Scored).................................................................................................................................................. 106
5|Page
4.3.9 Ensure 'CREATE LIBRARY' Is Revoked from Unauthorized 'GRANTEE' (Scored)
................................................................................................................................................................... 107
4.3.10 Ensure 'GRANT ANY OBJECT PRIVILEGE' Is Revoked from Unauthorized
'GRANTEE' (Scored) .......................................................................................................................... 108
4.3.11 Ensure 'GRANT ANY ROLE' Is Revoked from Unauthorized 'GRANTEE'
(Scored).................................................................................................................................................. 109
4.3.12 Ensure 'GRANT ANY PRIVILEGE' Is Revoked from Unauthorized 'GRANTEE'
(Scored).................................................................................................................................................. 110
4.4 Revoke Role Privileges .................................................................................................................. 111
4.4.1 Ensure 'DELETE_CATALOG_ROLE' Is Revoked from Unauthorized 'GRANTEE'
(Scored).................................................................................................................................................. 111
4.4.2 Ensure 'SELECT_CATALOG_ROLE' Is Revoked from Unauthorized 'GRANTEE'
(Scored).................................................................................................................................................. 112
4.4.3 Ensure 'EXECUTE_CATALOG_ROLE' Is Revoked from Unauthorized 'GRANTEE'
(Scored).................................................................................................................................................. 113
4.4.4 Ensure 'DBA' Is Revoked from Unauthorized 'GRANTEE' (Scored) ................... 114
4.5 Revoke Excessive Table and View Privileges ....................................................................... 115
4.5.1 Ensure 'ALL' Is Revoked from Unauthorized 'GRANTEE' on 'AUD$' (Scored)115
4.5.2 Ensure 'ALL' Is Revoked from Unauthorized 'GRANTEE' on 'USER_HISTORY$'
(Scored).................................................................................................................................................. 116
4.5.3 Ensure 'ALL' Is Revoked from Unauthorized 'GRANTEE' on 'LINK$' (Scored)
................................................................................................................................................................... 117
4.5.4 Ensure 'ALL' Is Revoked from Unauthorized 'GRANTEE' on 'SYS.USER$'
(Scored).................................................................................................................................................. 118
4.5.5 Ensure 'ALL' Is Revoked from Unauthorized 'GRANTEE' on 'DBA_%' (Scored)
................................................................................................................................................................... 119
4.5.6 Ensure 'ALL' Is Revoked from Unauthorized 'GRANTEE' on
'SYS.SCHEDULER$_CREDENTIAL' (Scored) ............................................................................ 120
4.5.7 Ensure 'SYS.USER$MIG' Has Been Dropped (Scored) .............................................. 121
4.6 Ensure '%ANY%' Is Revoked from Unauthorized 'GRANTEE' (Scored) .............. 122
4.7 Ensure 'DBA_SYS_PRIVS.%' Is Revoked from Unauthorized 'GRANTEE' with
'ADMIN_OPTION' Set to 'YES' (Scored) ..................................................................................... 123
4.8 Ensure Proxy Users Have Only 'CONNECT' Privilege (Scored) ................................ 124
4.9 Ensure 'EXECUTE ANY PROCEDURE' Is Revoked from 'OUTLN' (Scored) ......... 125
6|Page
4.10 Ensure 'EXECUTE ANY PROCEDURE' Is Revoked from 'DBSNMP' (Scored) ... 126
5 Audit/Logging Policies and Procedures ......................................................................................... 127
5.1 Enable 'USER' Audit Option (Scored) ................................................................................. 128
5.2 Enable 'ALTER USER' Audit Option (Scored) .................................................................. 130
5.3 Enable 'DROP USER' Audit Option (Scored) .................................................................... 131
5.4 Enable 'ROLE' Audit Option (Scored) ................................................................................. 132
5.5 Enable 'SYSTEM GRANT' Audit Option (Scored) ........................................................... 133
5.6 Enable 'PROFILE' Audit Option (Scored) .......................................................................... 134
5.7 Enable 'ALTER PROFILE' Audit Option (Scored) ........................................................... 135
5.8 Enable 'DROP PROFILE' Audit Option (Scored) ............................................................. 136
5.9 Enable 'DATABASE LINK' Audit Option (Scored) .......................................................... 137
5.10 Enable 'PUBLIC DATABASE LINK' Audit Option (Scored) ....................................... 138
5.11 Enable 'PUBLIC SYNONYM' Audit Option (Scored) .................................................... 139
5.12 Enable 'SYNONYM' Audit Option (Scored) .................................................................... 140
5.13 Enable 'GRANT DIRECTORY' Audit Option (Scored) ................................................. 141
5.14 Enable 'SELECT ANY DICTIONARY' Audit Option (Scored) .................................... 142
5.15 Enable 'GRANT ANY OBJECT PRIVILEGE' Audit Option (Scored) ........................ 143
5.16 Enable 'GRANT ANY PRIVILEGE' Audit Option (Scored) ......................................... 145
5.17 Enable 'DROP ANY PROCEDURE' Audit Option (Scored) ........................................ 146
5.18 Enable 'ALL' Audit Option on 'SYS.AUD$' (Scored) .................................................... 147
5.19 Enable 'PROCEDURE' Audit Option (Scored) ............................................................... 148
5.20 Enable 'ALTER SYSTEM' Audit Option (Scored).......................................................... 149
5.21 Enable 'TRIGGER' Audit Option (Scored) ....................................................................... 150
5.22 Enable 'CREATE SESSION' Audit Option (Scored) ...................................................... 152
6 Appendix: Establishing an Audit/Scan User ................................................................................. 154
Appendix: Change History ............................................................................................................................ 161
7|Page
Overview
This is the archive of the CIS Benchmark for Oracle Database 11g R2. CIS
encourages you to migrate to a more recent, supported version of this
technology.
This document is intended to address the recommended security settings for Oracle
Database 11g R2. This guide was tested against Oracle Database 11g R2 (11.2.0.4) running
on a Windows Server 2012 R2 instance as a stand-alone system, and running on an Oracle
Linux 6.5 instance also as a stand-alone system. Future Oracle Database 11g R2 critical
patch updates (CPUs) may impact the recommendations included in this document.
Intended Audience
This benchmark is intended for system and application administrators, security specialists,
auditors, help desk, and platform deployment personnel who plan to develop, deploy,
assess, or secure solutions that incorporate Oracle Database 11g R2 on Oracle Linux or
Microsoft Windows Server.
Consensus Guidance
This benchmark was created using a consensus review process comprised of subject
matter experts. Consensus participants provide perspective from a diverse set of
backgrounds including consulting, software development, audit and compliance, security
research, operations, government, and legal.
Each CIS benchmark undergoes two phases of consensus review. The first phase occurs
during initial benchmark development. During this phase, subject matter experts convene
to discuss, create, and test working drafts of the benchmark. This discussion occurs until
consensus has been reached on benchmark recommendations. The second phase begins
after the benchmark has been published. During this phase, all feedback provided by the
Internet community is reviewed by the consensus team for incorporation in the
8|Page
benchmark. If you are interested in participating in the consensus process, please visit
https://community.cisecurity.org.
9|Page
Typographical Conventions
The following typographical conventions are used throughout this guide:
Convention Meaning
Stylized Monospace font Used for blocks of code, command, and script examples.
Text should be interpreted exactly as presented.
Monospace font Used for inline code, commands, or examples. Text should
be interpreted exactly as presented.
<italic font in brackets> Italic texts set in angle brackets denote a variable
requiring substitution for a real value.
Scoring Information
A scoring status indicates whether compliance with the given recommendation impacts the
assessed target's benchmark score. The following scoring statuses are used in this
benchmark:
Scored
Failure to comply with "Scored" recommendations will decrease the final benchmark score.
Compliance with "Scored" recommendations will increase the final benchmark score.
Not Scored
Failure to comply with "Not Scored" recommendations will not decrease the final
benchmark score. Compliance with "Not Scored" recommendations will not increase the
final benchmark score.
10 | P a g e
Profile Definitions
The following configuration profiles are defined by this Benchmark:
• Level 1 - RDBMS
Items in this profile apply to Oracle Database 11g R2 and intend to:
Items in this profile apply to Linux Host operating systems and intend to:
Items in this profile apply to Windows Server operating systems and intend to:
11 | P a g e
Acknowledgements
This benchmark exemplifies the great things a community of users, vendors, and subject matter
experts can accomplish through consensus collaboration. The CIS community thanks the entire
consensus team with special recognition to the following individuals who contributed greatly to
the creation of this guide:
Contributor
Arman Rawls
Adam Montville
Alexey Aristov
Dean Lackey
Jay Mehta
Samir Sayed
Scott Rotondo
Than Thi Cham
Timothy Harrison
Editor
Angelo Marcotullio
12 | P a g e
Recommendations
1 Oracle Database Installation and Patching Requirements
One of the best ways to ensure secure Oracle security is to implement Critical Patch
Updates (CPUs) as they come out, along with any applicable OS patches that will not
interfere with system operations. It is additionally prudent to remove Oracle sample data
from production environments.
• Level 1 - RDBMS
Description:
The Oracle installation should be supported with security patches and the latest Critical
Patch Updates should be applied quarterly.
Rationale:
As using the most recent Oracle database software, along with all applicable patches can
help limit the possibilities for vulnerabilities in the software, the installation version
and/or patches applied during setup should be established according to the needs of the
organization. Ensure you are using a release that is covered by a level of support that
includes the generation of Critical Patch Updates.
Audit:
13 | P a g e
To check for application of quarterly Critical Patch Updates:
SELECT ACTION, VERSION,ID
FROM DBA_REGISTRY_HISTORY
WHERE TO_DATE(TRIM(TO_CHAR(ID)), 'YYMMDD') > SYSDATE-90 AND ID > 160000;
A row returned by each SQL statement would be a pass for the recommendation.
Remediation:
Download and apply the latest quarterly Critical Patch Update patches.
References:
1. http://www.oracle.com/us/support/assurance/fixing-policies/index.html
2. http://www.oracle.com/technetwork/topics/security/alerts-086861.html
3. http://www.oracle.com/us/support/library/lifetime-support-technology-
069183.pdf
4. http://docs.oracle.com/cd/E11882_01/server.112/e40402/statviews_4212.htm#R
EFRN23549
14 | P a g e
1.2 Ensure All Default Passwords Are Changed (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The Oracle installation has a view called DBA_USERS_WITH_DEFPWD, which keeps a list of all
database users making use of default passwords.
Rationale:
Audit:
Remediation:
To remediate this recommendation, you may perform either of the following actions.
• Manually issue the following SQL statement for each USERNAME returned in the
Audit Procedure:
PASSWORD <username>
15 | P a g e
• Execute the following SQL script to randomly assign passwords:
begin
for r_user in
(select username from dba_users_with_defpwd where username not like '%XS$NULL%')
loop
DBMS_OUTPUT.PUT_LINE('Password for user '||r_user.username||' will be
changed.');
execute immediate 'alter user "'||r_user.username||'" identified by
"'||DBMS_RANDOM.string('a',16)||'"account lock password expire';
end loop;
end;
/
References:
1. http://docs.oracle.com/cd/E11882_01/server.112/e10575/tdpsg_user_accounts.ht
m#TDPSG20000
16 | P a g e
1.3 Ensure All Sample Data And Users Have Been Removed (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
Oracle sample schemas are not needed for the operation of the database. These include,
among others, information pertaining to a sample schemas pertaining to Human Resources,
Business Intelligence, Order Entry, and the like. These samples create sample users
(BI,HR,OE,PM,IX,SH, SCOTT), in addition to tables and fictitious data.
Rationale:
The sample data is typically not required for production operations of the database and
provides users with well-known default passwords, particular views, and
procedures/functions. Such users, views, and/or procedures/functions could be used to
launch exploits against production environments.
Audit:
To assess this recommendation, check for the presence of Oracle sample users by executing
the following SQL statement.
SELECT USERNAME
FROM ALL_USERS
WHERE USERNAME IN ('BI','HR','IX','OE','PM','SCOTT','SH');
Remediation:
To remediate this setting, it is recommended that you execute the following SQL script.
$ORACLE_HOME/demo/schema/drop_sch.sql
NOTE: The recyclebin is not set to OFF within the default drop script, which means that
the data will still be present in your environment until the recyclebin is emptied.
Impact:
The Oracle sample user names may be in use on a production basis. It is important that you
first verify that BI, HR, IX, OE, PM, SCOTT, and/or SH are not valid production user names
before executing the dropping SQL scripts. This may be particularly true with the HR and
BI users. If any of these users are present, it is important to be cautious and confirm
the schemas present are, in fact, Oracle sample schemas and not production schemas
being relied upon by business operations.
17 | P a g e
References:
1. http://docs.oracle.com/cd/E11882_01/server.112/e10831/toc.htm
Note:
For all files that have parameters that can be modified with the OS and/or SQL
commands/scripts, these will both be listed where appropriate.
18 | P a g e
2.1 Listener Settings
Settings for the TNS Listener listener.ora file.
Description:
Rationale:
Audit:
For example:
LISTENER1 =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=TCP) (HOST=sales-server)(PORT=1521))
(ADDRESS=(PROTOCOL=IPC) (KEY=REGISTER))
(ADDRESS=(PROTOCOL=TCPS) (HOST=sales-server)(PORT=1522)))
SECURE_CONTROL_LISTENER1=TCPS
19 | P a g e
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/network.112/e10835/listener.htm#NETRF
327
20 | P a g e
2.1.2 Ensure 'extproc' Is Not Present in 'listener.ora' (Scored)
Profile Applicability:
Description:
Oracle extproc allows the database to run procedures from operating system libraries.
These library calls can, in turn, run any operating system command.
Rationale:
extproc should be removed from the listener.ora to mitigate the risk that OS libraries can
be invoked by the Oracle instance.
Audit:
To audit this recommendation execute the following shell commands as appropriate for
your Unix/Windows environment.
Unix environment:
grep -i extproc $ORACLE_HOME/network/admin/listener.ora
Windows environment:
find /I extproc %ORACLE_HOME%\network\admin\listener.ora
Ensure extproc does not exist.
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/network.112/e10836/advcfg.htm#NETAG0
132
21 | P a g e
2.1.3 Ensure 'ADMIN_RESTRICTIONS_<listener_name>' Is Set to 'ON'
(Scored)
Profile Applicability:
Description:
Rationale:
As blocking unprivileged users from making alterations of the listener.ora file, where
remote data/services are specified, will help protect data confidentiality, this value should
be set to the needs of the organization.
Audit:
To audit this recommendation execute the following shell commands as appropriate for
your Unix/Windows environment.
Unix environment:
grep -i admin_restrictions $ORACLE_HOME/network/admin/listener.ora
Windows environment:
find /I admin_restrictions %ORACLE_HOME%|\network\admin\listener.ora
Ensure ADMIN_RESTRICTIONS_<listener_name> is set to ON for all listeners.
Remediation:
Default Value:
Not set.
22 | P a g e
References:
1. http://docs.oracle.com/cd/E11882_01/network.112/e10835/listener.htm#NETRF
310
23 | P a g e
2.1.4 Ensure 'SECURE_REGISTER_<listener_name>' Is Set to 'TCPS' or
'IPC' (Scored)
Profile Applicability:
Description:
Rationale:
Audit:
To audit this recommendation execute the following shell commands as appropriate for
your Unix/Windows environment.
Unix environment:
grep -i SECURE_REGISTER $ORACLE_HOME/network/admin/listener.ora
Windows environment:
find /I SECURE_REGISTER %ORACLE_HOME%\network\admin\listener.ora
Ensure SECURE_REGISTER_<listener_name> is set to TCPS or IPC.
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/network.112/e10835/listener.htm#NETRF
328
2. https://support.oracle.com/epmos/faces/ui/km/DocumentDisplay.jspx?id=145388
3.1
24 | P a g e
3. https://support.oracle.com/epmos/faces/ui/km/DocumentDisplay.jspx?id=134083
1.1
4. http://www.joxeankoret.com/download/tnspoison.pdf
25 | P a g e
2.2 Database settings
This section defines recommendations covering the general security configuration of the
database instance. The listed recommendations ensure auditing is enabled, listeners are
appropriately confined, and authentication is appropriately configured.
NOTE: The remediation procedures assume the use of a server parameter file, which is
often a preferred method of storing server initialization parameters.
ALTER SYSTEM SET <configuration_item> = <value> SCOPE = SPFILE;
For your environment, leaving off the SCOPE = SPFILE directive or substituting that with
SCOPE = BOTH might be preferred depending on the recommendation.
• Level 1 - RDBMS
Description:
The AUDIT_SYS_OPERATIONS setting provides for the auditing of all user activities conducted
under the SYSOPER and SYSDBA accounts.
Rationale:
Audit:
Remediation:
26 | P a g e
References:
1. http://docs.oracle.com/cd/E11882_01/server.112/e25513/initparams015.htm#R
EFRN10005
27 | P a g e
2.2.2 Ensure 'AUDIT_TRAIL' Is Set to 'OS', 'DB', 'XML', 'DB,EXTENDED', or
'XML,EXTENDED' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The audit_trail setting determines whether or not Oracle's basic audit features are
enabled. These can be set to "Operating System"(OS), "DB", "DB,EXTENDED", "XML"
or "XML,EXTENDED".
Rationale:
As enabling the basic auditing features for the Oracle instance permits the collection of data
to troubleshoot problems, as well as providing value forensic logs in the case of a system
breach, this value should be set according to the needs of the organization.
Audit:
Remediation:
References:
1. https://docs.oracle.com/cd/E11882_01/server.112/e40402/initparams017.htm#R
EFRN10006
2. http://www.oracle.com/technetwork/products/audit-vault/learnmore/twp-
security-auditperformance-166655.pdf
28 | P a g e
2.2.3 Ensure 'GLOBAL_NAMES' Is Set to 'TRUE' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The global_names setting requires that the name of a database link matches that of the
remote database it will connect to.
Rationale:
As not requiring database connections to match the domain that is being called remotely
could allow unauthorized domain sources to potentially connect via brute-force tactics, this
value should be set according to the needs of the organization.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/server.112/e25513/initparams096.htm#R
EFRN10065
29 | P a g e
2.2.4 Ensure 'LOCAL_LISTENER' Is Set Appropriately (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The local_listener setting specifies a network name that resolves to an address of the
Oracle TNS listener.
Rationale:
The TNS poisoning attack allows to redirect TNS network traffic to another system by
registering a listener to the TNS listener. This attack can be performed by unauthorized
users with network access. By specifying the IPC protocol it is no longer possible to register
listeners via TCP/IP.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/server.112/e25513/initparams118.htm#R
EFRN10082
2. https://support.oracle.com/epmos/faces/ui/km/DocumentDisplay.jspx?id=145388
3.1
30 | P a g e
3. https://support.oracle.com/epmos/faces/ui/km/DocumentDisplay.jspx?id=134083
1.1
4. http://www.joxeankoret.com/download/tnspoison.pdf
31 | P a g e
2.2.5 Ensure 'O7_DICTIONARY_ACCESSIBILITY' Is Set to 'FALSE' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
Rationale:
As leaving the SYS schema so open to connection could permit unauthorized access to
critical data structures, this value should be set according to the needs of the organization.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/server.112/e25513/initparams157.htm#R
EFRN10133
32 | P a g e
2.2.6 Ensure 'OS_ROLES' Is Set to 'FALSE' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
Rationale:
As allowing the OS use external groups for database management could cause privilege
overlaps and generally weaken security, this value should be set according to the needs of
the organization.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/server.112/e25513/initparams175.htm#R
EFRN10153
33 | P a g e
2.2.7 Ensure 'REMOTE_LISTENER' Is Empty (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The remote_listener setting determines whether or not a valid listener can be established
on a system separate from the database instance.
Rationale:
As permitting a remote listener for connections to the database instance can allow for the
potential spoofing of connections and that could compromise data confidentiality and
integrity, this value should be disabled/restricted according to the needs of the
organization.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/server.112/e25513/initparams208.htm#R
EFRN10183
34 | P a g e
2.2.8 Ensure 'REMOTE_LOGIN_PASSWORDFILE' Is Set to 'NONE' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
Rationale:
As the use of this sort of password login file could permit unsecured, privileged
connections to the database, this value should be set according to the needs of the
organization.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/server.112/e40402/initparams212.htm#R
EFRN10184
2. http://docs.oracle.com/cd/B28359_01/server.111/b28320/initparams198.htm#R
EFRN10184
35 | P a g e
2.2.9 Ensure 'REMOTE_OS_AUTHENT' Is Set to 'FALSE' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The remote_os_authent setting determines whether or not OS 'roles' with the attendant
privileges are allowed for remote client connections.
Rationale:
As permitting OS roles for database connections to can allow the spoofing of connections
and permit granting the privileges of an OS role to unauthorized users to make
connections, this value should be restricted according to the needs of the organization.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/server.112/e25513/initparams210.htm#R
EFRN10185
36 | P a g e
2.2.10 Ensure 'REMOTE_OS_ROLES' Is Set to 'FALSE' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
Rationale:
As allowing remote clients OS roles to have permissions for database management could
cause privilege overlaps and generally weaken security, this value should be set according
to the needs of the organization.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/server.112/e25513/initparams211.htm#R
EFRN10186
37 | P a g e
2.2.11 Ensure 'UTIL_FILE_DIR' Is Empty (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
Rationale:
As using the utl_file_dir to create directories allows the manipulation of files in these
directories.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/server.112/e25513/initparams266.htm#R
EFRN10230
38 | P a g e
2.2.12 Ensure 'SEC_CASE_SENSITIVE_LOGON' Is Set to 'TRUE' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
Due to the security bug CVE-2012-3137 it is recommended to set this parameter to TRUE if
the October 2012 CPU/PSU or later was applied.
If the patch was not applied it is recommended to set this parameter to FALSE to avoid that
the vulnerability could be abused.
Rationale:
Oracle 11g databases without CPU October 2012 patch or later are vulnerable to CVE-
2012-3137 if case-sensitive SHA-1 password hashes are used. To avoid this kind of attack
the old DES-hashes have to be used.
Audit:
Remediation:
Impact:
39 | P a g e
References:
1. http://docs.oracle.com/cd/E11882_01/server.112/e25513/initparams222.htm#R
EFRN10299
2. https://support.oracle.com/epmos/faces/DocumentDisplay?id=1492721.1
3. http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-3137
40 | P a g e
2.2.13 Ensure 'SEC_MAX_FAILED_LOGIN_ATTEMPTS' Is Set to '10'
(Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
Rationale:
As allowing an unlimited number of login attempts for a user connection can facilitate both
brute-force login attacks and the occurrence of Denial-of-Service, this value (10) should be
set according to the needs of the organization.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/server.112/e25513/initparams223.htm#R
EFRN10274
41 | P a g e
2.2.14 Ensure 'SEC_PROTOCOL_ERROR_FURTHER_ACTION' Is Set to
'DELAY,3' or 'DROP,3' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
Rationale:
As bad packets received from the client can potentially indicate packet-based attacks on the
system, such as "TCP SYN Flood" or "Smurf" attacks, which could result in a Denial-of-
Service condition, this value should be set according to the needs of the organization.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/server.112/e25513/initparams224.htm#R
EFRN10282
42 | P a g e
2.2.15 Ensure 'SEC_PROTOCOL_ERROR_TRACE_ACTION' Is Set to 'LOG'
(Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
Rationale:
As bad packets received from the client can potentially indicate packet-based attacks on the
system, such as "TCP SYN Flood" or "Smurf" attacks, which could result in a Denial-of-
Service condition, this diagnostic/logging value for ALERT, LOG, or TRACE conditions should
be set according to the needs of the organization.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/B28359_01/server.111/b28320/initparams214.htm
43 | P a g e
2.2.16 Ensure 'SEC_RETURN_SERVER_RELEASE_BANNER' Is Set to
'FALSE' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The information about patch/update release number provides information about the exact
patch/update release that is currently running on the database.
Rationale:
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/server.112/e25513/initparams226.htm#R
EFRN10275
44 | P a g e
2.2.17 Ensure 'SQL92_SECURITY' Is Set to 'TRUE' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The sql92_security parameter setting TRUE requires a user to have SELECT privilege on a
column in order to reference it in the WHERE clause of a DELETE or UPDATE statement or
on the right hand side of a SET clause in an UPDATE statement.
Rationale:
A user without SELECT privilege can still infer the value stored in a column by referring to
that column in a DELETE or UPDATE statement. This setting prevents inadvertent
information disclosure by ensuring that only users who already have SELECT privilege can
execute the statements that would allow them to infer the stored values.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/server.112/e25513/initparams246.htm#R
EFRN10210
45 | P a g e
2.2.18 Ensure '_TRACE_FILES_PUBLIC' Is Set to 'FALSE' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The _trace_files_public setting determines whether or not the system's trace file is
world readable.
Rationale:
As permitting the read permission to other anyone can read the instance's trace files file
which could contain sensitive information about instance operations, this value should be
restricted according to the needs of the organization.
Audit:
Remediation:
References:
1. http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:4295521
746131
46 | P a g e
2.2.19 Ensure 'RESOURCE_LIMIT' Is Set to 'TRUE' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
Rationale:
If resource_limit is set to FALSE, none of the system resource limits that are set in any
database profiles are enforced. If resource_limit is set to TRUE, then the limits set in
database profiles are enforced.
Audit:
Remediation:
Default Value:
FALSE
References:
1. http://docs.oracle.com/cd/E11882_01/server.112/e25513/initparams214.htm#R
EFRN10188
47 | P a g e
3 Oracle Connection and Login Restrictions
The restrictions on Client/User connections to the Oracle database help block unauthorized
access to data and services by setting access rules. These security measures help to ensure
that successful logins cannot be easily made through brute-force password attacks or
intuited by clever social engineering exploits. Settings are generally recommended to be
applied to all defined profiles rather than by using only the DEFAULT profile. All values
assigned below are the recommended minimums or maximums; higher, more restrictive
values can be applied at the discretion of the organization by creating a separate profile to
assign to a different user group.
• Level 1 - RDBMS
Description:
The failed_login_attempts setting determines how many failed login attempts are
permitted before the system locks the user's account. While different profiles can have
different and more restrictive settings, such as USERS and APPS, the minimum(s)
recommended here should be set on the DEFAULT profile.
Rationale:
As repeated failed login attempts can indicate the initiation of a brute-force login attack,
this value should be set according to the needs of the organization (see warning below on
a known bug that can make this security measure backfire).
Audit:
48 | P a g e
Remediation:
49 | P a g e
3.2 Ensure 'PASSWORD_LOCK_TIME' Is Greater than or Equal to '1'
(Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The PASSWORD_LOCK_TIME setting determines how many days must pass for the user's
account to be unlocked after the set number of failed login attempts has occurred.
Rationale:
As locking the user account after repeated failed login attempts can block further brute-
force login attacks, but can create administrative headaches as this account unlocking
process always requires DBA intervention, this value should be set according to the needs
of the organization.
Audit:
Remediation:
50 | P a g e
3.3 Ensure 'PASSWORD_LIFE_TIME' Is Less than or Equal to '90' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The password_life_time setting determines how long a password may be used before the
user is required to be change it.
Rationale:
As allowing passwords to remain unchanged for long periods makes the success of brute-
force login attacks more likely, this value should be set according to the needs of the
organization.
Audit:
Remediation:
51 | P a g e
3.4 Ensure 'PASSWORD_REUSE_MAX' Is Greater than or Equal to '20'
(Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The password_reuse_max setting determines how many different passwords must be used
before the user is allowed to reuse a prior password.
Rationale:
As allowing reuse of a password within a short period of time after the password's initial
use can make the success of both social-engineering and brute-force password-based
attacks more likely, this value should be set according to the needs of the organization.
Audit:
Remediation:
52 | P a g e
3.5 Ensure 'PASSWORD_REUSE_TIME' Is Greater than or Equal to '365'
(Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The password_reuse_time setting determines the amount of time in days that must pass
before the same password may be reused.
Rationale:
As reusing the same password after only a short period of time has passed makes the
success of brute-force login attacks more likely, this value should be set according to the
needs of the organization.
Audit:
Remediation:
53 | P a g e
3.6 Ensure 'PASSWORD_GRACE_TIME' Is Less than or Equal to '5'
(Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The password_grace_time setting determines how many days can pass after the user's
password expires before the user's login capability is automatically locked out.
Rationale:
As locking the user account after the expiration of the password change requirement's
grace period can help prevent password-based attack against a forgotten or disused
accounts, while still allowing the account and its information to be accessible by DBA
intervention, this value should be set according to the needs of the organization.
Audit:
Remediation:
54 | P a g e
3.7 Ensure 'DBA_USERS.PASSWORD' Is Not Set to 'EXTERNAL' for Any
User (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
Rationale:
Audit:
Remediation:
55 | P a g e
3.8 Ensure 'PASSWORD_VERIFY_FUNCTION' Is Set for All Profiles
(Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
Rationale:
As requiring users to apply the 11gr2 security features in password creation, such as
forcing mixed-case complexity, the blocking of simple combinations, and change/history
settings can potentially thwart logins by unauthorized users, this function should be
applied/enabled according to the needs of the organization.
Audit:
Remediation:
Create a custom password verification function which fulfills the password requirements of
the organization.
From Oracle documentation: Oracle Database provides a sample password verification
function in the PL/SQL script UTLPWDMG.SQL (located in
ORACLE_BASE/ORACLE_HOME/RDBMS/ADMIN) that, when enabled, checks whether
users are correctly creating or modifying their passwords. The UTLPWDMG.SQL script
provides two password verification functions: one for previous releases of Oracle Database
and an updated version for Oracle Database Release 11g.
http://docs.oracle.com/cd/E25054_01/network.1111/e16543/authentication.htm
56 | P a g e
3.9 Ensure 'SESSIONS_PER_USER' Is Less than or Equal to '10' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
Rationale:
As limiting the number of the SESSIONS_PER_USER can help prevent memory resource
exhaustion by poorly formed requests or intentional Denial-of-Service attacks, this value
should be set according to the needs of the organization.
Audit:
Remediation:
57 | P a g e
3.10 Ensure No Users Are Assigned the 'DEFAULT' Profile (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
Upon creation database users are assigned to the DEFAULT profile unless otherwise
specified.
Rationale:
Audit:
Remediation:
To remediate this recommendation execute the following SQL statement for each user
returned by the audit query using a functional-appropriate profile.
ALTER USER <username> PROFILE <appropriate_profile>
58 | P a g e
4 Oracle User Access and Authorization Restrictions
The capability to use database resources at a given level, or user authorization rules, allows
for user manipulation of the various parts of the Oracle database. These authorizations
must be structured to block unauthorized use and/or corruption of vital data and services
by setting restrictions on user capabilities, particularly those of the user PUBLIC. Such
security measures help to ensure that successful logins cannot be easily redirected.
IMPORTANT: Use caution when revoking privileges from PUBLIC. Oracle and third-party
products explicitly require default grants to PUBLIC for commonly used functions, objects,
and in view definitions. After revoking any privilege from PUBLIC, verify that applications
keep running properly. After revoking privileges from PUBLIC, recompile invalid database
objects. Specific grants to users and roles may be needed to make all objects valid.
Please see the following Oracle support document which provides further information and
SQL statements that can be used to determine dependencies that require explicit grants.
Be Cautious When Revoking Privileges Granted to PUBLIC (Doc ID 247093.1)
Always test database changes in Development and Test environments before making
changes to Production databases.
59 | P a g e
4.1 Default Public Privileges for Packages and Object Types
Revoke default public execute privileges from powerful packages and object types.
• Level 1 - RDBMS
Description:
The Oracle database DBMS_ADVISOR package can be used to write files located on the
server where the Oracle instance is installed.
Rationale:
As use of the DBMS_ADVISOR package could allow an unauthorized user to corrupt operating
system files on the instance's host, use of this package should be restricted according to the
needs of the organization.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/appdev.112/e25788/d_advis.htm
60 | P a g e
4.1.2 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'DBMS_CRYPTO'
(Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The DBMS_CRYPTO settings provide a toolset that determines the strength of the encryption
algorithm used to encrypt application data and is part of the SYS schema. The DES (56-bit
key), 3DES (168-bit key), 3DES-2KEY (112-bit key), AES (128/192/256-bit keys), and RC4
are available.
Rationale:
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/appdev.112/e25788/d_crypto.htm#ARPLS
664
61 | P a g e
4.1.3 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'DBMS_JAVA'
(Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The Oracle database DBMS_JAVA package can run Java classes (e.g. OS commands) or grant
Java privileges.
Rationale:
The DBMS_JAVA package could allow an attacker to run operating system commands from
the database.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/java.112/e10588/appendixa.htm#JJDEV13
000
62 | P a g e
4.1.4 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'DBMS_JAVA_TEST'
(Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The Oracle database DBMS_JAVA_TEST package can run Java classes (e.g. OS commands) or
grant Java privileges.
Rationale:
The DBMS_JAVA_TEST package could allow an attacker to run operating system commands
from the database.
Audit:
Remediation:
References:
1. http://www.databasesecurity.com/HackingAurora.pdf
63 | P a g e
4.1.5 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'DBMS_JOB'
(Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The Oracle database DBMS_JOB package schedules and manages the jobs sent to the job
queue and has been superseded by the DBMS_SCHEDULER package, even though DBMS_JOB
has been retained for backwards compatibility.
Rationale:
As use of the DBMS_JOB package could allow an unauthorized user to disable or overload the
job queue and has been superseded by the DBMS_SCHEDULER package, this package should
be disabled or restricted according to the needs of the organization.
Audit:
Remediation:
Impact:
Use caution when revoking privileges from PUBLIC. After revoking privileges from PUBLIC,
recompile any invalid database objects. Specific grants to users and roles may be needed to
make objects valid. See IMPORTANT information at the start of this section for more
details.
References:
64 | P a g e
1. http://docs.oracle.com/cd/E11882_01/appdev.112/e25788/d_job.htm
65 | P a g e
4.1.6 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'DBMS_LDAP'
(Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The Oracle database DBMS_LDAP package contains functions and procedures that enable
programmers to access data from LDAP servers.
Rationale:
As use of the DBMS_LDAP package can be used to create specially crafted error messages or
send information via DNS to the outside.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E23943_01/oid.1111/e10186/dbmsldap_ref.htm#OIMA
D009
66 | P a g e
4.1.7 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'DBMS_LOB'
(Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The Oracle database DBMS_LOB package provides subprograms that can manipulate and
read/write on BLOBs, CLOBs, NCLOBs, BFILEs, and temporary LOBs.
Rationale:
As use of the DBMS_LOB package could allow an unauthorized user to manipulate BLOBs,
CLOBs, NCLOBs, BFILEs, and temporary LOBs on the instance, either destroying data or
causing a Denial-of-Service condition due to corruption of disk space, use of this package
should be restricted according to the needs of the organization.
Audit:
Remediation:
Impact:
Use caution when revoking privileges from PUBLIC. After revoking privileges from PUBLIC,
recompile any invalid database objects. Specific grants to users and roles may be needed to
make objects valid. See IMPORTANT information at the start of this section for more
details.
67 | P a g e
References:
1. http://docs.oracle.com/cd/E11882_01/appdev.112/e25788/d_lob.htm
68 | P a g e
4.1.8 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on
'DBMS_OBFUSCATION_TOOLKIT' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The DBMS_OBFUSCATION_TOOLKIT settings provide one of the tools that determine the
strength of the encryption algorithm used to encrypt application data and is part of the SYS
schema. The DES (56-bit key) and 3DES (168-bit key) are the only two types available.
Rationale:
As allowing the PUBLIC user privileges to access this capability can be potentially harm the
data storage, this access should be set according to the needs of the organization.
Audit:
Remediation:
Impact:
Use caution when revoking privileges from PUBLIC. After revoking privileges from PUBLIC,
recompile any invalid database objects. Specific grants to users and roles may be needed to
make objects valid. See IMPORTANT information at the start of this section for more
details.
69 | P a g e
References:
1. http://docs.oracle.com/cd/E11882_01/appdev.112/e25788/d_obtool.htm#ARPLS0
28
70 | P a g e
4.1.9 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'DBMS_RANDOM'
(Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The Oracle database DBMS_RANDOM package is used for generating random numbers but
should not be used for cryptographic purposes.
Rationale:
As assignment of use of the DBMS_RANDOM package can allow the unauthorized application of
the random number-generating function, this capability should be restricted according to
the needs of the organization.
Audit:
Remediation:
Impact:
Use caution when revoking privileges from PUBLIC. After revoking privileges from PUBLIC,
recompile any invalid database objects. Specific grants to users and roles may be needed to
make objects valid. See IMPORTANT information at the start of this section for more
details.
References:
1. http://docs.oracle.com/cd/E11882_01/appdev.112/e25788/d_random.htm
71 | P a g e
4.1.10 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on
'DBMS_SCHEDULER' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The Oracle database DBMS_SCHEDULER package schedules and manages the database and
operating system jobs.
Rationale:
As use of the DBMS_SCHEDULER package could allow an unauthorized user to run database or
operating system jobs.
Audit:
Remediation:
Impact:
Use caution when revoking privileges from PUBLIC. After revoking privileges from PUBLIC,
recompile any invalid database objects. Specific grants to users and roles may be needed to
make objects valid. See IMPORTANT information at the start of this section for more
details.
References:
1. http://docs.oracle.com/cd/E11882_01/appdev.112/e25788/d_sched.htm
72 | P a g e
4.1.11 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'DBMS_SQL'
(Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The Oracle database DBMS_SQL package is used for running dynamic SQL statements.
Rationale:
The DBMS_SQL package could allow privilege escalation if the input validation is not done
properly.
Audit:
Remediation:
Impact:
Use caution when revoking privileges from PUBLIC. After revoking privileges from PUBLIC,
recompile any invalid database objects. Specific grants to users and roles may be needed to
make objects valid. See IMPORTANT information at the start of this section for more
details.
References:
1. http://docs.oracle.com/cd/E11882_01/appdev.112/e25788/d_sql.htm
73 | P a g e
4.1.12 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'DBMS_XMLGEN'
(Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The DBMS_XMLGEN package takes an arbitrary SQL query as input, converts it to XML
format, and returns the result as a CLOB.
Rationale:
The package DBMS_XMLGEN can be used to search the entire database for critical
information like credit card numbers, and other sensitive information.
Audit:
Remediation:
Impact:
Use caution when revoking privileges from PUBLIC. After revoking privileges from PUBLIC,
recompile any invalid database objects. Specific grants to users and roles may be needed to
make objects valid. See IMPORTANT information at the start of this section for more
details.
References:
1. http://docs.oracle.com/cd/E11882_01/appdev.112/e25788/d_xmlgen.htm
2. http://www.red-database-security.com/wp/confidence2009.pdf
74 | P a g e
4.1.13 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on
'DBMS_XMLQUERY' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The Oracle package DBMS_XMLQUERY takes an arbitrary SQL query, converts it to XML
format, and returns the result. This package is similar to DBMS_XMLGEN.
Rationale:
The package DBMS_XMLQUERY can be used to search the entire database for critical
information like credit card numbers and other sensitive information.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/appdev.112/e25788/d_xmlque.htm
75 | P a g e
4.1.14 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'UTL_FILE' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The Oracle database UTL_FILE package can be used to read/write files located on the
server where the Oracle instance is installed.
Rationale:
As use of the UTL_FILE package could allow a user to read files at the operating system.
These files could contain sensitive information (e.g. passwords in .bash_history).
Audit:
Remediation:
Impact:
Use caution when revoking privileges from PUBLIC. After revoking privileges from PUBLIC,
recompile any invalid database objects. Specific grants to users and roles may be needed to
make objects valid. See IMPORTANT information at the start of this section for more
details.
References:
1. http://docs.oracle.com/cd/E11882_01/appdev.112/e25788/u_file.htm#ARPLS708
96
76 | P a g e
4.1.15 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'UTL_INADDR'
(Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The Oracle database UTL_INADDR package can be used to create specially crafted error
messages or send information via DNS to the outside.
Rationale:
As use of the UTL_INADDR package is often used in SQL Injection attacks from the web it
should be revoked from public.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/appdev.112/e25788/u_inaddr.htm
77 | P a g e
4.1.16 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'UTL_TCP' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The Oracle database UTL_TCP package can be used to read/write file to TCP sockets on the
server where the Oracle instance is installed.
Rationale:
As use of the UTL_TCP package could allow an unauthorized user to corrupt the TCP stream
used for carry the protocols that communicate with the instance's external
communications, use of this package should be restricted according to the needs of the
organization.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/appdev.112/e25788/u_tcp.htm#ARPLS715
33
78 | P a g e
4.1.17 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'UTL_MAIL'
(Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The Oracle database UTL_MAIL package can be used to send email from the server where
the Oracle instance is installed.
Rationale:
As use of the UTL_MAIL package could allow an unauthorized user to corrupt the SMTP
function to accept or generate junk mail that can result in a Denial-of-Service condition due
to network saturation, use of this package should be restricted according to the needs of
the organization.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/appdev.112/e25788/u_mail.htm
79 | P a g e
4.1.18 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'UTL_SMTP'
(Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The Oracle database UTL_SMTP package can be used to send email from the server where
the Oracle instance is installed.
Rationale:
As use of the UTL_SMTP package could allow an unauthorized user to corrupt the SMTP
function to accept or generate junk mail that can result in a Denial-of-Service condition due
to network saturation, use of this package should be restricted according to the needs of
the organization.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/appdev.112/e25788/u_smtp.htm
80 | P a g e
4.1.19 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'UTL_DBWS'
(Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The Oracle database UTL_DBWS package can be used to read/write file to web-based
applications on the server where the Oracle instance is installed.
Rationale:
As use of the UTL_DBWS package could allow an unauthorized user to corrupt the HTTP
stream used for carry the protocols that communicate with the instance's web-based
external communications, use of this package should be restricted according to the needs of
the organization.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/B19306_01/appdev.102/b14258/u_dbws.htm
81 | P a g e
4.1.20 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'UTL_ORAMTS'
(Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The Oracle database UTL_ORAMTS package can be used to perform HTTP-requests. This
could be used to send information to the outside.
Rationale:
As use of the UTL_ORAMTS package could be used to send (sensitive) information to external
websites. The use of this package should be restricted according to the needs of the
organization.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/win.112/e26104/recovery.htm#NTMTS13
9
82 | P a g e
4.1.21 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'UTL_HTTP'
(Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The Oracle database UTL_HTTP package can be used to perform HTTP-requests. This could
be used to send information to the outside.
Rationale:
As use of the UTL_HTTP package could be used to send (sensitive) information to external
websites. The use of this package should be restricted according to the needs of the
organization.
Audit:
Remediation:
Impact:
Use caution when revoking privileges from PUBLIC. After revoking privileges from PUBLIC,
recompile any invalid database objects. Specific grants to users and roles may be needed to
make objects valid. See IMPORTANT information at the start of this section for more
details.
References:
1. http://docs.oracle.com/cd/E11882_01/appdev.112/e25788/u_http.htm
83 | P a g e
4.1.22 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'HTTPURITYPE'
(Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The Oracle database HTTPURITYPE object type can be used to perform HTTP-requests.
Rationale:
The ability to perform HTTP requests could be used to leak information from the database
to an external destination.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/appdev.112/e25788/t_dburi.htm#ARPLS71
705
84 | P a g e
4.2 Revoke Non-Default Privileges for Packages and Object
Types
The recommendations within this section revoke excessive privileges for packages and
object types.
• Level 1 - RDBMS
Description:
Rationale:
As use of the DBMS_SYS_SQL package could allow a user to run code as a different user
without entering user credentials.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/network.112/e16543/guidelines.htm#DBS
EG499
2. http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1325202
421535
85 | P a g e
4.2.2 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on
'DBMS_BACKUP_RESTORE' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
Rationale:
Audit:
Remediation:
References:
1. http://psoug.org/reference/dbms_backup_restore.html
2. http://davidalejomarcos.wordpress.com/2011/09/13/how-to-list-files-on-a-
directory-from-oracle-database/
86 | P a g e
4.2.3 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on
'DBMS_AQADM_SYSCALLS' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
Rationale:
As use of the DBMS_AQADM_SYSCALLS package could allow an unauthorized user to run SQL
commands as user SYS.
Audit:
Remediation:
References:
1. http://www.databasesecurity.com/dbsec/ohh-indirect-privilege-escalation.pdf
87 | P a g e
4.2.4 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on
'DBMS_REPCAT_SQL_UTL' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
Rationale:
As use of the DBMS_REPCAT_SQL_UTL package could allow an unauthorized user to run SQL
commands as user SYS.
Audit:
Remediation:
References:
1. http://www.databasesecurity.com/dbsec/ohh-indirect-privilege-escalation.pdf
88 | P a g e
4.2.5 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'INITJVMAUX'
(Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The Oracle database INITJVMAUX package is shipped as undocumented and allows to run
SQL commands as user SYS.
Rationale:
As use of the INITJVMAUX package could allow an unauthorized user to run SQL commands as
user SYS.
Audit:
Remediation:
References:
1. http://www.databasesecurity.com/dbsec/ohh-indirect-privilege-escalation.pdf
89 | P a g e
4.2.6 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on
'DBMS_STREAMS_ADM_UTL' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
Rationale:
As use of the DBMS_STREAMS_ADM_UTL package could allow an unauthorized user to run SQL
commands as user SYS.
Audit:
Remediation:
References:
1. http://www.databasesecurity.com/dbsec/ohh-indirect-privilege-escalation.pdf
90 | P a g e
4.2.7 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on
'DBMS_AQADM_SYS' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
Rationale:
As use of the DBMS_AQADM_SYS package could allow an unauthorized user to run SQL commands
as user SYS.
Audit:
Remediation:
References:
1. http://www.google.de/#hl=de&safe=off&sclient=psy-
ab&q=DBMS_STREAMS_ADM_UTL&oq=DBMS_STREAMS_ADM_UTL&gs_l=serp.3..0i1
0i30.38260.38260.0.38463.1.1.0.0.0.0.105.105.0j1.1.0...0.0...1c.2.1-
46wqcQeow&pbx=1&bav=on.2,or.r_gc.r_pw.r_cp.r_qf.&fp=2569366ac9a6532d&bpc
91 | P a g e
4.2.8 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on
'DBMS_STREAMS_RPC' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
Rationale:
As use of the DBMS_STREAMS_RPC package could allow an unauthorized user to run SQL
commands as user SYS.
Audit:
Remediation:
References:
1. http://www.databasesecurity.com/dbsec/ohh-indirect-privilege-escalation.pdf
92 | P a g e
4.2.9 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'DBMS_PRVTAQIM'
(Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
Rationale:
As use of the DBMS_PRVTAQIM package could allow an unauthorized user to escalate privileges
because any SQL statements could be executed as user SYS.
Audit:
Remediation:
References:
1. http://www.databasesecurity.com/dbsec/ohh-indirect-privilege-escalation.pdf
93 | P a g e
4.2.10 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'LTADM' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The Oracle database LTADM package is shipped as undocumented and allows privilege
escalation if granted to unprivileged users.
Rationale:
As use of the LTADM package could allow an unauthorized user to run any SQL command as user
SYS.
Audit:
Remediation:
References:
1. http://www.databasesecurity.com/dbsec/ohh-indirect-privilege-escalation.pdf
94 | P a g e
4.2.11 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on
'WWV_DBMS_SQL' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The Oracle database WWV_DBMS_SQL package is shipped as undocumented and allows Oracle
Application Express to run dynamic SQL statements.
Rationale:
As use of the WWV_DBMS_SQL package could allow an unauthorized user to run SQL statements as
Application Express (APEX) user.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/install.112/e12196/trouble.htm#HTMIG26
7
95 | P a g e
4.2.12 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on
'WWV_EXECUTE_IMMEDIATE' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
Rationale:
As use of the WWV_EXECUTE_IMMEDIATE package could allow an unauthorized user to run SQL
statements as Application Express (APEX) user.
Audit:
Remediation:
References:
1. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2008-1811
2. https://forums.oracle.com/forums/thread.jspa?threadID=953790
96 | P a g e
4.2.13 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'DBMS_IJOB'
(Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The Oracle database DBMS_IJOB package is shipped as undocumented and allows to run
database jobs in the context of another user.
Rationale:
As use of the DBMS_IJOB package could allow an attacker to change identities by using a
different username to execute a database job.
Audit:
Remediation:
97 | P a g e
4.2.14 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on
'DBMS_FILE_TRANSFER' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The Oracle database DBMS_FILE_TRANSFER package allows to transfer files from one
database server to another.
Rationale:
As use of the DBMS_FILE_TRANSFER package could allow to transfer files from one database
server to another.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/appdev.112/e25788/d_ftran.htm#ARPLS09
5
98 | P a g e
4.3 Revoke Excessive System Privileges
The recommendations within this section revoke excessive system privileges.
• Level 1 - RDBMS
Description:
The Oracle database SELECT ANY DICTIONARY privilege allows the designated user to access
SYS schema objects.
Rationale:
The Oracle database SELECT ANY DICTIONARY privilege allows the designated user to access
SYS schema objects. The Oracle password hashes are part of the SYS schema and can be
selected using SELECT ANY DICTIONARY privileges.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/network.112/e16543/authorization.htm#B
ABHFJFJ
2. http://docs.oracle.com/cd/E11882_01/server.112/e25513/initparams157.htm#R
EFRN10133
3. http://arup.blogspot.de/2011/07/difference-between-select-any.html
99 | P a g e
4.3.2 Ensure 'SELECT ANY TABLE' Is Revoked from Unauthorized
'GRANTEE' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The Oracle database SELECT ANY TABLE privilege allows the designated user to open any
table, except of SYS, to view it.
Rationale:
As assignment of the SELECT ANY TABLE privilege can allow the unauthorized viewing of
sensitive data, this capability should be restricted according to the needs of the
organization.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_10002.htm
#SQLRF01702
100 | P a g e
4.3.3 Ensure 'AUDIT SYSTEM' Is Revoked from Unauthorized 'GRANTEE'
(Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The Oracle database AUDIT SYSTEM privilege allows the change auditing activities on the
system.
Rationale:
As assignment of the AUDIT SYSTEM privilege can allow the unauthorized alteration of
system audit activities, disabling the creation of audit trails, this capability should be
restricted according to the needs of the organization.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_4007.htm#
SQLRF01107
101 | P a g e
4.3.4 Ensure 'EXEMPT ACCESS POLICY' Is Revoked from Unauthorized
'GRANTEE' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The Oracle database EXEMPT ACCESS POLICY keyword provides the user the capability to
access all the table rows regardless of row-level security lockouts.
Rationale:
As assignment of the EXEMPT ACCESS POLICY privilege can allow an unauthorized user to
potentially access/change confidential data, this capability should be restricted according
to the needs of the organization.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/network.112/e16543/auditing.htm#DBSEG
419
2. http://docs.oracle.com/cd/E11882_01/network.112/e16543/vpd.htm#DBSEG309
102 | P a g e
4.3.5 Ensure 'BECOME USER' Is Revoked from Unauthorized 'GRANTEE'
(Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The Oracle database BECOME USER privilege allows the designated user to inherit the rights
of another user.
Rationale:
As assignment of the BECOME USER privilege can allow the unauthorized use of another
user's privileges, this capability should be restricted according to the needs of the
organization.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/B19306_01/network.102/b14266/cfgaudit.htm
103 | P a g e
4.3.6 Ensure 'CREATE_PROCEDURE' Is Revoked from Unauthorized
'GRANTEE' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The Oracle database CREATE PROCEDURE privilege allows the designated user to create a
stored procedure that will fire when given the correct command sequence.
Rationale:
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_6009.htm#
SQLRF01309
104 | P a g e
4.3.7 Ensure 'ALTER SYSTEM' Is Revoked from Unauthorized 'GRANTEE'
(Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The Oracle database ALTER SYSTEM privilege allows the designated user to dynamically
alter the instance's running operations.
Rationale:
As assignment of the ALTER SYSTEM privilege can lead to severe problems, such as the
instance's session being killed or the stopping of redo log recording, which would make
transactions unrecoverable, this capability should be severely restricted according to the
needs of the organization.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_2014.htm#
SQLRF00902
105 | P a g e
4.3.8 Ensure 'CREATE ANY LIBRARY' Is Revoked from Unauthorized
'GRANTEE' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The Oracle database CREATE ANY LIBRARY privilege allows the designated user to create
objects that are associated to the shared libraries.
Rationale:
As assignment of the CREATE ANY LIBRARY privilege can allow the creation of numerous
library-associated objects and potentially corrupt the libraries' integrity, this capability
should be restricted according to the needs of the organization.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_6001.htm#
SQLRF01301
2. http://docs.oracle.com/cd/E18283_01/server.112/e17120/manproc007.htm
106 | P a g e
4.3.9 Ensure 'CREATE LIBRARY' Is Revoked from Unauthorized
'GRANTEE' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The Oracle database CREATE LIBRARY privilege allows the designated user to create objects
that are associated to the shared libraries.
Rationale:
As assignment of the CREATE LIBRARY privilege can allow the creation of numerous library-
associated objects and potentially corrupt the libraries' integrity, this capability should be
restricted according to the needs of the organization.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_6001.htm#
SQLRF01301
2. http://docs.oracle.com/cd/E18283_01/server.112/e17120/manproc007.htm
107 | P a g e
4.3.10 Ensure 'GRANT ANY OBJECT PRIVILEGE' Is Revoked from
Unauthorized 'GRANTEE' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The Oracle database GRANT ANY OBJECT PRIVILEGE keyword provides the grantee the
capability to grant access to any single or multiple combinations of objects to any grantee
in the catalog of the database.
Rationale:
As authorization to use the GRANT ANY OBJECT PRIVILEGE capability can allow an
unauthorized user to potentially access/change confidential data or damage the data
catalog due to potential complete instance access, this capability should be restricted
according to the needs of the organization.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/network.112/e16543/authorization.htm#D
BSEG99914
108 | P a g e
4.3.11 Ensure 'GRANT ANY ROLE' Is Revoked from Unauthorized
'GRANTEE' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The Oracle database GRANT ANY ROLE keyword provides the grantee the capability to grant
any single role to any grantee in the catalog of the database.
Rationale:
As authorization to use the GRANT ANY ROLE capability can allow an unauthorized user to
potentially access/change confidential data or damage the data catalog due to potential
complete instance access, this capability should be restricted according to the needs of the
organization.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/network.112/e16543/authorization.htm#D
BSEG99903
109 | P a g e
4.3.12 Ensure 'GRANT ANY PRIVILEGE' Is Revoked from Unauthorized
'GRANTEE' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The Oracle database GRANT ANY PRIVILEGE keyword provides the grantee the capability to
grant any single privilege to any item in the catalog of the database.
Rationale:
As authorization to use the GRANT ANY PRIVILEGE capability can allow an unauthorized
user to potentially access/change confidential data or damage the data catalog due to
potential complete instance access, this capability should be restricted according to the
needs of the organization.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/network.112/e16543/authorization.htm#D
BSEG99876
110 | P a g e
4.4 Revoke Role Privileges
The recommendations within this section intend to revoke powerful roles where they are
likely not needed.
• Level 1 - RDBMS
Description:
The Oracle database DELETE_CATALOG_ROLE provides DELETE privileges for the records in
the system's audit table (AUD$).
Rationale:
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/network.112/e16543/authorization.htm#D
BSEG99873
2. http://docs.oracle.com/cd/E11882_01/network.112/e16543/authorization.htm#D
BSEG4414
111 | P a g e
4.4.2 Ensure 'SELECT_CATALOG_ROLE' Is Revoked from Unauthorized
'GRANTEE' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
Rationale:
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/network.112/e16543/authorization.htm#D
BSEG99873
2. http://docs.oracle.com/cd/E11882_01/network.112/e16543/authorization.htm#D
BSEG4414
112 | P a g e
4.4.3 Ensure 'EXECUTE_CATALOG_ROLE' Is Revoked from Unauthorized
'GRANTEE' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
Rationale:
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/network.112/e16543/authorization.htm#D
BSEG99873
2. http://docs.oracle.com/cd/E11882_01/network.112/e16543/authorization.htm#D
BSEG4414
113 | P a g e
4.4.4 Ensure 'DBA' Is Revoked from Unauthorized 'GRANTEE' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The Oracle database DBA role is the default database administrator role provided for the
allocation of administrative privileges.
Rationale:
As assignment of the DBA role to an ordinary user can provide a great number of
unnecessary privileges to that user and opens the door to data breaches, integrity
violations, and Denial-of-Service conditions, application of this role should be restricted
according to the needs of the organization.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/network.112/e16543/authorization.htm#D
BSEG4414
114 | P a g e
4.5 Revoke Excessive Table and View Privileges
The recommendations within this section intend to revoke excessive table and view
privileges.
• Level 1 - RDBMS
Description:
The Oracle database SYS.AUD$ table contains all the audit records for the database of the
non-Data Manipulation Language (DML) events, such as ALTER, DROP, CREATE, and so
forth. (DML changes need trigger-based audit events to record data alterations.)
Rationale:
As permitting non-privileged users the authorization to manipulate the SYS_AUD$ table can
allow distortion of the audit records, hiding unauthorized activities, this capability should
be restricted according to the needs of the organization.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/network.112/e16543/auditing.htm#CEGDG
IAF
115 | P a g e
4.5.2 Ensure 'ALL' Is Revoked from Unauthorized 'GRANTEE' on
'USER_HISTORY$' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The Oracle database SYS.USER_HISTORY$ table contains all the audit records for the user's
password change history. (This table gets updated by password changes if the user has an
assigned profile that has password reuse limit set, e.g., PASSWORD_REUSE_TIME set to other
than UNLIMITED.)
Rationale:
Audit:
Remediation:
References:
1. http://marcel.vandewaters.nl/oracle/database-oracle/password-history-reusing-a-
password
116 | P a g e
4.5.3 Ensure 'ALL' Is Revoked from Unauthorized 'GRANTEE' on 'LINK$'
(Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The Oracle database SYS.LINK$ table contains all the user's password information and data
table link information.
Rationale:
As permitting non-privileged users to manipulate or view the SYS.LINK$ table can allow
capture of password information and/or corrupt the primary database linkages, this
capability should be restricted according to the needs of the organization.
Audit:
Remediation:
117 | P a g e
4.5.4 Ensure 'ALL' Is Revoked from Unauthorized 'GRANTEE' on
'SYS.USER$' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The Oracle database SYS.USER$ table contains the users' hashed password information.
Rationale:
As permitting non-privileged users the authorization to open the SYS.USER$ table can allow
the capture of password hashes for the later application of password cracking algorithms
to breach confidentiality, this capability should be restricted according to the needs of the
organization.
Audit:
Remediation:
References:
1. http://dba.stackexchange.com/questions/17513/what-do-the-columns-in-sys-
user-represent
118 | P a g e
4.5.5 Ensure 'ALL' Is Revoked from Unauthorized 'GRANTEE' on 'DBA_%'
(Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The Oracle database DBA_ views show all information which is relevant to administrative
accounts.
Rationale:
As permitting users the authorization to manipulate the DBA_ views can expose sensitive
data.
Audit:
Remediation:
Replace <non-DBA/SYS grantee>, in the query below, with the Oracle login(s) or role(s)
returned from the associated audit procedure and execute:
References:
1. http://docs.oracle.com/cd/E11882_01/server.112/e25789/datadict.htm#autoId2
119 | P a g e
4.5.6 Ensure 'ALL' Is Revoked from Unauthorized 'GRANTEE' on
'SYS.SCHEDULER$_CREDENTIAL' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
Rationale:
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/appdev.112/e25788/d_sched.htm#ARPLS7
2292
2. http://berxblog.blogspot.de/2012/02/restore-dbmsschedulercreatecredential.html
120 | P a g e
4.5.7 Ensure 'SYS.USER$MIG' Has Been Dropped (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The table sys.user$mig is created during migration and contains the Oracle password
hashes before the migration starts.
Rationale:
The table sys.user$mig is not deleted after the migration. An attacker could access the table
containing the Oracle password hashes.
Audit:
Remediation:
121 | P a g e
4.6 Ensure '%ANY%' Is Revoked from Unauthorized 'GRANTEE' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The Oracle database ANY keyword provides the user the capability to alter any item in the
catalog of the database.
Rationale:
As authorization to use the ANY expansion of a privilege can allow an unauthorized user to
potentially change confidential data or damage the data catalog, this capability should be
restricted according to the needs of the organization.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/network.112/e16543/authorization.htm#D
BSEG99877
122 | P a g e
4.7 Ensure 'DBA_SYS_PRIVS.%' Is Revoked from Unauthorized
'GRANTEE' with 'ADMIN_OPTION' Set to 'YES' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The Oracle database WITH_ADMIN privilege allows the designated user to grant another user
the same privileges.
Rationale:
As assignment of the WITH_ADMIN privilege can allow the granting of a restricted privilege to
an unauthorized user, this capability should be restricted according to the needs of the
organization.
Audit:
Remediation:
123 | P a g e
4.8 Ensure Proxy Users Have Only 'CONNECT' Privilege (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
Rationale:
A proxy user should only have the ability to connect to the database.
Audit:
Remediation:
124 | P a g e
4.9 Ensure 'EXECUTE ANY PROCEDURE' Is Revoked from 'OUTLN'
(Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
Rationale:
Audit:
Remediation:
125 | P a g e
4.10 Ensure 'EXECUTE ANY PROCEDURE' Is Revoked from 'DBSNMP'
(Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
Rationale:
Audit:
Remediation:
126 | P a g e
5 Audit/Logging Policies and Procedures
The ability to audit database activities is among the most important of all database security
features. Decisions must be made regarding the scope of auditing since auditing has costs -
in storage for the audit trail and in performance impact on audited operations - and
perhaps even the database or system in general. There is also the additional cost to manage
(store, backup, secure) and review the data in audit trail.
Measures must be taken to protect the audit trail itself, for it may be targeted for alteration
or destruction to hide unauthorized activity. For an audit destination outside the database,
the recommendations are elsewhere in this document. Auditing recommendations for
potential database audit destinations is below.
Auditing "by session" typically creates fewer (until 11g) and slightly smaller audit records,
but is discouraged in most situations since there is some loss of fidelity (e.g. object privilege
GRANTEE). More detailed auditing creates larger audit records. The AUDIT_TRAIL
initialization parameter (for DB|XML, extended - or not) is the main determining factor for
the size of a given audit record - and a notable factor in the performance cost, although the
largest of the latter is DB versus OS or XML.
This section deals with standard Oracle auditing since auditing of privileged connections
(as sysdba or sysoper) is configured via the AUDIT_SYS_OPERATIONS initialization
parameter and is otherwise not configurable. The basic types of standard auditing are
object auditing, statement auditing and privilege auditing and each behaves differently.
Object auditing applies to specific objects for which it is invoked and always applies to all
users. This type of auditing is usually employed to audit application-specific sensitive
objects, but can be used to protect the audit trail in the database.
Privilege auditing audits the use of specific system privileges, but typically only if the user
actually possesses the audited privilege. Attempts that fail for lack of the audited privilege
are typically not audited. This is the main weakness of privilege auditing and why
statement auditing is usually preferred, if the option exists.
Statement auditing audits the issuance of certain types of statements, usually without
regard to privilege or lack thereof. Both privilege and statement audits may be specified for
specific users or all users (the default).
127 | P a g e
5.1 Enable 'USER' Audit Option (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The USER object in the Oracle database an account through which a connection may be
made to interact with the database according to the roles and privileges allotted to
account. It is also a schema with may own database objects. This audits all activities and
requests to create, drop or alter a user, including a user changing their own
password. (The latter is not audited by 'audit ALTER USER'.)
Rationale:
Any unauthorized attempts to create, drop or alter a user should cause concern, whether
successful or not. It can also be useful in forensics if an account is compromised and is
mandated by many common security initiatives. An abnormally high number of these
activities in a given period might be worth investigation. Any failed attempt to drop a user
or create a user may be worth further review.
Audit:
Remediation:
128 | P a g e
Impact:
This would the current 5.2 (audit CREATE USER), 5.3 (audit ALTER USER), and 5.4 (audit
DROP USER) privilege audits with the single statement auditing option "audit USER". Any
action audited by those three privilege audits would also be audited by this. In addition,
this would audit:
1) Attempts to create user by anyone without the CREATE USER system privilege
2) Attempts to drop user by anyone without the DROP USER system privilege
3) Attempts to alter user by anyone without the ALTER USER system privilege
4) Users changing or attempting to change their own passwords (which is not done by
auditing ALTER USER).
129 | P a g e
5.2 Enable 'ALTER USER' Audit Option (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The USER object for the Oracle database is a specification of an object which is an account
through which either a human or an application can connect to, via a JDBC or log into, via a
CLI, and interact with the database instance according to the roles and privileges allotted to
account.
Rationale:
As the logging of user activities involving the creation, alteration, or dropping of a USER can
provide forensic evidence about a pattern of suspect/unauthorized activities, the audit
capability should be set according to the needs of the organization.
Audit:
Remediation:
130 | P a g e
5.3 Enable 'DROP USER' Audit Option (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The USER object for the Oracle database is a specification of an object which is an account
through which either a human or an application can connect to, via a JDBC or log into, via a
CLI, and interact with the database instance according to the roles and privileges allotted to
account.
Rationale:
As the logging of user activities involving the creation, alteration, or dropping of a USER can
provide forensic evidence about a pattern of suspect/unauthorized activities, the audit
capability should be set according to the needs of the organization.
Audit:
Remediation:
131 | P a g e
5.4 Enable 'ROLE' Audit Option (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The ROLE object allows for the creation of a set of privileges that can be granted to users or
other roles. This audits all attempts, successful or not, to create, drop, alter or set roles.
Rationale:
Roles are a key database security infrastructure component. Any attempt to create, drop or alter
a role should be audited. This statement auditing option also audits attempts, successful or not,
to set a role in a session. Any unauthorized attempts to create, drop or alter a role may be worthy
of investigation. Attempts to set a role by users without the role privilege may warrant
investigation.
Audit:
Remediation:
Impact:
The change to the audit/check is to ensure that the audit is in effect for all users, regardless
of proxy or success.
The change to the title, description and rationale are to better clarify what it actually
does. (e.g. It does NOT audit "all ROLE activities/requests". For example, it does not audit
role grants and revokes.)
132 | P a g e
5.5 Enable 'SYSTEM GRANT' Audit Option (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
This will audit any attempt, successful or not, to grant or revoke any system privilege or
role - regardless of privilege held by the user attempting the operation.
Rationale:
Logging of all grant and revokes (roles and system privileges) can provide forensic
evidence about a pattern of suspect/unauthorized activities. Any unauthorized attempt
may be cause for further investigation.
Audit:
Remediation:
133 | P a g e
5.6 Enable 'PROFILE' Audit Option (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The PROFILE object allows for the creation of a set of database resource limits that can be
assigned to a user, so that that user cannot exceed those resource limitations. This will
audit all attempts, successful or not, to create, drop or alter any profile.
Rationale:
As profiles are part of the database security infrastructure, auditing the modification of
profiles is recommended.
Audit:
Remediation:
Impact:
The statement auditing option 'audit PROFILE' audits everything that the three privilege
audits 'audit CREATE PROFILE', 'audit DROP PROFILE' and 'audit ALTER PROFILE' do, but
also audits:
1) Attempts to create a profile by a user without the CREATE PROFILE system privilege.
2) Attempts to drop a profile by a user without the DROP PROFILE system privilege
3) Attempts to alter a profile by a user without the ALTER PROFILE system privilege.
134 | P a g e
5.7 Enable 'ALTER PROFILE' Audit Option (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The PROFILE object allows for the creation of a set of database resource limits that can be
assigned to a user, so that that user cannot exceed those resource limitations.
Rationale:
As the logging of user activities involving the creation, alteration, or dropping of a PROFILE
can provide forensic evidence about a pattern of unauthorized activities, the audit
capability should be set according to the needs of the organization.
Audit:
Remediation:
135 | P a g e
5.8 Enable 'DROP PROFILE' Audit Option (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The PROFILE object allows for the creation of a set of database resource limits that can be
assigned to a user, so that that user cannot exceed those resource limitations.
Rationale:
As the logging of user activities involving the creation, alteration, or dropping of a PROFILE
can provide forensic evidence about a pattern of unauthorized activities, the audit
capability should be set according to the needs of the organization.
Audit:
Remediation:
136 | P a g e
5.9 Enable 'DATABASE LINK' Audit Option (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
Rationale:
As the logging of user activities involving the creation or dropping of a DATABASE LINK can
provide forensic evidence about a pattern of unauthorized activities, the audit capability
should be set according to the needs of the organization.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_4007.htm#
SQLRF01107
137 | P a g e
5.10 Enable 'PUBLIC DATABASE LINK' Audit Option (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The PUBLIC DATABASE LINK object allows for the creation of a public link for an
application-based "user" to access the database for connections/session creation.
Rationale:
As the logging of user activities involving the creation, alteration, or dropping of a PUBLIC
DATABASE LINK can provide forensic evidence about a pattern of unauthorized activities,
the audit capability should be set according to the needs of the organization.
Audit:
Remediation:
138 | P a g e
5.11 Enable 'PUBLIC SYNONYM' Audit Option (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The PUBLIC SYNONYM object allows for the creation of an alternate description of an object
and public synonyms are accessible by all users that have the appropriate privileges to the
underlying object.
Rationale:
As the logging of user activities involving the creation or dropping of a PUBLIC SYNONYM can
provide forensic evidence about a pattern of unauthorized activities, the audit capability
should be set according to the needs of the organization.
Audit:
Remediation:
139 | P a g e
5.12 Enable 'SYNONYM' Audit Option (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The SYNONYM operation allows for the creation of a an alternative name for a database
object such as a Java class schema object, materialized view, operator, package, procedure,
sequence, stored function, table, view, user-defined object type, even another synonym;
this synonym puts a dependency on its target and is rendered invalid if the target object is
changed/dropped.
Rationale:
As the logging of user activities involving the creation or dropping of a SYNONYM can
provide forensic evidence about a pattern of suspect/unauthorized activities, the audit
capability should be set according to the needs of the organization.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_4007.htm#
SQLRF01107
140 | P a g e
5.13 Enable 'GRANT DIRECTORY' Audit Option (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The DIRECTORY object allows for the creation of a directory object that specifies an alias for
a directory on the server file system, where the external binary file LOBs (BFILEs)/ table
data are located.
Rationale:
As the logging of user activities involving the creation or dropping of a DIRECTORY can
provide forensic evidence about a pattern of unauthorized activities, the audit capability
should be set according to the needs of the organization.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_4007.htm#
SQLRF01107
141 | P a g e
5.14 Enable 'SELECT ANY DICTIONARY' Audit Option (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The SELECT ANY DICTIONARY capability allows the user to view the definitions of all schema
objects in the database.
Rationale:
As the logging of user activities involving the capability to access the description of all
schema objects in the database can provide forensic evidence about a pattern of
unauthorized activities, the audit capability should be set according to the needs of the
organization.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_4007.htm#
SQLRF01107
142 | P a g e
5.15 Enable 'GRANT ANY OBJECT PRIVILEGE' Audit Option (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
GRANT ANY OBJECT PRIVILEGE allows the user to grant or revoke any object privilege,
which includes privileges on tables, directories, mining models, etc. This audits all uses of
that privilege.
Rationale:
Logging of privilege grants that can lead to the creation, alteration, or deletion of critical
data, the modification of objects, object privilege propagation and other such activities can
be critical to forensic investigations.
Audit:
Remediation:
143 | P a g e
Impact:
The change to the check/audit insures that it is in effect for all users regardless of proxy or
success.
The change to the title more accurately reflects what it actually does.
The previous reference to being able to drop or modify "users and other critical system
components" is essentially wrong. There is no object privilege I know of that can be used
directly to drop or create a user. There may be some confusion due to documentation bugs
(see notes), but this allows one only to grant object privileges, not system privileges like
DROP ANY TABLE, DROP USER or ALTER PROFILE. (Of course, one could construct
scenarios where granting execute on something might enable one to do so.)
144 | P a g e
5.16 Enable 'GRANT ANY PRIVILEGE' Audit Option (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
This audits all uses of the system privilege named GRANT ANY PRIVILEGE. Actions
by users not holding this privilege are not audited.
Rationale:
GRANT ANY PRIVILEGE allows a user to grant any system privilege, including the most
powerful privileges typically available only to administrators - to change the security
infrastructure, to drop/add/modify users and more. Auditing the use of this privilege is
part of a comprehensive auditing policy that can help in detecting issues and can be useful
in forensics.
Audit:
Remediation:
References:
1. http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_4007.htm#
SQLRF01107
145 | P a g e
5.17 Enable 'DROP ANY PROCEDURE' Audit Option (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The AUDIT DROP ANY PROCEDURE command is auditing the creation of procedures in other
schema.
Rationale:
Audit:
Remediation:
146 | P a g e
5.18 Enable 'ALL' Audit Option on 'SYS.AUD$' (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
The logging of attempts to alter the audit trail in the SYS.AUD$ table (open for
read/update/delete/view) will provide a record of any activities that may indicate
unauthorized attempts to access the audit trail.
Rationale:
As the logging of attempts to alter the SYS.AUD$ table can provide forensic evidence of the
initiation of a pattern of unauthorized activities, this logging capability should be set
according to the needs of the organization.
Audit:
Remediation:
147 | P a g e
5.19 Enable 'PROCEDURE' Audit Option (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
In this statement audit, "PROCEDURE" means any procedure, function, package or library.
Any attempt, successful or not, to create or drop any of these types of objects is audited,
regardless of privilege or lack thereof. Java schema objects (sources, classes, and resources)
are considered the same as procedures for purposes of auditing SQL statements.
Rationale:
Any unauthorized attempts to create or drop a procedure in another's schema should cause
concern, whether successful or not. Changes to critical store code can dramatically change
the behavior of the application and produce serious security consequences, including
privilege escalation and introducing SQL injection vulnerabilities. Audit records of such
changes can be helpful in forensics.
Audit:
Remediation:
148 | P a g e
5.20 Enable 'ALTER SYSTEM' Audit Option (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
This will audit all attempts to ALTER SYSTEM, whether successful or not and regardless of
whether or not the ALTER SYSTEM privilege is held by the user attempting the action.
Rationale:
Alter system allows one to change instance settings, including security settings and
auditing options. Additionally, alter system can be used to run operating system commands
using undocumented Oracle functionality. Any unauthorized attempt to alter the system
should be cause for concern. Alterations outside of some specified maintenance window
may be of concern. In forensics, these audit records could be quite useful.
Audit:
Remediation:
Impact:
The change to the check/audit is to ensure that the audit is in effect for all users regardless
of proxy, whether successful or not.
The previous Description was wrong - it is not "auditing" that "allows to modify the
database settings".
149 | P a g e
5.21 Enable 'TRIGGER' Audit Option (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
A TRIGGER may be used to modify DML actions or invoke other (recursive) actions when
some types of user-initiated actions occur. This will audit any attempt, successful or not, to
create, drop, enable or disable any schema trigger in any schema regardless of privilege or
lack thereof. For enabling and disabling a trigger, it covers both alter trigger and alter table.
Rationale:
Triggers are often part of schema security, data validation and other critical constraints
upon actions and data. A trigger in another schema may be used to escalate privileges,
redirect operations, transform data and perform other sorts of perhaps undesired actions.
Any unauthorized attempt to create, drop or alter a trigger in another schema may be cause
for investigation.
Audit:
Remediation:
150 | P a g e
Impact:
The statement auditing option 'audit TRIGGER' audits almost everything that the three
privilege audits "audit CREATE ANY TRIGGER", "audit ALTER ANY TRIGGER" and "audit
DROP ANY TRIGGER" audit, but also audits:
1. Statements to create, drop, enable or disable a trigger in the user's own schema.
2. Attempts to create a trigger by a user without the CREATE TRIGGER system
privilege.
3. Attempts to create a trigger in another schema by users without the CREATE ANY
TRIGGER privilege.
4. Attempts to drop a trigger in another schema by users without the DROP ANY
TRIGGER privilege.
5. Attempts to disable or enable a trigger in another schema by users without the
ALTER ANY TRIGGER privilege.
The one thing is audited by any of the three privilege audits that is not audited by this is
"alter trigger ...compile" if the trigger is in another's schema, which is audited by "audit
ALTER ANY TRIGGER"', but only if the user attempting the alteration actually holds the
ALTER ANY TRIGGER system privilege. "Audit TRIGGER" only audits "alter table" or "alter
trigger" statements used to enable or disable triggers. It does not audit alter trigger or alter
table statements used only with compile options.
151 | P a g e
5.22 Enable 'CREATE SESSION' Audit Option (Scored)
Profile Applicability:
• Level 1 - RDBMS
Description:
Audit all attempts to connect to the database, whether successful or not. Also
audits session disconnects/logoffs. The commands to audit SESSION, CONNECT or CREATE
SESSION all accomplish exactly the same thing - they initiate statement auditing of the
connect statement used to create a database session.
Rationale:
Auditing attempts to connect to the database is basic and mandated by most security
initiatives. Any attempt to logon to a locked account, failed attempts to logon to default
accounts or an unusually high number of failed logon attempts of any sort, for any user, in a
particular time period may indicate an intrusion attempt. In forensics, the logon record
may be first in a chain of evidence and contains information found in no other type of audit
record for the session. Logon and logoff in the audit trail define the period and duration of
the session.
Audit:
Remediation:
152 | P a g e
Impact:
This is just a clarification. There is no change the what is actually audited. The check does
now included conditions to insure that this auditing applies regardless of user or proxy and
that it must include auditing both success and failure.
153 | P a g e
6 Appendix: Establishing an Audit/Scan User
This document has been authored with the expectation that a user with appropriate
permissions will be used to execute the queries and perform other assessment
actions. While this could be accomplished by granting DBA privileges to a given user, the
preferred approach is to create a dedicated user and granting only the specific permissions
required to perform the assessments expressed herein. Doing this avoids the necessity for
any user assessing the system needs to be granted DBA privileges.
The recommendations expressed in this document assume the presence of a role named
CISSCANROLE and a user named CISSCAN. This role and user should be created by executing
the following SQL statements, being careful to substitute an appropriate password for
<password>.
These are:
154 | P a g e
Control Set
Correctly
Yes No
1 Oracle Database Installation and Patching Requirements
1.1 Ensure the Appropriate Version/Patches for Oracle
Software Is Installed (Scored)
1.2 Ensure All Default Passwords Are Changed (Scored)
1.3 Ensure All Sample Data And Users Have Been Removed
(Scored)
2 Oracle Parameter Settings
2.1 Listener Settings
2.1.1 Ensure 'SECURE_CONTROL_<listener_name>' Is Set In
'listener.ora' (Scored)
2.1.2 Ensure 'extproc' Is Not Present in 'listener.ora' (Scored)
2.1.3 Ensure 'ADMIN_RESTRICTIONS_<listener_name>' Is
Set to 'ON' (Scored)
2.1.4 Ensure 'SECURE_REGISTER_<listener_name>' Is Set to
'TCPS' or 'IPC' (Scored)
2.2 Database settings
2.2.1 Ensure 'AUDIT_SYS_OPERATIONS' Is Set to 'TRUE' (Scored)
2.2.2 Ensure 'AUDIT_TRAIL' Is Set to 'OS', 'DB', 'XML',
'DB,EXTENDED', or 'XML,EXTENDED' (Scored)
2.2.3 Ensure 'GLOBAL_NAMES' Is Set to 'TRUE' (Scored)
2.2.4 Ensure 'LOCAL_LISTENER' Is Set Appropriately (Scored)
2.2.5 Ensure 'O7_DICTIONARY_ACCESSIBILITY' Is Set to 'FALSE'
(Scored)
2.2.6 Ensure 'OS_ROLES' Is Set to 'FALSE' (Scored)
2.2.7 Ensure 'REMOTE_LISTENER' Is Empty (Scored)
2.2.8 Ensure 'REMOTE_LOGIN_PASSWORDFILE' Is Set to 'NONE'
(Scored)
2.2.9 Ensure 'REMOTE_OS_AUTHENT' Is Set to 'FALSE' (Scored)
2.2.10 Ensure 'REMOTE_OS_ROLES' Is Set to 'FALSE' (Scored)
2.2.11 Ensure 'UTIL_FILE_DIR' Is Empty (Scored)
2.2.12 Ensure 'SEC_CASE_SENSITIVE_LOGON' Is Set to 'TRUE'
(Scored)
2.2.13 Ensure 'SEC_MAX_FAILED_LOGIN_ATTEMPTS' Is Set to '10'
(Scored)
2.2.14 Ensure 'SEC_PROTOCOL_ERROR_FURTHER_ACTION' Is Set
to 'DELAY,3' or 'DROP,3' (Scored)
2.2.15 Ensure 'SEC_PROTOCOL_ERROR_TRACE_ACTION' Is Set to
'LOG' (Scored)
2.2.16 Ensure 'SEC_RETURN_SERVER_RELEASE_BANNER' Is Set to
'FALSE' (Scored)
155 | P a g e
2.2.17 Ensure 'SQL92_SECURITY' Is Set to 'TRUE' (Scored)
2.2.18 Ensure '_TRACE_FILES_PUBLIC' Is Set to 'FALSE' (Scored)
2.2.19 Ensure 'RESOURCE_LIMIT' Is Set to 'TRUE' (Scored)
3 Oracle Connection and Login Restrictions
3.1 Ensure 'FAILED_LOGIN_ATTEMPTS' Is Less than or Equal to
'5' (Scored)
3.2 Ensure 'PASSWORD_LOCK_TIME' Is Greater than or Equal to
'1' (Scored)
3.3 Ensure 'PASSWORD_LIFE_TIME' Is Less than or Equal to '90'
(Scored)
3.4 Ensure 'PASSWORD_REUSE_MAX' Is Greater than or Equal
to '20' (Scored)
3.5 Ensure 'PASSWORD_REUSE_TIME' Is Greater than or Equal
to '365' (Scored)
3.6 Ensure 'PASSWORD_GRACE_TIME' Is Less than or Equal to
'5' (Scored)
3.7 Ensure 'DBA_USERS.PASSWORD' Is Not Set to 'EXTERNAL'
for Any User (Scored)
3.8 Ensure 'PASSWORD_VERIFY_FUNCTION' Is Set for All
Profiles (Scored)
3.9 Ensure 'SESSIONS_PER_USER' Is Less than or Equal to '10'
(Scored)
3.10 Ensure No Users Are Assigned the 'DEFAULT' Profile
(Scored)
4 Oracle User Access and Authorization Restrictions
4.1 Default Public Privileges for Packages and Object Types
4.1.1 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on
'DBMS_ADVISOR' (Scored)
4.1.2 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on
'DBMS_CRYPTO' (Scored)
4.1.3 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on
'DBMS_JAVA' (Scored)
4.1.4 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on
'DBMS_JAVA_TEST' (Scored)
4.1.5 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'DBMS_JOB'
(Scored)
4.1.6 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on
'DBMS_LDAP' (Scored)
4.1.7 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'DBMS_LOB'
(Scored)
4.1.8 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on
'DBMS_OBFUSCATION_TOOLKIT' (Scored)
4.1.9 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on
'DBMS_RANDOM' (Scored)
156 | P a g e
4.1.10 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on
'DBMS_SCHEDULER' (Scored)
4.1.11 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'DBMS_SQL'
(Scored)
4.1.12 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on
'DBMS_XMLGEN' (Scored)
4.1.13 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on
'DBMS_XMLQUERY' (Scored)
4.1.14 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'UTL_FILE'
(Scored)
4.1.15 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on
'UTL_INADDR' (Scored)
4.1.16 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'UTL_TCP'
(Scored)
4.1.17 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'UTL_MAIL'
(Scored)
4.1.18 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'UTL_SMTP'
(Scored)
4.1.19 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'UTL_DBWS'
(Scored)
4.1.20 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on
'UTL_ORAMTS' (Scored)
4.1.21 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'UTL_HTTP'
(Scored)
4.1.22 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on
'HTTPURITYPE' (Scored)
4.2 Revoke Non-Default Privileges for Packages and Object Types
4.2.1 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on
'DBMS_SYS_SQL' (Scored)
4.2.2 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on
'DBMS_BACKUP_RESTORE' (Scored)
4.2.3 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on
'DBMS_AQADM_SYSCALLS' (Scored)
4.2.4 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on
'DBMS_REPCAT_SQL_UTL' (Scored)
4.2.5 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on
'INITJVMAUX' (Scored)
4.2.6 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on
'DBMS_STREAMS_ADM_UTL' (Scored)
4.2.7 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on
'DBMS_AQADM_SYS' (Scored)
4.2.8 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on
'DBMS_STREAMS_RPC' (Scored)
157 | P a g e
4.2.9 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on
'DBMS_PRVTAQIM' (Scored)
4.2.10 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on 'LTADM'
(Scored)
4.2.11 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on
'WWV_DBMS_SQL' (Scored)
4.2.12 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on
'WWV_EXECUTE_IMMEDIATE' (Scored)
4.2.13 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on
'DBMS_IJOB' (Scored)
4.2.14 Ensure 'EXECUTE' Is Revoked from 'PUBLIC' on
'DBMS_FILE_TRANSFER' (Scored)
4.3 Revoke Excessive System Privileges
4.3.1 Ensure 'SELECT_ANY_DICTIONARY' Is Revoked from
Unauthorized 'GRANTEE' (Scored)
4.3.2 Ensure 'SELECT ANY TABLE' Is Revoked from Unauthorized
'GRANTEE' (Scored)
4.3.3 Ensure 'AUDIT SYSTEM' Is Revoked from Unauthorized
'GRANTEE' (Scored)
4.3.4 Ensure 'EXEMPT ACCESS POLICY' Is Revoked from
Unauthorized 'GRANTEE' (Scored)
4.3.5 Ensure 'BECOME USER' Is Revoked from Unauthorized
'GRANTEE' (Scored)
4.3.6 Ensure 'CREATE_PROCEDURE' Is Revoked from
Unauthorized 'GRANTEE' (Scored)
4.3.7 Ensure 'ALTER SYSTEM' Is Revoked from Unauthorized
'GRANTEE' (Scored)
4.3.8 Ensure 'CREATE ANY LIBRARY' Is Revoked from
Unauthorized 'GRANTEE' (Scored)
4.3.9 Ensure 'CREATE LIBRARY' Is Revoked from Unauthorized
'GRANTEE' (Scored)
4.3.10 Ensure 'GRANT ANY OBJECT PRIVILEGE' Is Revoked from
Unauthorized 'GRANTEE' (Scored)
4.3.11 Ensure 'GRANT ANY ROLE' Is Revoked from Unauthorized
'GRANTEE' (Scored)
4.3.12 Ensure 'GRANT ANY PRIVILEGE' Is Revoked from
Unauthorized 'GRANTEE' (Scored)
4.4 Revoke Role Privileges
4.4.1 Ensure 'DELETE_CATALOG_ROLE' Is Revoked from
Unauthorized 'GRANTEE' (Scored)
4.4.2 Ensure 'SELECT_CATALOG_ROLE' Is Revoked from
Unauthorized 'GRANTEE' (Scored)
4.4.3 Ensure 'EXECUTE_CATALOG_ROLE' Is Revoked from
Unauthorized 'GRANTEE' (Scored)
158 | P a g e
4.4.4 Ensure 'DBA' Is Revoked from Unauthorized 'GRANTEE'
(Scored)
4.5 Revoke Excessive Table and View Privileges
4.5.1 Ensure 'ALL' Is Revoked from Unauthorized 'GRANTEE' on
'AUD$' (Scored)
4.5.2 Ensure 'ALL' Is Revoked from Unauthorized 'GRANTEE' on
'USER_HISTORY$' (Scored)
4.5.3 Ensure 'ALL' Is Revoked from Unauthorized 'GRANTEE' on
'LINK$' (Scored)
4.5.4 Ensure 'ALL' Is Revoked from Unauthorized 'GRANTEE' on
'SYS.USER$' (Scored)
4.5.5 Ensure 'ALL' Is Revoked from Unauthorized 'GRANTEE' on
'DBA_%' (Scored)
4.5.6 Ensure 'ALL' Is Revoked from Unauthorized 'GRANTEE' on
'SYS.SCHEDULER$_CREDENTIAL' (Scored)
4.5.7 Ensure 'SYS.USER$MIG' Has Been Dropped (Scored)
4.6 Ensure '%ANY%' Is Revoked from Unauthorized 'GRANTEE'
(Scored)
4.7 Ensure 'DBA_SYS_PRIVS.%' Is Revoked from Unauthorized
'GRANTEE' with 'ADMIN_OPTION' Set to 'YES' (Scored)
4.8 Ensure Proxy Users Have Only 'CONNECT' Privilege
(Scored)
4.9 Ensure 'EXECUTE ANY PROCEDURE' Is Revoked from
'OUTLN' (Scored)
4.10 Ensure 'EXECUTE ANY PROCEDURE' Is Revoked from
'DBSNMP' (Scored)
5 Audit/Logging Policies and Procedures
5.1 Enable 'USER' Audit Option (Scored)
5.2 Enable 'ALTER USER' Audit Option (Scored)
5.3 Enable 'DROP USER' Audit Option (Scored)
5.4 Enable 'ROLE' Audit Option (Scored)
5.5 Enable 'SYSTEM GRANT' Audit Option (Scored)
5.6 Enable 'PROFILE' Audit Option (Scored)
5.7 Enable 'ALTER PROFILE' Audit Option (Scored)
5.8 Enable 'DROP PROFILE' Audit Option (Scored)
5.9 Enable 'DATABASE LINK' Audit Option (Scored)
5.10 Enable 'PUBLIC DATABASE LINK' Audit Option (Scored)
5.11 Enable 'PUBLIC SYNONYM' Audit Option (Scored)
5.12 Enable 'SYNONYM' Audit Option (Scored)
5.13 Enable 'GRANT DIRECTORY' Audit Option (Scored)
5.14 Enable 'SELECT ANY DICTIONARY' Audit Option (Scored)
5.15 Enable 'GRANT ANY OBJECT PRIVILEGE' Audit Option
(Scored)
159 | P a g e
5.16 Enable 'GRANT ANY PRIVILEGE' Audit Option (Scored)
5.17 Enable 'DROP ANY PROCEDURE' Audit Option (Scored)
5.18 Enable 'ALL' Audit Option on 'SYS.AUD$' (Scored)
5.19 Enable 'PROCEDURE' Audit Option (Scored)
5.20 Enable 'ALTER SYSTEM' Audit Option (Scored)
5.21 Enable 'TRIGGER' Audit Option (Scored)
5.22 Enable 'CREATE SESSION' Audit Option (Scored)
6 Appendix: Establishing an Audit/Scan User
160 | P a g e
Appendix: Change History
Date Version Changes for this version
161 | P a g e
10-19-2015 2.1.0 Ticket #237: Added OUTLN to list of
authorized grantees
162 | P a g e