hunt-ldap

Identify LDAP and XPath injection vulnerabilities in authentication systems.

Updated Jun 24, 2026
One-click install
npx skills add https://github.com/Skobyn/talon --skill hunt-ldap-skobyn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hunt-ldap
Source: https://github.com/Skobyn/talon/tree/main/skills/hunt-ldap
Command: npx skills add https://github.com/Skobyn/talon --skill hunt-ldap-skobyn

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill identifies and demonstrates how to exploit LDAP and XPath injection vulnerabilities in systems using LDAP or XML-based authentication.

Core Features & Use Cases

  • LDAP Injection Detection: Identifies authentication bypass and attribute exfiltration vulnerabilities in LDAP/AD directories.
  • XPath Injection Detection: Finds authentication bypass and data exfiltration in XML-backed authentication systems.
  • Use Case: When auditing a corporate directory or web application, use this Skill to uncover potential vulnerabilities in the authentication mechanisms.

Quick Start

Use the hunt-ldap skill to test for LDAP injection vulnerabilities in the target system 'example.com'.

Frequently Asked Questions about hunt-ldap

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is XPath injection and how does it bypass XML authentication?

XPath injection vulnerabilities allow authentication bypass and data exfiltration in XML-backed authentication systems. You exploit them by injecting crafted XPath queries into accessible XML endpoints to extract underlying data.

How do I detect XPath injection in web applications using XML data sources?

Yes, you can extract userPassword hashes through blind LDAP injection techniques. By injecting targeted payloads into vulnerable LDAP endpoints, you can systematically exfiltrate hashed credentials from the directory.

XPath injection detection involves injecting boolean-based or error-based payloads into XML-backed authentication mechanisms. This identifies vulnerabilities that allow unauthorized authentication bypass and data exfiltration from the XML data source.

Detecting XPath injection involves injecting boolean-based or error-based payloads into XML-backed authentication mechanisms. This identifies vulnerabilities that allow unauthorized authentication bypass and data exfiltration from the XML data source.

What is the difference between LDAP injection and XPath injection vulnerabilities?

Yes, testing for LDAP authentication bypass requires a target system with accessible LDAP or XML endpoints. You also need a reliable method to inject payloads into those endpoints to demonstrate the vulnerabilities.

What are the limitations of LDAP injection testing?

LDAP injection targets corporate directory services like Active Directory to bypass authentication and exfiltrate attributes, while XPath injection targets XML-backed applications to bypass authentication and extract XML data. Both require accessible endpoints and payload injection methods.