PT-2021-17659 · Apache · Apache Solr

Weinull Orz

·

Published

2021-04-13

·

Updated

2026-01-09

·

CVE-2021-27905

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions: Apache Solr versions prior to 8.8.2
Description: The ReplicationHandler in Apache Solr, normally registered at "/replication" under a Solr core, has a masterUrl (also leaderUrl alias) parameter used to designate another ReplicationHandler on another Solr core to replicate index data into the local core. To prevent a Server-Side Request Forgery (SSRF) issue, Solr should check these parameters against a similar configuration it uses for the shards parameter. Prior to the fix, this check was not performed.
Recommendations: For Apache Solr versions prior to 8.8.2, update to version 8.8.2 or later to resolve the issue. As a temporary workaround, consider restricting access to the /replication endpoint to minimize the risk of exploitation. Additionally, restrict the use of the masterUrl and leaderUrl parameters until the issue is resolved.

Exploit

Fix

SSRF

Weakness Enumeration

Related Identifiers

BIT-SOLR-2021-27905
CVE-2021-27905
GHSA-5PHW-3JRP-3VJ8

Affected Products

Apache Solr