LDAP Injection
It is used to:
Authentication Bypass Techniques
Tautology-based Injection
Payload:
(&(uid=*)(|(&)(userPassword=pwd)))This payload functions similarly to the OR 1=1 SQL statement because it uses the logic either of the 2 statements are true, which means the entire query is true.
Wildcard Injection
Injected Payload:
Condition always evaluates to true, bypassing the password checking mechanism
Targeted Injected Payload
This payload searches for specific targets that start with the letter a. Use more letters for more granular searching power
LDAP Injection
LDAP Search Filter Syntax
Name
Operand
Example
Example Description
Authentication Bypass
Description
Username
Password
Search Filter
Data Exfiltration
Username
Password
Query
Last updated