Authentication bypass via unescaped LDAP username
Published Nov 20, 2023 · Updated Jun 10, 2025
LDAP injection in affected Apache Derby releases allows remote attackers to bypass LDAP authentication with a crafted username. LDAPAuthenticationSchemeImpl.getDNFromUID() inserts the username into an LDAP search filter without escaping metacharacters, allowing input to change the filter predicate. LDAP authentication is required; resulting access can fill disk, run existing executable content, or read and corrupt data when SQL authorization is absent.
Summary
What happened
LDAP injection in affected Apache Derby releases allows remote attackers to bypass LDAP authentication with a crafted username. LDAPAuthenticationSchemeImpl.getDNFromUID() inserts the username into an LDAP search filter without escaping metacharacters, allowing input to change the filter predicate. LDAP authentication is required; resulting access can fill disk, run existing executable content, or read and corrupt data when SQL authorization is absent.
The record
- CVE
- CVE-2022-46337
- Published
- Nov 20, 2023
- Updated
- Jun 10, 2025
- Vendor
- The Apache Software Foundation
- Product
- Apache Derby
- Classifications
- CWE-74, CWE-94, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Nov 20, 2023CVE publishedPublication date reported by the CVE source.
- Jun 10, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=10.10.1.1 <=10.10.2.0
- Affected versionversion=10.1.1.0 <=10.1.3.1
- Affected versionversion=10.11.1.1
- Affected versionversion=10.12.1.1
- Affected versionversion=10.13.1.1
- Affected versionversion=10.14.2.0
- Affected versionversion=10.15.1.3 <=10.15.2.0
- Affected versionversion=10.16.1.1
- Affected versionversion=10.2.1.6 <=10.2.2.0
- Affected versionversion=10.3.1.4 <=10.3.3.0
- Affected versionversion=10.4.1.3 <=10.4.2.0
- Affected versionversion=10.5.1.1 <=10.5.3.0
- Affected versionversion=10.6.1.0 <=10.6.2.1
- Affected versionversion=10.7.1.1
- Affected versionversion=10.8.1.2 <=10.8.3.0
- Affected versionversion=10.9.1.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo