Improper Authentication vulnerability in Apache Solr
Solr instances using the PKIAuthenticationPlugin, which is enabled by default when Solr Authentication is used, are vulnerable to Authentication bypass. A fake ending at the end of any Solr API URL path, will allow requests to skip Authentication while maintaining the API contract with the original URL Path. This fake ending looks like an unprotected API path, however it is stripped off internally after authentication but before API routing.
This issue affects Apache Solr: from 5.3.0 before 8.11.4, from 9.0.0 before 9.7.0.
Users are recommended to upgrade to version 9.7.0, or 8.11.4, which fix the issue.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.apache.solr:solr | >= 5.3.0, < 8.11.4, >= 9.0.0, < 9.7.0 | 8.11.4, 9.7.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-45216
- https://issues.apache.org/jira/browse/SOLR-17417
- https://solr.apache.org/security.html#cve-2024-45216-apache-solr-authentication-bypass-possible-using-a-fake-url-path-ending
- http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/solr/webapp
- http://www.openwall.com/lists/oss-security/2024/10/15/8
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-287, CWE-863- Platform
- Java / Kotlin (Maven)
- Package
org.apache.solr:solr- Disclosed
- 16.10.2024
- Updated
- 11.10.2026 12:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-mjvf-4h88-6xm3 - CC BY 4.0
Vulnerability history: org.apache.solr:solr
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 4
- First → latest
- 05.2022 10.2024
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 1
- High 1
- Medium 2
Disclosures per year
- 2022: 2
- 2023: 0
- 2024: 2
- 2025: 0
- 2026: 0
-
Improper Authentication vulnerability in Apache Solr this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.