Oracle Database Security Assessment Report - Database Configuration

The Oracle Database Security Assessment Report - Database Configuration section displays the following information:

NameFinding IDDescriptionLink(s)
Initialization Parameters for Security-Displays security related Database initialization parameters and their values.-
Pre-Authenticated Request URLCONF.PREAUTHREQUESTURLDisplays pre-authenticated URL information for Autonomous Database Serverless databases including who can manage them via the DBMS_DATA_ACCESS package.-
Authentication ConfigurationCONF.AUTHN

Displays information about the user account initialization parameters.

SEC_MAX_FAILED_LOGIN_ATTEMPTS configures the maximum number of failed login attempts in a single session before the connection is closed. This is independent of the user profile parameter FAILED_LOGIN_ATTEMPTS, which controls locking the user account after multiple failed login attempts. RESOURCE_LIMIT should be set to TRUE to enable enforcement of any resource constraints set in user profiles.

Lockdown ProfilesCONF.LOCKDOWNPROFILESChecks whether a PDB lockdown profile is configured for the current PDB. If a profile is set, it lists the restricted functionalities along with their current status. Also verifies if the PDB_LOCKDOWN parameter is set and, if so, displays its value.
PDB OS UserCONF.DEFAULTPDBOSUSERChecks if the highly privileged Oracle OS user is set for the PDB_OS_CREDENTIAL parameter.-
Control FilesCONF.CONTROLFILES

Checks if control files are multiplexed and lists all the control file locations.

Protect database control files by maintaining multiple identical copies in separate locations.

Review RAID configurations to ensure control files are stored in separate directories, reducing the risk of loss and supporting database availability and recovery.

Redo Log FilesCONF.REDOLOGSChecks if the defined redo log files follow best practices and lists their location. Redo logs should be multiplexed and stored on different physical disks.
Archive Log ModeCONF.ARCHIVELOGChecks if the database is in ARCHIVELOG or NOARCHIVELOG mode. If set, also displays the archive_log_destination or the recovery_file_destination. Also displays the archive_log_destination or the recovery_file_destination for the standalone databases.
Database BackupCONF.BACKUP

Displays information about Database backup records.

Database should be backed up regularly to prevent loss of data in the event of a system failure. Oracle Recovery Manager (RMAN) allows performing backup and recovery tasks on your databases. Unencrypted backup data should not be transported on tape or disk to offsite storage for safekeeping.

Instance Name CheckCONF.INSTANCENAME

Displays whether the instance name contains the Database version number.

Instance names should not contain Oracle version numbers. Service names may be discovered by unauthenticated users. If the service name includes version numbers or other database product information, a malicious user may use that information to develop a targeted attack.

-
SQL FirewallCONF.SQLFIREWALLChecks if SQL Firewall is enabled and displays the users that are affected by the policy and whether the policy is in observing, blocking, or enforcing mode. Also, details if the SQL and context allow-lists are in enforcement mode or not. Only applicable to Oracle AI Database versions >= 26ai.
Read-only ORACLE_HOMECONF.READONLYHOMEChecks if the ORACLE_HOME is read-only. Only applicable to Oracle Database versions >=18c.
Access to Dictionary ObjectsCONF.SYSTEMOBJ

Displays whether access to dictionary objects is properly limited.

When O7_DICTIONARY_ACCESSIBILITY is set to FALSE, tables owned by SYS are not affected by the ANY TABLE system privileges. This parameter should always be set to FALSE because tables owned by SYS control the overall state of the database and should not be subject to manipulation by users with ANY TABLE privileges.

-
Inference of Table DataCONF.SQL92SECURITY

Displays whether data inference attacks are properly blocked.

When SQL92_SECURITY is set to TRUE, UPDATE and DELETE statements that refer to a column in their WHERE clauses will succeed only when the user has the privilege to SELECT from the same column. This parameter should be set to TRUE so that this requirement is enforced in order to prevent users from inferring the value of a column which they do not have the privilege to view.

Access to Password FileCONF.PASSWORDFILE

Displays whether the password file is configured correctly.

The REMOTE_LOGIN_PASSWORDFILE set to EXCLUSIVE allows the password file to contain distinct entries for each administrative user allowing them to be individually audited and tracked for their actions. It also allows passwords to be updated using the ALTER USER command.

Update the password file format to 12.2 to enforce stronger password hashing algorithms.

Network CommunicationCONF.NETWORK

Displays information about initialization parameters that determine the database server response to malformed packets. Also, includes details on usage of a remote listener and if database server version information is hidden from unauthenticated client requests.

