You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "thierry accart (JIRA)" <ji...@apache.org> on 2015/09/15 11:05:46 UTC

[jira] [Created] (OOZIE-2362) SQL injection in BulkJPAExecutor

thierry accart created OOZIE-2362:
-------------------------------------

             Summary: SQL injection in BulkJPAExecutor
                 Key: OOZIE-2362
                 URL: https://issues.apache.org/jira/browse/OOZIE-2362
             Project: Oozie
          Issue Type: Bug
          Components: core, security
            Reporter: thierry accart
            Priority: Critical


In method inClause of org.apache.oozie.executor.jpa.BulkJPAExecutor there is a poosibility for SQL injection (https://www.owasp.org/index.php/SQL_injection) : there is no validation of content of string name before it's included in sql script, opening a possibility for a malicious user to inject sql commands.
A simple validation of strings using .matches(...) would fix problem.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)