9.8critical
SSRF vulnerability with the Replication handler
- Severity
- 9.8critical CVSS:3.1 by NVD
- Exploit likelihood
- 93.1% (higher than 99% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-5phw-3jrp-3vj8BIT-SOLR-2021-27905
Description
The ReplicationHandler (normally registered at "/replication" under a Solr core) in Apache Solr has a "masterUrl" (also "leaderUrl" alias) parameter that is used to designate another ReplicationHandler on another Solr core to replicate index data into the local core. To prevent a SSRF vulnerability, Solr ought to check these parameters against a similar configuration it uses for the "shards" parameter. Prior to this bug getting fixed, it did not. This problem affects essentially all Solr versions prior to it getting fixed in 8.8.2.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Apache Software Foundation Apache Solr | from Apache Solr before 8.8.2 | CVE List |
| org.apache.solr:solr-parent (Maven) | before 8.8.2 | GitHub Advisory Database |
| apache solr | before 8.8.2 | NVD |
| solr (Bitnami) | before 8.8.2 | Bitnami Vulnerability Database |
All scores
| GitHub | 7.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| Bitnami Vulnerability Database | critical rating |
Classification
What each source says
CVE List
The ReplicationHandler (normally registered at "/replication" under a Solr core) in Apache Solr has a "masterUrl" (also "leaderUrl" alias) parameter that is used to designate another ReplicationHandler on another Solr core to replicate index data into the local core. To prevent a SSRF vulnerability, Solr ought to check these parameters against a similar configuration it uses for the "shards" parameter. Prior to this bug getting fixed, it did not. This problem affects essentially all Solr versions prior to it getting fixed in 8.8.2.
NVD (es)
La función ReplicationHandler (normalmente registrado en "/replication" bajo un core Solr) en Apache Solr presenta un parámetro "masterUrl" (también se conoce como "leaderUrl") que es usada para designar otro ReplicationHandler en otro core Solr para replicar datos de índice en el core local . Para impedir una vulnerabilidad de SSRF, Solr debería comparar estos parámetros con una configuración similar que usa para el parámetro "shards". Antes de que fuera corregido este bug, no era así. Este problema afecta esencialmente a todas las versiones de Solr anteriores a que fuese corregido en la versión 8.8.2
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-27905 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-5phw-3jrp-3vj8 changed 2024-02-17 | CC-BY-4.0 |
| NVD | CVE-2021-27905 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-SOLR-2021-27905 changed 2026-09-08 | Apache-2.0 |