CVE-2021-27905CWE-918

SSRF vulnerability with the Replication handler

published April 13, 2021

Patch now

High probability of exploitation

NVD has not assigned a CVSS score to this record. It sits in the 99.8th percentile for exploit probability.

CVSS
—
EPSS
93%
Percentile
99.8
In the wild
Unconfirmed
What it is

⚠️ A misconfigured "masterUrl" could open the door to some sneaky Server-Side Request Forgery (SSRF) exploits in Apache Solr! Think of the ReplicationHandler as a delivery service that fetches packages from another core. If it’s not checking the sender's address, it might take in a suspicious package — something that could contain nasty surprises. An attacker could trick Solr into fetching data from an unauthorized external source, potentially exposing sensitive information or even allowing for additional attacks. This could lead to a significant breach in security, compromising the integrity of your Solr instance.

Put simply

Think of the ReplicationHandler as a delivery service that fetches packages from another core. If it’s not checking the sender's address, it might take in a suspicious package — something that could contain nasty surprises. The vulnerability arises from the lack of validation on the "masterUrl" (or "leaderUrl") parameter used by Solr's ReplicationHandler, allowing SSRF attacks by not checking it against defined shard configurations.

What to do

An attacker could trick Solr into fetching data from an unauthorized external source, potentially exposing sensitive information or even allowing for additional attacks. This could lead to a significant breach in security, compromising the integrity of your Solr instance. Update your Solr instance to version 8.8.2 or later to patch this vulnerability. Ensure that your configurations are set properly and consider reviewing your access controls to mitigate further risks. You've got this! By following these steps, you'll bolster your defenses and keep that Solr instance safe and sound! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.93053 · 99.8th percentile
Weakness
CWE-918 · Server-Side Request Forgery (SSRF)
Published
2021-04-13T06:35Z
EPSS history
Timeline
  • 13 APR 06:35Z
    SSRF vulnerability with the Replication handler
    cvelistv5