hunt-ldap
结合 WSTG 与实务经验,适合目录服务与 AD 审计
涉及目录服务信息泄露与绕过技巧,有滥用可能
检测 LDAP/XPath 注入导致的认证绕过与属性泄露等问题
用于检测和利用 LDAP 注入与 XPath 注入导致的认证绕过、逐字节盲注属性泄露、AD 用户/组枚举和 XML 存储的绕过问题。当目标使用 LDAP/AD 验证、企业 SSO、地址簿或以 XPath 查询的 XML 存储时就会用到。特点是覆盖 LDAP 特殊字符、搜索过滤器语法、括号平衡和像 {SSHA}/{CRYPT} 密码外泄这样的特殊情况,实战性强且基于 OWASP 和 RFC 规则。
▸ 展开 SKILL.md 英文原文
Hunt LDAP Injection and XPath Injection — authentication bypass, blind char-by-char attribute exfiltration, AD user/group enumeration, XML-store XPath bypass. Covers the LDAP special-character set (* ( ) \ NUL /), search-filter-context vs DN-injection, parenthesis-balancing, AND/OR filter logic, and {SSHA}/{CRYPT} userPassword exfil on non-AD directories. Use when target uses LDAP/AD authentication, corporate SSO with a directory backend, an address-book/people-search API, or XML-based data stores queried with XPath.
帮我安装这个 skill:https://raw.githubusercontent.com/elementalsouls/Claude-BugHunter/main/skills/hunt-ldap/SKILL.mdcurl -fsSL "https://raw.githubusercontent.com/elementalsouls/Claude-BugHunter/main/skills/hunt-ldap/SKILL.md"# HUNT-LDAP — LDAP Injection & XPath Injection > Grounding note: LDAP injection is rarely disclosed with verbatim payloads on > public platforms (most live on internal-pentest reports). This skill is > grounded in the **OWASP LDAP Injection Prevention / Testing Guide > (WSTG-INPV-06)**, **PortSwigger Web Security Academy (LDAP injection)**, and > the **RFC 4515** filter grammar — all publicly verifiable references rather > than invented HackerOne IDs. Do not cite a report you cannot link. ## Crown Jewel Targets LDAP injection that bypasses authentication = **Critical**. Blind attribute exfiltration of credentials/secrets = **High**. AD enumeration alone = Medium-High. **Highest-value cha