SV-24570r2_rule
V-2574
Oracle roles granted WITH ADMIN OPTION
DO3622-ORACLE11
CAT II
10
Revoke assignment of roles with the WITH ADMIN OPTION from unauthorized grantees and re-grant them without the option if required.
From SQL*Plus:
revoke [role name] from [grantee];
grant [role name] to [grantee];
Restrict use of the WITH ADMIN OPTION to authorized administrators.
Document authorized role assignments with the WITH ADMIN OPTION in the System Security Plan.
From SQL*Plus (NOTE: The owner list below is a short list of all possible default Oracle accounts):
select grantee||': '||granted_role from dba_role_privs
where grantee not in
('DBA', 'SYS', 'SYSTEM', 'WKSYS', 'LBACSYS',
'WMSYS', 'OWBSYS', 'CTXSYS',
'SPATIAL_CSW_ADMIN_USR',
'SPATIAL_WFS_ADMIN_USR',
'FLOWS_030000')
and admin_option = 'YES'
and grantee not in
(select distinct owner from dba_objects)
and grantee not in
(select grantee from dba_role_privs
where granted_role = 'DBA')
order by grantee;
Review the System Security Plan to confirm any grantees listed are IAO-authorized DBA accounts or application administration roles.
If any grantees listed are not authorized and documented, this is a Finding.
V-2574
True
DO3622-ORACLE11
From SQL*Plus (NOTE: The owner list below is a short list of all possible default Oracle accounts):
select grantee||': '||granted_role from dba_role_privs
where grantee not in
('DBA', 'SYS', 'SYSTEM', 'WKSYS', 'LBACSYS',
'WMSYS', 'OWBSYS', 'CTXSYS',
'SPATIAL_CSW_ADMIN_USR',
'SPATIAL_WFS_ADMIN_USR',
'FLOWS_030000')
and admin_option = 'YES'
and grantee not in
(select distinct owner from dba_objects)
and grantee not in
(select grantee from dba_role_privs
where granted_role = 'DBA')
order by grantee;
Review the System Security Plan to confirm any grantees listed are IAO-authorized DBA accounts or application administration roles.
If any grantees listed are not authorized and documented, this is a Finding.
M
Database Administrator
1367