All rules →
Rules / C#
SHIELD-CSHARP-017

LDAP injection via DirectorySearcher filter

highC#CWE-90CVSS 8.1

What it detects

A DirectorySearcher filter is built by concatenating untrusted input into the LDAP query.

How to fix

Escape LDAP special characters in user input before building the search filter.

Scan your repo freeFull documentation
Back to all rules
SHIELD-CSHARP-017: LDAP injection via DirectorySearcher filter — Zennoxa Shield