UCF STIG Viewer Logo

System Privileges must not be granted to PUBLIC.


Finding ID Version Rule ID IA Controls Severity
V-219835 O121-BP-022400 SV-219835r533046_rule Medium
System privileges can be granted to users and roles and to the user group PUBLIC. All privileges granted to PUBLIC are accessible to every user in the database. Many of these privileges convey considerable authority over the database and should be granted only to those persons responsible for administering the database. In general, these privileges should be granted to roles and then the appropriate roles should be granted to users. System privileges must never be granted to PUBLIC as this could allow users to compromise the database.
Oracle Database 12c Security Technical Implementation Guide 2022-06-13


Check Text ( C-21546r533044_chk )
From SQL*Plus:

select privilege from dba_sys_privs where grantee = 'PUBLIC';

If any records are returned, this is a finding.
Fix Text (F-21545r533045_fix)
Revoke any system privileges assigned to PUBLIC:

From SQL*Plus:

revoke [system privilege] from PUBLIC;

Replace [system privilege] with the named system privilege.

Note: System privileges are not granted to PUBLIC by default and would indicate a custom action.