STIGUI
V-219835CAT II — Medium severitySV-219835r961863_rule

System Privileges must not be granted to PUBLIC.

Rule version O121-BP-022400 · STIG v3 · 2025-02-12

Discussion

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.

Check

From SQL*Plus:

select privilege from dba_sys_privs where grantee = 'PUBLIC';

If any records are returned, this is a finding.

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.

Identifiers

Group ID
V-219835
Group title
SRG-APP-000516-DB-000363
Rule ID
SV-219835r961863_rule
Check ID
C-21546r533044_chk
Fix ID
F-21545r533045_fix