Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-2696

Check SQL injection in model filter condition

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • v2.1.0
    • 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

      Attachments

        Activity

          People

            Auphyroc99 Xiaqing Wang
            Auphyroc99 Xiaqing Wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: