Application role permissions must not be assigned to the Oracle PUBLIC role.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
---|---|---|---|---|---|---|
medium | V-219839 | SRG-APP-000516-DB-000363 | O121-BP-022800 | SV-219839r961863_rule | 2025-02-12 | 3 |
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. |
ℹ️ Check |
---|
From SQL*Plus: select granted_role from dba_role_privs where grantee = 'PUBLIC'; If any roles are listed, this is a finding. |
✔️ Fix |
---|
Revoke role grants from PUBLIC. Do not assign role privileges to PUBLIC. From SQL*Plus: revoke [role name] from PUBLIC; |