node-ldapauth-fork icon indicating copy to clipboard operation
node-ldapauth-fork copied to clipboard

starttls is insecure: falls back to plaintext

Open pcworld opened this issue 3 years ago • 0 comments

If starttls is used and TLS connection fails, node-ldapauth-fork falls back to plaintext communication, as it does not handle the errors provided by ldapjs properly. This allows an active attacker (or inadvertent misconfiguration) to compromise security.

The library should block connections if starttls fails, and not allow any LDAP commands to be sent in plaintext.

pcworld avatar Jul 16 '21 00:07 pcworld