You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Sriveena Mattaparthi <Sr...@ekaplus.com> on 2020/03/12 10:12:12 UTC

Security threat due to H2 admin privileges for Ignite

Hi,

We are using ignite to run join queries which are handwritten by user.
We have got a security threat using ignite as ignite is using h2 with admin privilieges.

Which means user can execute any kind of system functions like filewrite, fileread etc.
Is there a way to start ignite with a low privileged h2 user who doesn't have admin access to perform any of the system functions?
Please  help.

Thanks,
Sriveena

"Confidentiality Notice: The contents of this email message and any attachments are intended solely for the addressee(s) and may contain confidential and/or privileged information and may be legally protected from disclosure. If you are not the intended recipient of this message or their agent, or if this message has been addressed to you in error, please immediately alert the sender by reply email and then delete this message and any attachments. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited."

Re: Security threat due to H2 admin privileges for Ignite

Posted by Denis Magda <dm...@apache.org>.
Hello Sriveena,

We're looking into this and keep you posted on a solution.

-
Denis


On Fri, Mar 13, 2020 at 2:47 AM Sriveena Mattaparthi <
Sriveena.Mattaparthi@ekaplus.com> wrote:

> Please suggest on ways to override the ignite configurations to start h2
> database user with a custom user who has low privileges.
>
>
>
> Thanks,
>
> Sriveena
>
>
>
> *From:* Sriveena Mattaparthi
> *Sent:* 12 March 2020 15:42
> *To:* user@ignite.apache.org
> *Subject:* Security threat due to H2 admin privileges for Ignite
>
>
>
> Hi,
>
>
>
> We are using ignite to run join queries which are handwritten by user.
>
> We have got a security threat using ignite as ignite is using h2 with
> admin privilieges.
>
>
>
> Which means user can execute any kind of system functions like filewrite,
> fileread etc.
>
> Is there a way to start ignite with a low privileged h2 user who doesn’t
> have admin access to perform any of the system functions?
>
> Please  help.
>
>
>
> Thanks,
> Sriveena
>
>
> “Confidentiality Notice: The contents of this email message and any
> attachments are intended solely for the addressee(s) and may contain
> confidential and/or privileged information and may be legally protected
> from disclosure. If you are not the intended recipient of this message or
> their agent, or if this message has been addressed to you in error, please
> immediately alert the sender by reply email and then delete this message
> and any attachments. If you are not the intended recipient, you are hereby
> notified that any use, dissemination, copying, or storage of this message
> or its attachments is strictly prohibited.”
>

RE: Security threat due to H2 admin privileges for Ignite

Posted by Mikhail <mi...@gmail.com>.
sorry, but it's public user list, it's not a paid helpdesk, it's important to
keep conversations public, to allow other people google answers and resolve
similar problems.
I believe you problem can be described without hostnames, IP addresses,
passwords or other sensitive information.



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

RE: Security threat due to H2 admin privileges for Ignite

Posted by Sriveena Mattaparthi <Sr...@ekaplus.com>.
Hi Mikhail,

Thanks for the quick response.
Sure..will provide more details if it is ensured that this thread doesn't go public.
Please confirm.

Thanks,
Sriveena

-----Original Message-----
From: Mikhail <mi...@gmail.com>
Sent: 13 March 2020 23:50
To: user@ignite.apache.org
Subject: RE: Security threat due to H2 admin privileges for Ignite

Hi Sriveena,

I do no quite understand your concerns, Apache Ignite is just a java application which you can be run under any user account with restricted privileges.

Could you please describe you question in more detail?

>Which means user can execute any kind of system functions like
>filewrite,
fileread etc.
Also, I've never heard about such kind of function and have doubts that you can run this in Ignite SQL, could you please show me the example of usage for these functions?

Thanks,
Mike.



--
Sent from: https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-ignite-users.70518.x6.nabble.com%2F&amp;data=02%7C01%7CSriveena.Mattaparthi%40ekaplus.com%7Cca309c0fc06043bbe2f208d7c77b1cae%7C2a5b4e9716be4be4b2d40f3fcb3d373c%7C1%7C1%7C637197203916032313&amp;sdata=CqQTCEgWnRti9Euljj6NMqzRKqPRfHGwH8OvBV3vHT0%3D&amp;reserved=0
“Confidentiality Notice: The contents of this email message and any attachments are intended solely for the addressee(s) and may contain confidential and/or privileged information and may be legally protected from disclosure. If you are not the intended recipient of this message or their agent, or if this message has been addressed to you in error, please immediately alert the sender by reply email and then delete this message and any attachments. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited.”

RE: Security threat due to H2 admin privileges for Ignite

Posted by Mikhail <mi...@gmail.com>.
Hi Sriveena,

I do no quite understand your concerns, Apache Ignite is just a java
application which you can be run under any user account with restricted
privileges.

Could you please describe you question in more detail?

>Which means user can execute any kind of system functions like filewrite,
fileread etc.
Also, I've never heard about such kind of function and have doubts that you
can run this in Ignite SQL, could you please show me the example of usage
for these functions?

Thanks,
Mike.



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

RE: Security threat due to H2 admin privileges for Ignite

Posted by Sriveena Mattaparthi <Sr...@ekaplus.com>.
Please suggest on ways to override the ignite configurations to start h2 database user with a custom user who has low privileges.

Thanks,
Sriveena

From: Sriveena Mattaparthi
Sent: 12 March 2020 15:42
To: user@ignite.apache.org
Subject: Security threat due to H2 admin privileges for Ignite

Hi,

We are using ignite to run join queries which are handwritten by user.
We have got a security threat using ignite as ignite is using h2 with admin privilieges.

Which means user can execute any kind of system functions like filewrite, fileread etc.
Is there a way to start ignite with a low privileged h2 user who doesn't have admin access to perform any of the system functions?
Please  help.

Thanks,
Sriveena

"Confidentiality Notice: The contents of this email message and any attachments are intended solely for the addressee(s) and may contain confidential and/or privileged information and may be legally protected from disclosure. If you are not the intended recipient of this message or their agent, or if this message has been addressed to you in error, please immediately alert the sender by reply email and then delete this message and any attachments. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited."