C-sharp : Unsafe LDAP access control: anonymous bind
Classification
Overview
In the absence of proper access control, LDAP query execution via anonymous bind may give an attacker unauthorized access to LDAP directories.
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.
Anonymous bind is equivalent to the lack of authentication when executing LDAP-queries.
DerScanner Severity Score
Check your C# 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.
