Skip to content
OpenAdvisories
Critical · 9.8 Scanner template Public exploit CVE-2024-45216 BIT-solr-2024-45216EUVD-2024-3084GHSA-mjvf-4h88-6xm3

Apache Solr: Authentication bypass possible using a fake URL Path ending

Published Oct 16, 2024 · Updated Nov 8, 2024 · Assigned by apache

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 products

VendorProductAffectedFixed
Apache Software Foundation Apache Solr 5.3.0 – < 8.11.4, 9.0.0 – < 9.7.0 8.11.4

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 lucene-solr No fix yet —
Ubuntu 26.04 LTS lucene-solr No fix yet —
Ubuntu 25.10 lucene-solr No fix yet —
Ubuntu 24.04 LTS lucene-solr No fix yet —
Ubuntu 22.04 LTS lucene-solr No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS lucene-solr No fix yet —
Ubuntu Pro 18.04 LTS lucene-solr No fix yet —
Ubuntu Pro 16.04 LTS lucene-solr No fix yet —
Ubuntu Pro 14.04 LTS lucene-solr No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.solr:solr >= 5.3.0, < 8.11.4 8.11.4 GHSA-mjvf-4h88-6xm3
Maven org.apache.solr:solr >= 9.0.0, < 9.7.0 9.7.0 GHSA-mjvf-4h88-6xm3

Advisories 3

References