Uploaded image for project: 'MariaDB Connector/node.js'
  1. MariaDB Connector/node.js
  2. CONJS-369

SQL injection through object keys in SET expansion with permitSetMultiParamEntries

    XMLWordPrintable

Details

    Description

      When permitSetMultiParamEntries is enabled, object keys are expanded into column names by concatenating backticks around them, without escaping. A key containing a backtick closes the identifier, and the rest of the key is parsed as SQL.

      The value goes through the parameter escaping, the key does not.

      (report by fg0x0)

      Attachments

        Activity

          People

            diego dupin Diego Dupin
            diego dupin Diego Dupin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.