Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
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:
commit b7f72c5f407ab3eaf4e133dc08172d56fece49d1
Author: Xiaqing <454530524@qq.com>
Date: Fri Jun 30 09:42:07 2017 +0800
KYLIN-2696 Check SQL injection in filter condition