vetkit.php.ldap-injection.request-input
Request input is built into an LDAP search filter without ldap_escape() (LDAP injection). Attackers can alter the filter to bypass authentication or enumerate the directory.
Last updated:
Suite: Security
php
Request input is built into an LDAP search filter without ldap_escape() (LDAP injection). Attackers can alter the filter to bypass authentication or enumerate the directory.
Category: SECURITY · Engine rule severity: WARNING
How to fix it
Escape every value with ldap_escape($value, '', LDAP_ESCAPE_FILTER) before building the filter.
References
Source: packages/engine/rules/sast/php.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.