vetkit.java.ldap-injection.search-filter
An LDAP search filter is built from request data (LDAP injection).
Last updated:
Suite: Security
java
An LDAP search filter is built from request data (LDAP injection).
Category: SECURITY · Engine rule severity: ERROR
How to fix it
Use filter arguments (search(base, "(uid={0})", new Object[] {value}, controls)) or encode values with an LDAP filter encoder before building the filter.
References
Source: packages/engine/rules/sast/java.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.