Oracle permission

HI,

we try to run Mcafee DB scanner to scan for Oracle DB security related issue.

and the permission for the account connect to the Oracle DB is control by this script:

-- necessary to be able to connect to the database
grant create session to &vausername;

-- necessary for DML triggers delay time
grant execute on dbms_lock to &vausername;

-- the following grants is needed for checks:
-- ORACONF353, ORACONF347
create or replace view sys.x_$ksppi as select * from sys.x$ksppi;
create or replace view sys.x_$ksppcv as select * from sys.x$ksppcv;

grant select on sys.x_$ksppi to &vausername;
grant select on sys.x_$ksppcv to &vausername;

-- grant the privileges to be able to read database link passwords
-- and old database passwords stored in user_history$ (optional)
grant select on sys.link$ to &vausername;
grant select on sys.user_history$ to &vausername;
-- required for several CIS benchmark checks
grant execute on sys.dbms_crypto to &vausername;

Open in new window


do you think the above permission allow writing anything to the Oracle DB?
LVL 1
marrowyungSenior Technical architecture (Data)Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
I cannot see any write permissions defined here.
0
marrowyungSenior Technical architecture (Data)Author Commented:
not even update to any system table ?any reference link ?
0
Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
Create Session allows login.
Execute allows executing stored procedures. When those stored procedures are performing any changes, it depends on the procedure. But the assigned ones are very limited, so no.
Select allows select. No changes allowed.

So what are you concerned about?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Redefine Your Security with AI & Machine Learning

The implications of AI and machine learning in cyber security are massive and constantly growing, creating both efficiencies and new challenges across the board. Check out our on-demand webinar to learn more about how AI can help your organization!

Mark GeerlingsDatabase AdministratorCommented:
I agree that those grants do not allow the user to do any inserts, updates or deletes (at least not directly).  The "execute" permission on the dbms_crypto and dbms_lock packages will allow the user to do whatever inserts, updates or deletes that the functions and procedures in those package may do (if any).  But the user will not be able to do any explicit inserts, updates or deletes.  The user also will not be able to create or change any database objects or permissions on objects.
0
slightwv (䄆 Netminder) Commented:
>>do you think the above permission allow writing anything to the Oracle DB?

I see no problem unless there is something or hole in dbms_crypto or dbms_lock that could be exploited.
0
johnsoneSenior Oracle DBACommented:
User would be allowed to make changes if privileges are granted to PUBLIC.  But, none of the privileges listed would seem to directly grant write access.
0
marrowyungSenior Technical architecture (Data)Author Commented:
ok, tks.
0
marrowyungSenior Technical architecture (Data)Author Commented:
tks all.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.