This site is the archived OWASP Foundation Wiki and is no longer accepting Account Requests.
To view the new OWASP Foundation website, please visit https://owasp.org
Projects/OWASP Framework Security Project/Evaluations of LDAP Client APIs
From OWASP
Here we evaluate and compare various LDAP Client APIs to understand how well they satisfy the Secure LDAP Client API Standard.
NOTE: Both the standard and evaluations below are in a draft state and are likely to change before formal publication.
Overview
API | Grade | Documents the Security Risks of LDAP Filter Injection | Documents LDAP Bind Authentication Without Filter Queries | Provides an LDAP Filter Escape Function | Provides LDAP Filter Syntax Templates | Provides an Abstract API for LDAP Filter Queries | Supports LDAP with StartTLS | Supports LDAPS | Enables SSL/TLS Certificate Validation by Default | Documents the Customization of Trusted Certificate Authorities | Documents the Risk of Disabling Certificate Validation | Score |
---|---|---|---|---|---|---|---|---|---|---|---|---|
Apache Directory LDAP API (java) | ? | NO | ? | NO | NO | NO | ? | ? | ? | ? | ? | ? |
ColdFusion 10 cfldap | ? | NO (-2) | ? | NO | NO | NO | ? | ? | ? | ? | ? | ? |
.NET 4.5 | ? | NO | ? | NO | NO | NO | ? | ? | ? | ? | ? | ? |
Perl Net::LDAP | ? | YES | ? | NO | NO | NO | ? | ? | ? | ? | ? | ? |
PHP 5 | ? | NO (-1) | ? | YES | NO | NO | ? | ? | ? | ? | ? | ? |
python-ldap | ? | YES | ? | YES | YES | NO | ? | ? | ? | ? | ? | ? |
Notes
- ColdFusion 10: Besides not warning developers about the risk of LDAP Filter injection, this page contains an example which is blatantly vulnerable to injection. Minus 2 points.
- PHP 5: Besides not warning developers about the risk of LDAP Filter injection, this page contains an example which leads developers a likely injection. Minus 1 point.
Tickets
TODO: here we keep track of links to bug submissions/feature requests sent to each API maintainer