Java

Java : LDAP injection

Overview

LDAP query injection is possible. This can lead to data confidentiality loss or to data modification.

Injection vulnerabilities take the first place in the “OWASP Top 10 2017” web-application vulnerabilities ranking.

LDAP is an application-level protocol for accessing and maintaining distributed directory information services (X.500 directory service). If LDAP query is based on data from an untrusted source (e.g., user input) and the data do not pass validation, an attacker can modify the query and execute it with the application rights.

The application creates an LDAP query generated based on data from an untrusted source that has not been validated. This allows an attacker to change the semantics of the query.

MEDIUM

DerScanner Severity Score

Check your Java code for this vulnerability, free

Request a free pilot of DerScanner. We give you access and help with the first scan. It works in the cloud and on-premise.

Try it on your code, free

By submitting this form, I acknowledge that DerScanner may process my personal data I provided above for purposes explained above. More details about the processing.