CVE-2024-45216Apache Solr: Authentication bypass possible using a fake URL Path ending
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.
What to do
Likely to be exploited: EPSS gives a 16% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Fixed builds are available from Maven: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | lucene-solr | Fix pending | UBUNTU-CVE-2024-45216 | |
| Ubuntu 26.04 | lucene-solr | Under investigation | UBUNTU-CVE-2024-45216 | |
| Ubuntu 25.10 | lucene-solr | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2024-45216 | |
| Ubuntu 24.04 | lucene-solr | Under investigation | UBUNTU-CVE-2024-45216 | |
| Ubuntu 22.04 | lucene-solr | Under investigation | UBUNTU-CVE-2024-45216 | |
| Ubuntu 20.04 | lucene-solr | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2024-45216 | |
| Ubuntu 18.04 | lucene-solr | Fix pending | UBUNTU-CVE-2024-45216 | |
| Ubuntu 16.04 | lucene-solr | Fix pending | UBUNTU-CVE-2024-45216 | |
| Ubuntu 14.04 | lucene-solr | Fix pending | UBUNTU-CVE-2024-45216 | |
| Maven library | org.apache.solr:solr | Fixed | 9.7.0 | GHSA-mjvf-4h88-6xm3 |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache Solr: affected: 5.3.0 to before 8.11.4, 9.0.0 to before 9.7.0; fixed in
8.11.4,9.7.0
Vendor advisories:
- https://solr.apache.org/security.html#cve-2024-45216-apache-solr-authentication-bypass-po… (vendor-advisory)
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.