An issue was discovered in LemonLDAP::NG before 2.0.12. Session cache corruption can lead to authorization bypass or spoofing. By running a loop that makes many authentication attempts, an attacker might alternately be authenticated as one of two different users.
The product does not implement sufficient measures to prevent multiple failed authentication attempts within a short time frame, making it more susceptible to brute force attacks.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Lemonldap::ng | Lemonldap-ng | * | 2.0.11 (including) |
Lemonldap-ng | Ubuntu | bionic | * |
Lemonldap-ng | Ubuntu | hirsute | * |
Lemonldap-ng | Ubuntu | trusty | * |
Lemonldap-ng | Ubuntu | upstream | * |
Lemonldap-ng | Ubuntu | xenial | * |
Common protection mechanisms include:
Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid.
Consider using libraries with authentication capabilities such as OpenSSL or the ESAPI Authenticator. [REF-45]