CVE-2024-45216
JSON

9.8critical

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

Severity
9.8critical CVSS:3.1 by CISA-ADP
Exploit likelihood
92.7% (higher than 99% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
GHSA-mjvf-4h88-6xm3BIT-SOLR-2024-45216

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

Product or packageVersionsReported by
Apache Software Foundation Apache Solrfrom 5.3.0 before 8.11.4, from 9.0.0 before 9.7.0CVE List
apache solrfrom 5.3.0 before 8.11.4, from 9.0.0 before 9.7.0CVE List, NVD
org.apache.solr:solr (Maven)from 5.3.0 before 8.11.4, from 9.0.0 before 9.7.0GitHub Advisory Database
solr (Bitnami)from 5.3.0 before 8.11.4, from 9.0.0 before 9.7.0Bitnami Vulnerability Database

All scores

CISA-ADP9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHubcritical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Bitnami Vulnerability Databasecritical rating

Classification

CWE-287CWE-863

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

GitHub Advisory Database

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.

NVD (es)

Vulnerabilidad de autenticación incorrecta en Apache Solr. Las instancias de Solr que utilizan PKIAuthenticationPlugin, que está habilitado de forma predeterminada cuando se utiliza la autenticación de Solr, son vulnerables a la omisión de la autenticación. Una terminación falsa al final de cualquier ruta de URL de la API de Solr permitirá que las solicitudes omitan la autenticación mientras se mantiene el contrato de API con la ruta de URL original. Esta terminación falsa parece una ruta de API desprotegida, sin embargo, se elimina internamente después de la autenticación pero antes del enrutamiento de API. Este problema afecta a Apache Solr: desde 5.3.0 hasta 8.11.4, desde 9.0.0 hasta 9.7.0. Se recomienda a los usuarios actualizar a la versión 9.7.0 o 8.11.4, que solucionan el problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-45216 changed 2024-11-08CVE Terms of Use
GitHub Advisory DatabaseGHSA-mjvf-4h88-6xm3 changed 2025-07-02CC-BY-4.0
NVDCVE-2024-45216 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-SOLR-2024-45216 changed 2026-09-08Apache-2.0