Description (CNA)
Networknt light-4j from 2.1.5 before 2.4.0 contains an authentication bypass vulnerability in BasicAuthHandler that allows unauthenticated attackers to log in as LDAP/AD-delegated users. Attackers can send a Basic Authorization header with a known username and empty password, triggering an unauthenticated LDAP bind that is accepted as successful authentication.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| networknt / light-4j | affected 2.1.5 before 2.4.0 |
CWE
CWE-287
References
- https://github.com/networknt/light-4j/issues/2804
- https://github.com/networknt/light-4j/pull/2805
- https://github.com/networknt/light-4j/commit/54743badb34260b76ed131d8b6a4f60210cc3673
- https://github.com/networknt/light-4j/releases/tag/2.4.0
- https://github.com/networknt/light-4j/blob/2.3.7/basic-auth/src/main/java/com/networknt/basicauth/BasicAuthHandler.java#L189-L200
- https://github.com/networknt/light-4j/blob/2.3.7/ldap-util/src/main/java/com/networknt/ldap/LdapUtil.java#L152-L173
- https://www.vulncheck.com/advisories/networknt-light-4j-2.1.5-before-2.4.0-authentication-bypass-via-empty-ldap-password
ADP enrichment
No English description supplied.
No references supplied.