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

Xiaqing Wang updated KYLIN-2696:
--------------------------------
    Fix Version/s: v2.1.0

> 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
>             Fix For: v2.1.0
>
>
> 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:
> commit b7f72c5f407ab3eaf4e133dc08172d56fece49d1
> Author: Xiaqing <454530...@qq.com>
> Date:   Fri Jun 30 09:42:07 2017 +0800
>     KYLIN-2696 Check SQL injection in filter condition



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

Reply via email to