Apache Solr: Improper Authentication
CVE-2024-45216 is a critical-severity improper authentication vulnerability in Apache Solr from Apache, with a CVSS 3.1 base score of 9.8 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. The record lists versions 8.11.4, 9.7.0 as the first without the flaw, so updating Apache Solr to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 92.7% chance of exploitation within 30 days, which is in the top 0.17% of all scored CVEs.
Exploitation in the next 30 days is more likely than not, according to EPSS.
What to do
- Update Apache Solr to 8.11.4 or 9.7.0, whichever matches your release line, or a later version.
- Update solr to 8.11.4 or 9.7.0, whichever matches your release line, or a later version.
- Read the advisory on solr.apache.org for workarounds and exact fixed builds.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Apache | Apache Solr | 5.3.0 up to, but not including, 8.11.4; 9.0.0 up to, but not including, 9.7.0 | 8.11.4, 9.7.0 |
| Apache | solr | 5.3.0 up to, but not including, 8.11.4; 9.0.0 up to, but not including, 9.7.0 | 8.11.4, 9.7.0 |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. Scored by CISA (ADP).
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.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Improper Authentication
When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.
How developers prevent this class of flaw
- Use an authentication framework or library such as the OWASP ESAPI Authentication feature.
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: yes, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Other references
- openwall.com/lists/oss-security/2024/10/15/8Mailing List
Other vulnerabilities in Apache Solr
- 9.8 Critical severity
- 7.1 High severity
- 8.2 High severity
- 8.1 High severity
- 8.8 High severity
- 7.5 High severity
Recent Improper Authentication vulnerabilities
- 8.8 High severity
- 8.8 High severity
- 9.8 Critical severity
- 9.8 Critical severity
- 8.2 High severity
- 8.1 High severity
Spotted an error? Tell us.