[
https://issues.apache.org/jira/browse/DERBY-7147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17639510#comment-17639510
]
Richard N. Hillegas commented on DERBY-7147:
--------------------------------------------
The ant command works for me against a sane build on the trunk with Java 19 and
ant 1.10.6:
{noformat}
trunk (19) > ant
-Dderby.junit.testclass=org.apache.derbyTesting.functionTests.tests.lang.TriggerWhenClauseTest
junit-single
Buildfile: /Users/rhillegas/derby/mainline/trunk/build.xml
junit-init-nocp:
[mkdir] Created dir:
/Users/rhillegas/derby/mainline/trunk/junit_20221126_0944/testout
junit-init:
emit-junit-classpath-jars:
[echo] Running with jars: /Users/rhillegas/derby/mainline/trunk/jars/sane
[echo] CLASSPATH (environment variable):
/Users/rhillegas/derby/docs/trunk/lib/fop.jar:/Users/rhillegas/derby/docs/trunk/lib/avalon-framework-4.2.0.jar:/Users/rhillegas/derby/docs/trunk/lib/batik-all-1.6.jar
emit-junit-classpath:
junit-single:
[junit] Running
org.apache.derbyTesting.functionTests.tests.lang.TriggerWhenClauseTest
[junit] Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
9.542 sec
BUILD SUCCESSFUL
Total time: 10 seconds
trunk (19) > java -version
openjdk version "19" 2022-09-20
OpenJDK Runtime Environment (build 19+36-2238)
OpenJDK 64-Bit Server VM (build 19+36-2238, mixed mode, sharing)
trunk (19) > ant -version
Apache Ant(TM) version 1.10.6 compiled on May 2 2019
{noformat}
> LDAP injection vulnerability in LDAPAuthenticationImpl
> ------------------------------------------------------
>
> Key: DERBY-7147
> URL: https://issues.apache.org/jira/browse/DERBY-7147
> Project: Derby
> Issue Type: Bug
> Components: JDBC
> Affects Versions: 10.16.1.1
> Reporter: Richard N. Hillegas
> Assignee: Richard N. Hillegas
> Priority: Major
> Attachments: derby-7147-01-aa-reformatForReadability.diff,
> derby-7147-02-aa-escapeLDAPsearchFilter.diff,
> derby-7147-02-ab-escapeLDAPsearchFilter.diff
>
>
> An LDAP injection vulnerability has been identified in
> LDAPAuthenticationSchemeImpl.getDNFromUID(). An exploit has not been
> provided, but there is a possibility that an intruder could bypass
> authentication checks in Derby-powered applications which rely on external
> LDAP servers.
> For more information on LDAP injection, see
> https://www.synopsys.com/glossary/what-is-ldap-injection.html
--
This message was sent by Atlassian Jira
(v8.20.10#820010)