mirror of
https://github.com/github/codeql.git
synced 2026-05-05 13:45:19 +02:00
add calls to parseDN as sinks for ldap-injection
This commit is contained in:
@@ -52,6 +52,9 @@ module SqlInjection {
|
||||
or
|
||||
// A search options object, which contains a filter and a baseDN.
|
||||
this = any(LDAPjs::SearchOptions opt).getARhs()
|
||||
or
|
||||
// A call to "parseDN", which parses a DN from a string.
|
||||
this = LDAPjs::ldapjs().getMember("parseDN").getACall().getArgument(0)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user