The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2021-27905

CVE-2021-27905: Apache Solr SSRF Vulnerability

CVE-2021-27905 is an SSRF flaw in Apache Solr's ReplicationHandler that allows attackers to exploit the masterUrl parameter. This article covers the technical details, affected versions, impact, and mitigation.

Published: February 25, 2026

CVE-2021-27905 Overview

CVE-2021-27905 is a critical Server-Side Request Forgery (SSRF) vulnerability affecting the ReplicationHandler component in Apache Solr. The ReplicationHandler, which is normally registered at the /replication endpoint under a Solr core, accepts a masterUrl parameter (also known as leaderUrl) that designates another ReplicationHandler on a remote Solr core to replicate index data from. Prior to the security fix, Solr failed to validate these parameters against its existing configuration safeguards—the same protections used for the shards parameter—allowing attackers to abuse this endpoint to make arbitrary server-side HTTP requests.

Critical Impact

This SSRF vulnerability allows unauthenticated remote attackers to leverage Apache Solr servers to make arbitrary HTTP requests to internal services, potentially exposing sensitive data, internal infrastructure, and enabling further attacks on backend systems.

Affected Products

  • Apache Solr versions prior to 8.8.2

Discovery Timeline

  • April 13, 2021 - CVE-2021-27905 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2021-27905

Vulnerability Analysis

The vulnerability exists within the ReplicationHandler component of Apache Solr, which handles data replication between Solr cores. The masterUrl (or leaderUrl) parameter allows specifying a remote Solr instance from which to replicate index data. The core issue is that Solr failed to implement proper validation and allowlist checking for these URL parameters before making outbound HTTP requests.

Apache Solr already had security mechanisms in place for the shards parameter to prevent SSRF attacks, but these same protections were not applied to the replication handler's URL parameters. This oversight meant that an attacker could craft malicious requests to the /replication endpoint, causing the Solr server to make HTTP requests to arbitrary internal or external destinations.

The SSRF vulnerability can be exploited to scan internal networks, access internal services that are not exposed to the internet, retrieve sensitive information from metadata endpoints (such as cloud provider instance metadata services), or potentially pivot to attack other internal systems.

Root Cause

The root cause of CVE-2021-27905 is improper input validation (CWE-918: Server-Side Request Forgery). The ReplicationHandler component accepted user-supplied URLs via the masterUrl and leaderUrl parameters without validating them against an allowlist or applying the same security controls used elsewhere in the codebase. This lack of consistent security controls across similar functionality allowed the SSRF condition to exist.

Attack Vector

An attacker can exploit this vulnerability by sending a crafted HTTP request to the Solr /replication endpoint with a malicious masterUrl parameter pointing to an internal service or arbitrary external resource. Since this is a network-based attack requiring no authentication and no user interaction, it can be exploited remotely by any attacker with network access to the Solr instance.

The attack flow typically involves:

  1. Identifying an exposed Apache Solr instance
  2. Crafting a request to the /replication endpoint with a malicious masterUrl parameter
  3. The Solr server makes an HTTP request to the attacker-specified URL
  4. Response data may be returned to the attacker or used to probe internal services

Since no code examples are available from verified sources, readers should consult the Apache Announcement Thread for technical details on the vulnerability mechanism.

Detection Methods for CVE-2021-27905

Indicators of Compromise

  • Unusual HTTP requests to the /replication endpoint containing masterUrl or leaderUrl parameters pointing to internal IP ranges (e.g., 10.x.x.x, 172.16.x.x, 192.168.x.x, 169.254.169.254)
  • Outbound HTTP connections from Solr servers to unexpected internal services or cloud metadata endpoints
  • Access logs showing replication requests from external sources with non-standard destination URLs
  • Network traffic from Solr instances to internal infrastructure that shouldn't be accessed via replication

Detection Strategies

  • Monitor Solr access logs for requests to /replication endpoints containing suspicious masterUrl or leaderUrl parameters
  • Implement network-level monitoring to detect outbound connections from Solr servers to internal services or cloud metadata endpoints (e.g., 169.254.169.254)
  • Deploy web application firewall (WAF) rules to inspect and block replication requests with non-allowlisted URLs
  • Use SentinelOne Singularity to monitor for anomalous network behavior from Solr processes

Monitoring Recommendations

  • Enable detailed access logging on all Apache Solr instances to capture full request parameters
  • Configure alerts for replication endpoint access from external IP addresses
  • Monitor egress traffic from Solr servers for connections to internal IP ranges or sensitive endpoints
  • Implement network segmentation monitoring to detect lateral movement attempts via SSRF

How to Mitigate CVE-2021-27905

Immediate Actions Required

  • Upgrade Apache Solr to version 8.8.2 or later immediately
  • Restrict network access to Solr instances, limiting exposure to only trusted clients
  • Implement network-level controls to prevent Solr servers from making arbitrary outbound HTTP requests
  • Review Solr access logs for evidence of exploitation attempts prior to patching

Patch Information

Apache has addressed this vulnerability in Solr version 8.8.2 by implementing proper validation for the masterUrl and leaderUrl parameters, applying the same allowlist-based controls that were already in use for the shards parameter. Organizations should upgrade to version 8.8.2 or later to remediate this vulnerability. For more details, refer to the Apache Announcement Thread and the NetApp Security Advisory.

Workarounds

  • Deploy a reverse proxy or web application firewall in front of Solr to filter requests containing masterUrl or leaderUrl parameters
  • Implement network segmentation to isolate Solr servers and limit their ability to reach internal services
  • Disable or restrict access to the /replication endpoint if replication functionality is not required
  • Use firewall rules to block outbound HTTP connections from Solr servers to internal IP ranges
bash
# Example: Block Solr from accessing internal networks via iptables
iptables -A OUTPUT -m owner --uid-owner solr -d 10.0.0.0/8 -j DROP
iptables -A OUTPUT -m owner --uid-owner solr -d 172.16.0.0/12 -j DROP
iptables -A OUTPUT -m owner --uid-owner solr -d 192.168.0.0/16 -j DROP
iptables -A OUTPUT -m owner --uid-owner solr -d 169.254.169.254 -j DROP

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSSRF

  • Vendor/TechApache Solr

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability93.90%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-918
  • Technical References
  • Solr User Discussion

  • Solr User Inquiry

  • Ofbiz Commit Notification

  • Ofbiz Commit Update

  • Ofbiz Commit Notice

  • Ofbiz Notification

  • Solr User Feedback

  • Ofbiz Notification

  • Ofbiz Notification Update

  • Ofbiz Notification Alert

  • NetApp Security Advisory
  • Vendor Resources
  • Apache Announcement Thread
  • Related CVEs
  • CVE-2026-22444: Apache Solr Information Disclosure Flaw

  • CVE-2026-22022: Apache Solr Auth Bypass Vulnerability

  • CVE-2024-45216: Apache Solr Auth Bypass Vulnerability

  • CVE-2024-52012: Apache Solr Path Traversal Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English