Skip to content
Back to skills

Ldap Injection

ASecurity

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).

  • 16 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 17, 2026
securitybackend

Works with

  • cli
  • mcp

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill ldap-injection --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ldap Injection?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ldap Injection
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anandjogawade-ldap-injection/badge)](https://www.skillsdirectory.com/skills/anandjogawade-ldap-injection)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.