REMOTE_LISTENER allows a network listener running on another system to be used. This parameter should normally be unset to ensure that the local listener is used. The SEC_PROTOCOL_ERROR parameters control the database server's response when it receives malformed network packets from a client. Because these malformed packets may indicate an attempted attack by a malicious client, the parameters should be set to log the incident and terminate the connection.

SEC_RETURN_SERVER_RELEASE_BANNER should be set to FALSE to limit the information that is returned to an unauthenticated client, which could be used to help determine the server's vulnerability to a remote attack.

External OS AuthenticationCONF.EXTERNALOSAUTH

Displays whether the Oracle Database roles are defined and managed by the database itself or by the host operating system (for local and remote authentication).

The OS_ROLES parameter determines whether roles granted to users are controlled by GRANT statements in the database or by the database server's operating system. REMOTE_OS_AUTHENT and REMOTE_OS_ROLES allow the client operating system to set the database user and roles. All of these parameters should be set to FALSE so that the authorizations of database users are managed by the database itself.

Unused ComponentsCONF.DBCOMPONENTSChecks to see if components like XOQ, CONTEXT, SDO, DV, OLS are installed/enabled and not being used.-
Job DetailsCONF.JOBS

Checks the scheduled database jobs and users who can administer them. Checks include:

  • Users who can create database jobs
  • Jobs that can use privileges of DBA/PDB_DBA
-
TriggersCONF.TRIGGERS

Displays information about logon triggers.

A trigger is code that executes whenever a specific event occurs, such as inserting data in a table or connecting to the database. Disabled triggers are a potential cause for concern because whatever protection or monitoring they may be expected to provide is not active.

Disabled ConstraintsCONF.CONSTRAINTS

Displays information about disabled constraints.

Constraints are used to enforce and guarantee specific relationships between data items stored in the database. Disabled constraints are a potential cause for concern because the conditions they ensure are not enforced.

External ProceduresCONF.EXTERNALPROCS

Displays information about external procedures and services.

External procedures allow code written in other languages to be executed from PL/SQL. Note that modifications to external code cannot be controlled by the database. Be careful to ensure that only trusted code libraries are available to be executed. Although the database can spawn its own process to execute the external procedure, it is advisable to configure a listener service for this purpose so that the external code can run as a less-privileged OS user. The listener configuration should set EXTPROC_DLLS to identify the specific shared library code that can be executed rather than using the default value ANY.

Source Code AnalysisCONF.SOURCEANALYSISChecks DBA_SOURCE for non-oracle maintained procedures and functions using RAISE_APPLICATION_ERROR and DBMS_OUTPUT.PUT_LINE.
Directory ObjectsCONF.DIRECTORYOBJ

Displays information about directory objects.

Directory objects allow access to the server's file system from PL/SQL code within the database. Access to files used by the database kernel should not be permitted, as this may alter the database's operation and bypass its access controls. Oracle recommends keeping data, transaction logs, and audit logs in separate physical directories.

Directory Separation for Multi-applicationsCONF.DIRECTORYSEPARATION

Displays information about the file paths for data files, redo log files, and audit files (AUDIT_FILE_DEST).

Store each application’s database and audit files in dedicated file system directories or ASM disk groups, protected by appropriate access controls. Review shared locations and migrate files as needed to reduce cross-application exposure and improve data isolation.

None
Database LinksCONF.DATABASELINKS

Displays information about database links.

Database links allow users to execute SQL statements that access tables in other databases. This allows for both querying and storing data on the remote database. It is advisable to set GLOBAL_NAMES to TRUE in order to ensure that link names match the databases they access.

With Oracle Database 26ai, review each listed database link, validate its application impact and remote credentials, then drop and recreate the link. Recreating the link stores its password using the current encryption method rather than PASSWORDX.

Network Access ControlCONF.NETWORKACL

Displays information about Network Access Control Lists (ACLs).

Network ACLs control the external servers that database users can access using network packages such as UTL_TCP and UTL_HTTP. Specifically, a database user needs the connect privilege to an external network host computer if he or she is connecting using the UTL_TCP, UTL_HTTP, UTL_SMTP, and UTL_MAIL utility packages. To convert between a host name and its IP address using the UTL_INADDR package, the Resolve privilege is required. Make sure that these permissions are limited to the minimum required by each user.

XML Database Access ControlCONF.XMLACL

Displays information about XML Database Access Control Lists (ACLs).

XML ACLs control access to database resources using the XML DB feature. Every resource in the Oracle XML DB Repository hierarchy has an associated ACL. The ACL mechanism specifies a privilege-based access control for resources to principals, which are database users or roles. Whenever a resource is accessed, a security check is performed, and the ACL determines if the requesting user has sufficient privileges to access the resource. Make sure that these privileges are limited to the minimum required by each user.

