UCF STIG Viewer Logo

The Oracle _TRACE_FILES_PUBLIC parameter if present must be set to FALSE.


Finding ID Version Rule ID IA Controls Severity
V-219850 O121-BP-023900 SV-219850r401224_rule Medium
The _TRACE_FILES_PUBLIC parameter is used to make trace files used for debugging database applications and events available to all database users. Use of this capability precludes the discrete assignment of privileges based on job function. Additionally, its use may provide access to external files and data to unauthorized users.
Oracle Database 12c Security Technical Implementation Guide 2022-06-13


Check Text ( C-21561r533084_chk )
From SQL*Plus:

select value from v$parameter where name = '_trace_files_public';

If the value returned is TRUE, this is a finding.

If the parameter does not exist or is set to FALSE, this is not a finding.
Fix Text (F-21560r533085_fix)
From SQL*Plus (shutdown database instance):

shutdown immediate

From SQL*Plus (create a pfile from spfile):

create pfile='[PATH]init[SID].ora' from spfile;

Edit the init[SID].ora file and remove the following line:


From SQL*Plus (update the spfile using the pfile):

create spfile from pfile='[PATH]init[SID].ora';

From SQL*Plus (start the database instance):


Note: [PATH] depends on the platform (Windows or UNIX).

Ensure the file is directed to a writable location.

[SID] is equal to the oracle SID or database instance ID.