Vulnerability · Published Oct 16, 2024 · Assigned by apache
CVE-2024-45216Apache Solr: Authentication bypass possible using a fake URL Path ending
Critical 9.8
In plain English
A critical-severity improper authentication in Apache Solr from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 92.7% (higher than 99.8% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei, public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official description
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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.apache.solr:solr | 8.11.4 | GHSA-mjvf-4h88-6xm3 |
| Maven | org.apache.solr:solr | 9.7.0 | GHSA-mjvf-4h88-6xm3 |
| Ubuntu:22.04:LTS | lucene-solr | no fix listed | UBUNTU-CVE-2024-45216 |
| Ubuntu:24.04:LTS | lucene-solr | no fix listed | UBUNTU-CVE-2024-45216 |
| Ubuntu:25.10 | lucene-solr | no fix listed | UBUNTU-CVE-2024-45216 |
| Ubuntu:26.04:LTS | lucene-solr | no fix listed | UBUNTU-CVE-2024-45216 |
| Ubuntu:26.10 | lucene-solr | no fix listed | UBUNTU-CVE-2024-45216 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Solr | 5.3.0 – before 8.11.49.0.0 – before 9.7.0 |
Weakness: CWE-287, CWE-863 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H