mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
Query to detect LDAP injections in Java
Autoformat
This commit is contained in:
@@ -15,8 +15,7 @@ import semmle.code.java.dataflow.FlowSources
|
|||||||
import LdapInjectionLib
|
import LdapInjectionLib
|
||||||
import DataFlow::PathGraph
|
import DataFlow::PathGraph
|
||||||
|
|
||||||
from
|
from DataFlow::PathNode source, DataFlow::PathNode sink, LdapInjectionFlowConfig conf
|
||||||
DataFlow::PathNode source, DataFlow::PathNode sink, LdapInjectionFlowConfig conf
|
|
||||||
where conf.hasFlowPath(source, sink)
|
where conf.hasFlowPath(source, sink)
|
||||||
select sink.getNode(), source, sink, "LDAP query might include code from $@.", source.getNode(),
|
select sink.getNode(), source, sink, "LDAP query might include code from $@.", source.getNode(),
|
||||||
"this user input"
|
"this user input"
|
||||||
|
|||||||
Reference in New Issue
Block a user