LDAP injection — breaking out of LDAP search filters to bypass authentication, alter query logic, or blind-extract directory attributes. Filter-syntax breakout, auth bypass, and boolean extraction. Tier 1. Payloads: payloads/ldap-xpath-xslt.md. Use when input reaches an LDAP query (directory-backed login/search).
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Ldap Injection?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anandjogawade-ldap-injection)
---
name: ldap-injection
description: "LDAP injection — breaking out of LDAP search filters to bypass authentication, alter query logic, or blind-extract directory attributes. Filter-syntax breakout, auth bypass, and boolean extraction. Tier 1. Payloads: payloads/ldap-xpath-xslt.md. Use when input reaches an LDAP query (directory-backed login/search)."
---
# LDAP Injection
Input in an LDAP filter lets you alter the match logic. Payloads: `${CLAUDE_PLUGIN_ROOT}/payloads/ldap-xpath-xslt.md`.
## Trigger phrases
`ldap injection, directory injection, ldap filter bypass, ldap auth bypass`
## Method
1. **Probe:** inject `*`, `(`, `)`, `&`, `|`, `\` and watch for errors/behavior change.
2. **Auth bypass:** `*`, `*)(uid=*))(|(uid=*`, `admin)(&)`, `*)(|(objectClass=*`.
3. **Blind extraction:** `*)(cn=a*` incrementally per character (response-diff oracle); enumerate attributes/users.
4. Test both inside the value and breaking the parenthesis grouping; try AND/OR context variants.
## Escalation
Auth bypass → account access; attribute extraction → user/credential enumeration; combine with harvested data for further access.
## Backend & tooling
Preferred Kali path (native / WSL+Kali / Kali-SSH / Kali-MCP / HexStrike / Metasploit-MCP) or headless browser for client-side; Windows-local last resort. If a Burp MCP is present, route requests through Burp proxy for visibility and send manual PoCs to Repeater (see `zazy-orchestrator`).
## Verification (background, before reporting)
Re-confirm independently (second payload/tool/vantage or OAST callback) and reproduce before marking CONFIRMED. For blind cases use OAST (Collaborator/interactsh) before concluding negative. Report true positives only.
## Evidence
The injected filter, the bypass/extraction result, and the affected query/parameter.