This site is the archived OWASP Foundation Wiki and is no longer accepting Account Requests.
To view the new OWASP Foundation website, please visit

LDAP injection

Revision as of 00:26, 19 October 2006 by Jstrassburg (talk | contribs) (small typo fix and rewording)

Jump to: navigation, search
This is an Attack. To view all attacks, please see the Attack Category page.


LDAP (Lightweight Directory Access Protocol) Injection is an attack used to exploit web based applications that construct LDAP statements from user input. When an application fails to sufficiently sanatize user input, it may be possible for an attacker to alter the construction of an LDAP statement. Due to the nature of web based applications the process will be run with the same permissions as the web server itself. Thus this could result in the execution of the command. Such a scenario could result in granting permissions to query, modify or remove anything inside the LDAP tree.


Related Attacks

Related Vulnerabilities

Category:Lack of Input Validation

Related Countermeasures

Category:Input Validation