SV-24573r2_rule
V-2589
Oracle object permission assignment to PUBLIC
DO3689-ORACLE11
CAT II
10
This check may return false positives where other Oracle product accounts are not included in the exclusion list.
Revoke any privileges granted to PUBLIC for objects that are not owned by Oracle product accounts.
From SQL*Plus:
revoke [privilege name] from [user name] on [object name];
Assign permissions to custom application user roles based on job functions:
From SQL*Plus:
grant [privilege name] to [user role] on [object name];
From SQL*Plus (NOTE: The owner list below is a short list of all possible default Oracle accounts):
select owner ||'.'|| table_name ||':'|| privilege from dba_tab_privs
where grantee = 'PUBLIC'
and owner not in
('SYS', 'CTXSYS', 'MDSYS', 'ODM', 'OLAPSYS', 'MTSSYS',
'ORDPLUGINS', 'ORDSYS', 'SYSTEM', 'WKSYS', 'WMSYS',
'XDB', 'LBACSYS', 'PERFSTAT', 'SYSMAN', 'DMSYS',
'EXFSYS');
If any records that are not Oracle product accounts are returned, are not documented and authorized, this is a Finding.
NOTE: This check may return false positives where other Oracle product accounts are not included in the exclusion list.
V-2589
True
DO3689-ORACLE11
From SQL*Plus (NOTE: The owner list below is a short list of all possible default Oracle accounts):
select owner ||'.'|| table_name ||':'|| privilege from dba_tab_privs
where grantee = 'PUBLIC'
and owner not in
('SYS', 'CTXSYS', 'MDSYS', 'ODM', 'OLAPSYS', 'MTSSYS',
'ORDPLUGINS', 'ORDSYS', 'SYSTEM', 'WKSYS', 'WMSYS',
'XDB', 'LBACSYS', 'PERFSTAT', 'SYSMAN', 'DMSYS',
'EXFSYS');
If any records that are not Oracle product accounts are returned, are not documented and authorized, this is a Finding.
NOTE: This check may return false positives where other Oracle product accounts are not included in the exclusion list.
M
Database Administrator
1367