You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Xiaqing Wang (JIRA)" <ji...@apache.org> on 2017/07/05 02:08:00 UTC

[jira] [Updated] (KYLIN-2696) Check SQL injection in model filter condition

     [ https://issues.apache.org/jira/browse/KYLIN-2696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xiaqing Wang updated KYLIN-2696:
--------------------------------
    Description: 
We should check the model filter condition in case of someone make use of it to do SQL injection to Hive. 

Since it is a String embed into a WHERE clause, we simply forbid it to include ';' character, except it is within a pair of quotations. 

Resolved. Please refer to:



  was:
We should check the model filter condition in case of someone make use of it to do SQL injection to Hive. 

Since it is a String embed into a WHERE clause, we simply forbid it to include ';' character, except it is within a pair of quotations. 


> Check SQL injection in model filter condition
> ---------------------------------------------
>
>                 Key: KYLIN-2696
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2696
>             Project: Kylin
>          Issue Type: Bug
>            Reporter: Xiaqing Wang
>            Assignee: Xiaqing Wang
>
> We should check the model filter condition in case of someone make use of it to do SQL injection to Hive. 
> Since it is a String embed into a WHERE clause, we simply forbid it to include ';' character, except it is within a pair of quotations. 
> Resolved. Please refer to:



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)