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/04 11:40:00 UTC

[jira] [Resolved] (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 resolved KYLIN-2696.
---------------------------------
    Resolution: Fixed

> 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. 



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