LDAP injection

Description
LDAP (Lightweight Directory Access Protocol) Injection is an attack used to exploit web based applications by constructing 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 applicationthe 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

 * Interpreter Injection
 * SQL Injection
 * Command Injection

Related Vulnerabilities
Category:Lack of Input Validation

Related Countermeasures
Category:Input Validation