Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
1.0.7, 1.1.8
-
None
Description
The escaping was always done as if NO_BACKSLASH_ESCAPES is on. Affected methods - getPrimaryKeys, getTables, getColumns, getProcedures, getProcedureColumns, getFunctionColumns, getColumnPrivileges, getTablePrivileges, getFunctions for table schema and name parameters and for columns, routine/procedure/function names(where applicable), in getColumnPrivileges only column name and in getTablePrivileges only for table name, in getFunctions only routine name.
If the multi-statements are enabled, the result could be that with specially picked parameter values SQL can be injected. Or additional rows are selected
Attachments
Issue Links
- relates to
-
CONCPP-162 Wrong quot escaping of parameters in DatabaseMetaData methods
-
- Closed
-