LDAP Security Feature
LDAP and especially OpenLDAP has a number of security features which at first (second and third) glance may be a tad daunting. Diagram below provides a perspective of the problem before diving into detail. It shows the various access methods and interfaces to an LDAP system and then describes some security issues and what methods are available to manage the risks involved. The purpose of this exercise is to determine either a set of security policies or implementation priorities.
Passwords : Securing passwords during communications should not be confused with securing them within configuration files or DITs. Even if you have secured all passwords within the configuration file or the DIT using a hash-method, such as {SSHA}, when a password is sent from a client to the server it is sent in the clear, hashed at the server and compared with the stored contents. Without any further action it can therefore be snooped (or sniffed depending on your predilection for these terms).
Note: When an entry containing, say, a userPassword attribute stored using, say, {CRYPT} is requested by a client it is not sent in cleartext but in its hashed (stored) form. However when access to that same entry is required the client sends the authenticating password in cleartext and clearly(!) if the login is successful the snooper can reasonably assume the cleartext password was correct!
Hi Su! I can see that your post is pretty informative, as well as it allows me to have a better understanding of LDAP! Good job in writing this blog post. I'm sure it would allow the other readers to have a better understanding as well! Good job! :)
ReplyDeleteJoanne.