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)

Published · last modified .

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.

EPSS exploit prediction

EPSS: 0.931 (99.8th percentile), scored .

High probability of exploitation in the next 30 days — patch promptly. 100th percentile — 99.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2021-27905: held from 0.931 to 0.931.

EPSS over last 30 days · oldest: 0.931 · newest: 0.931 · change: 0.000

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.