mirror of
https://github.com/github/codeql.git
synced 2025-12-22 03:36:30 +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 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"
|
||||
|
||||
Reference in New Issue
Block a user