File System AccessCONF.FILESYSChecks for UTL_FILE_DIR for older database versions where the parameter is not deprecated.-
Diagnostic filesCONF.LOGACCESS

Restrict diagnostic data access and prevent full core dumps from exposing sensitive database information.

The hidden parameter _TRACE_FILES_PUBLIC determines whether trace files generated by the database should be accessible to all OS users. Since these files may contain sensitive information, you should limit access by setting this parameter to FALSE.

The BACKGROUND_CORE_DUMP and SHADOW_CORE_DUMP initialization parameters control whether core dumps generated by background and foreground processes include System Global Area (SGA) contents. To reduce the risk of exposing sensitive information, these parameters should not be set to FULL.

BACKGROUND_CORE_DUMP is not modifiable at the PDB level and must be configured by a CDB$ROOT administrator. SHADOW_CORE_DUMP is modifiable at the PDB level and can be configured for an individual PDB or in CDB$ROOT to establish a common setting.

Restrict access to diagnostic information through least-privilege operating-system ownership and file-permission controls for trace files, alert logs, core dumps, and other diagnostic output. Ensure only authorized database administrators and support personnel can access diagnostic data.

Ensure BACKGROUND_CORE_DUMP and SHADOW_CORE_DUMP are configured to PARTIAL or NONE, and not set to FULL. The default value is PARTIAL on Linux operating system and NONE on Windows operating system.

This prevents sensitive memory contents from being included in core dumps.

Database Resource PlansCONF.RESOURCEMANAGERCheck for users with EXECUTE on DBMS_RESOURCE_MANAGER package and with ADMINISTER RESOURCE MANAGER system privilege. Also lists the existing resource plans.
Database Shared MemoryCONF.SGA

Checks if only the Oracle software installation owner can have read and write access to the SGA. Checks for ALLOW_GROUP_ACCESS_TO_SGA.

Starting with Oracle Database 12c Release 2 (12.2.0.1), ALLOW_GROUP_ACCESS_TO_SGA defaults to FALSE, restricting read and write access to the System Global Area (SGA) shared memory to the Oracle software installation owner.

The ALLOW_GROUP_ACCESS_TO_SGA parameter controls whether operating-system group members, typically the OSDBA group, can access the SGA through operating-system utilities. Because the SGA contains sensitive runtime data, including SQL statements, buffer cache contents, and session information, setting the ALLOW_GROUP_ACCESS_TO_SGA parameter to TRUE could allow OSDBA group members to read that data or manipulate database memory structures.

Oracle strongly recommends that you retain the default value of ALLOW_GROUP_ACCESS_TO_SGA as FALSE.

Database Vault ConfigurationCONF.DATABASEVAULT

Checks for Database Vault integrity.

Validates the presence of both the DVSYS and DVF schemas, checks for invalid Database Vault objects, identifies rules that are not associated with any rule sets, and flags any empty rule sets.

-
Security AssessmentCONF.ASSESSMENT

Displays a count of findings in each section that should be reviewed.

Review DBSAT findings, risk levels, and remediation recommendations on a defined schedule at least annually, and document the review.

None
Multilingual EngineCONF.MLE

Turn off MLE unless database-side JavaScript execution is required

Introduced in Oracle AI Database 26ai, MLE_PROG_LANGUAGES is a configuration parameter that controls Oracle Database Multilingual Engine (MLE) code execution in the database. It regulates whether modern server-side languages, including JavaScript, can run directly inside the database alongside traditional PL/SQL. Leaving JavaScript execution enabled when it is not required increases the attack surface.

Configure MLE_PROG_LANGUAGES to OFF when JavaScript does not need to run against the database system, and modify the parameter in both Root and PDB containers using ALTER SYSTEM or ALTER SESSION.

MLE_PROG_LANGUAGES
Hidden initialization parametersCONF.UNDERSCOREPARAM

Review hidden underscore initialization parameters

Hidden initialization parameters, commonly known as underscore parameters, are intended for Oracle internal use and are not part of the standard documented configuration interface. Modifying these parameters can change core database behavior, potentially introducing instability, unpredictable performance issues, or security risks if they are configured incorrectly.

Use the hidden initialization parameters only under the explicit guidance of Oracle Support. Avoid arbitrary changes, document and periodically review all non-default underscore parameter settings to ensure they remain justified and do not adversely impact database security, stability, or supportability.


Uses of initialization parameters

The following figure displays an example of the Oracle Database Security Assessment Report - Database Configuration section:

Oracle Database Security Assessment Report - Database Configuration

Figure 1 shows the Oracle Database Security Assessment Report - Database Configuration

Description of the illustration Oracle Database Security Assessment Report - Database Configuration