Application role permissions must not be assigned to the Oracle PUBLIC role.

Overview

Finding IDVersionRule IDIA ControlsSeverity
V-270532O19C-00-010000SV-270532r1064874_ruleCCI-000366medium
Description
Permissions granted to PUBLIC are granted to all users of the database. Custom roles must be used to assign application permissions to functional groups of application users. The installation of Oracle does not assign role permissions to PUBLIC.
STIGDate
Oracle Database 19c Security Technical Implementation Guide2025-06-24

Details

Check Text (C-270532r1064874_chk)

From SQL*Plus: select granted_role from dba_role_privs where grantee = 'PUBLIC'; If any roles are listed, this is a finding.

Fix Text (F-74466r1064873_fix)

Revoke role grants from PUBLIC. Do not assign role privileges to PUBLIC. From SQL*Plus: revoke [role name] from PUBLIC;