Vulnerability · Published Apr 13, 2021 · Assigned by apache

CVE-2021-27905SSRF vulnerability with the Replication handler

Critical 9.8

In plain English

A critical-severity server-side request forgery in Apache Solr from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 93.1% (higher than 99.8% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei, public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)93.1%top 0.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling2Nuclei, Public PoC

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12lucene-solr3.6.2+dfsg-23DEBIAN-CVE-2021-27905
Debian:13lucene-solr3.6.2+dfsg-23DEBIAN-CVE-2021-27905
Debian:14lucene-solr3.6.2+dfsg-23DEBIAN-CVE-2021-27905
Mavenorg.apache.solr:solr-parent8.8.2GHSA-5phw-3jrp-3vj8
Ubuntu:22.04:LTSlucene-solrno fix listedUBUNTU-CVE-2021-27905
Ubuntu:24.04:LTSlucene-solrno fix listedUBUNTU-CVE-2021-27905
Ubuntu:25.10lucene-solrno fix listedUBUNTU-CVE-2021-27905
Ubuntu:26.04:LTSlucene-solrno fix listedUBUNTU-CVE-2021-27905
Ubuntu:26.10lucene-solrno fix listedUBUNTU-CVE-2021-27905

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache Solr Apache Solr – before 8.8.2

Weakness: CWE-918

References