Query to detect LDAP injections in Java

Autoformat
This commit is contained in:
Grzegorz Golawski
2020-01-22 21:42:47 +01:00
parent 00ee3d2549
commit bed6a9886f

View File

@@ -15,8 +15,7 @@ import semmle.code.java.dataflow.FlowSources
import LdapInjectionLib
import DataFlow::PathGraph
from
DataFlow::PathNode source, DataFlow::PathNode sink, LdapInjectionFlowConfig conf
from DataFlow::PathNode source, DataFlow::PathNode sink, LdapInjectionFlowConfig conf
where conf.hasFlowPath(source, sink)
select sink.getNode(), source, sink, "LDAP query might include code from $@.", source.getNode(),
"this user input"