vetkit.js.ldap-injection.request-filter
Request input is spliced into an LDAP search filter. Characters such as *, ( and ) let an attacker rewrite the filter, for example to bypass a login check.
Last updated:
Suite: Security
javascript, typescript
Request input is spliced into an LDAP search filter. Characters such as *, ( and ) let an attacker rewrite the filter, for example to bypass a login check.
Category: SECURITY · Engine rule severity: WARNING
How to fix it
Escape filter values (RFC 4515) before building the filter, or build it from filter objects (ldapjs EqualityFilter) instead of strings.
References
Source: packages/engine/rules/sast/javascript.yml.
Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.