Severity: critical 

Affected versions:

- Apache Knox 0.5.0 through 2.1.0

Description:

Improper neutralization of special elements in an LDAP query in the Apache Knox 
Shiro LDAP realm (KnoxLdapRealm) allows an unauthenticated attacker to inject 
LDAP filter syntax through the login username when user search 
(userSearchAttributeName or userSearchFilter) is configured. As a result, Knox 
may authenticate the request against a different directory entry than the 
username identifies. This issue affects Apache Knox from 0.5.0 through 2.1.0. 
Users are recommended to upgrade to version 2.1.1 or 3.0.0, which fix the issue.

Credit:

n0mi1k (reporter)

References:

https://knox.apache.org/
https://www.cve.org/CVERecord?id=CVE-2026-97633

Reply via email to