SSRF in Apache Solr

CVE-2021-27905

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.

Vulnerability class: SSRF (Server-Side Request Forgery)

EPSS: 0.931 (99.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2021-27905?
CVE-2021-27905 is a critical-severity vulnerability in Apache Solr, classified under Server-Side Request Forgery (SSRF). CVSS score: 9.8/10. Published 2021-04-13.
How severe is CVE-2021-27905?
Critical severity. CVSS v3 base score is 9.8 out of 10.
Is CVE-2021-27905 known to be exploited?
40 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.