ZeroHour

CVE-2024-45216

large

Authentication Bypass in Apache Solr PKIAuthenticationPlugin (CVE-2024-45216)

CVSS 3.1
9.8 critical
EPSS
92%p100
Published
()
Modified
AI analysis

CVE-2024-45216 is a critical improper-authentication flaw (CVSS 9.8) in Apache Solr's PKIAuthenticationPlugin, which is enabled by default whenever Solr Authentication is configured. An attacker sends a request to any protected Solr API URL with a crafted fake ending that looks like an unprotected API path; Solr skips authentication for that request and then strips the fake ending before API routing, so the request is processed as the original protected path. This allows an unauthenticated attacker to reach Solr APIs that should require credentials, potentially exposing or modifying indexed data and configuration, with network access being the only prerequisite. Only Solr deployments that run Solr Authentication on versions 5.3.0 through 8.11.3 or 9.0.0 through 9.6.x are affected; unauthenticated Solr instances are not exposed to this bypass. No public proof-of-concept or confirmed in-the-wild exploitation is known yet, but EPSS assigns a 91.7% probability of exploitation within 30 days (100th percentile), so exploitation should be treated as likely imminent.

What to do: Upgrade to Apache Solr 9.7.0 or 8.11.4, which fix the issue. As an interim measure, disable the PKIAuthenticationPlugin or restrict network access to Solr with firewall/allowlist rules, and confirm whether your instances run Solr Authentication and are internet-exposed. Given the 91.7% EPSS, prioritize patching internet-facing Solr servers and review access logs for API requests bearing unusual URL suffixes that bypass authentication.

Affected
Apache Solr5.3.0 up to (but not including) 8.11.4
Apache Solr9.0.0 up to (but not including) 9.7.0
Estimated exposure
large≈20,000–50,000 internet-exposed Solr instances per public scans, with the directly vulnerable authenticated subset likely in the thousands to tens of thousands… — Public internet-wide scans (e.g., Shodan/Censys) historically show on the order of tens of thousands of exposed Apache Solr endpoints, and only the subset of those (and of largely uncounted internal Solr deployments) with Solr…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

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.

Vendors
apache
Products
solr
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

In the news