UCF STIG Viewer Logo

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


Overview

Finding ID Version Rule ID IA Controls Severity
V-219711 O112-BP-022800 SV-219711r401224_rule Medium
Description
Application roles have been granted to PUBLIC. Permissions granted to PUBLIC are granted to all users of the database. Custom roles should be used to assign application permissions to functional groups of application users. The installation of Oracle does not assign role permissions to PUBLIC.
STIG Date
Oracle Database 11.2g Security Technical Implementation Guide 2021-12-13

Details

Check Text ( C-21436r306982_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-21435r306983_fix)
Revoke role grants from PUBLIC.

Do not assign role privileges to PUBLIC.

From SQL*Plus:

revoke [role name] from PUBLIC;