LDAP Injection
High · Injection
OWASP Top 10:2025 (current)
Not directly mapped to a Top 10:2025 category — see CWE / CVE below.
CWE
CWE-90
CVE / class examples
- Search NVD/CVE for product-specific instances of this CWE
All refs
CWE-90
Definition
User input alters LDAP query structure.
Root cause
String-built directory filters.
Affected components
- Components in the “Injection” class
- Application / API handlers
- Supporting libraries
Impact
Auth bypass, data disclosure.
Severity
High
Safe lab reproduction
Directory lab apps
Detection methodology
Directory query anomalies; SAST.
Evidence examples
- Lab reproduction notes: Directory lab apps
- Request/response excerpts (redacted)
- Detection signal: Directory query anomalies; SAST
Remediation
Parameterized LDAP APIs / escaping.
Secure coding examples
Never concatenate raw input into filters.
Related CYNARKS lessons & labs
Tools: burp
Practise related skills in Labs or deepen on Academy library.