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
    • 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-2024-52012

CVE-2024-52012: Apache Solr Path Traversal Vulnerability

CVE-2024-52012 is a path traversal vulnerability in Apache Solr affecting Windows systems that allows arbitrary file writes via the configset upload API. This post explains its impact, affected versions, and mitigation steps.

Updated: January 22, 2026

CVE-2024-52012 Overview

CVE-2024-52012 is a Relative Path Traversal vulnerability affecting Apache Solr installations running on Windows systems. The vulnerability exists in the "configset upload" API, which fails to properly sanitize input when processing ZIP file uploads. This flaw enables attackers to craft malicious ZIP files containing relative file paths that can write data to arbitrary locations on the filesystem—a technique commonly known as "zipslip."

The vulnerability allows authenticated attackers with access to the configset upload API to potentially overwrite critical system files or plant malicious content in sensitive directories, which could lead to further compromise of the affected system.

Critical Impact

Authenticated attackers can exploit this zipslip vulnerability to write arbitrary files to unintended locations on Windows-based Solr servers, potentially leading to system compromise or data manipulation.

Affected Products

  • Apache Solr versions 6.6 through 9.7.0
  • Windows-based Solr deployments are specifically vulnerable
  • Solr instances with unrestricted access to the configset upload API

Discovery Timeline

  • 2025-01-27 - CVE CVE-2024-52012 published to NVD
  • 2025-06-27 - Last updated in NVD database

Technical Details for CVE-2024-52012

Vulnerability Analysis

This vulnerability is classified as CWE-23 (Relative Path Traversal) and specifically affects the configset upload functionality in Apache Solr. The core issue stems from insufficient validation of file paths contained within uploaded ZIP archives. When a ZIP file is processed, the extraction routine does not adequately sanitize the file paths, allowing entries with relative path components (such as ../) to escape the intended extraction directory.

The attack requires network access and authenticated privileges to the configset upload API. On successful exploitation, an attacker can write files with arbitrary content to locations outside the designated Solr configuration directories. This can result in confidentiality and integrity impacts, though availability is not directly affected.

Root Cause

The root cause is improper input validation in Apache Solr's ZIP file extraction logic within the configset upload API. When processing uploaded configuration sets, the code fails to normalize and validate file paths extracted from the ZIP archive before writing them to disk. Specifically, the implementation does not strip or reject directory traversal sequences (e.g., ../ or ..\ on Windows), allowing malicious ZIP entries to reference paths outside the intended target directory.

Attack Vector

The attack is conducted over the network and targets the configset upload API endpoint. An attacker must have authenticated access to this API, which is typically available to administrators or users with elevated privileges. The attack flow involves:

  1. Crafting a malicious ZIP file containing entries with relative path traversal sequences
  2. Uploading this ZIP file through the configset upload API
  3. Upon extraction, files are written to arbitrary filesystem locations dictated by the malicious paths

The vulnerability mechanism involves creating ZIP archive entries with filenames like ../../sensitive/path/malicious.file. When extracted without proper path validation, the file is written outside the expected configuration directory, potentially overwriting system files or planting malicious content.

For technical details on this zipslip attack pattern, see the Apache Mailing List Thread and the OpenWall OSS Security Update.

Detection Methods for CVE-2024-52012

Indicators of Compromise

  • Unexpected files appearing in directories outside of Solr's configuration paths, particularly system directories
  • Unusual configset upload requests in Solr access logs, especially containing suspicious archive filenames
  • File modification timestamps on critical system files that do not align with expected administrative activities
  • Evidence of ZIP file uploads containing entries with ../ or ..\ path components

Detection Strategies

  • Monitor Solr access logs for requests to the /solr/admin/configs or configset upload endpoints, especially from unexpected sources
  • Implement file integrity monitoring (FIM) on critical system directories to detect unauthorized file modifications
  • Deploy network traffic analysis to identify suspicious ZIP file uploads to Solr instances
  • Configure SIEM rules to alert on configset upload activities from non-administrative IP addresses or accounts

Monitoring Recommendations

  • Enable detailed audit logging for all administrative API calls in Apache Solr
  • Establish baseline behavior for configset uploads and alert on deviations such as unusual upload frequency or size
  • Monitor filesystem changes in directories outside Solr's expected configuration paths on Windows servers
  • Review and correlate authentication logs with configset upload activities to identify potential abuse

How to Mitigate CVE-2024-52012

Immediate Actions Required

  • Upgrade Apache Solr to version 9.8.0 or later, which contains the fix for this vulnerability
  • If immediate upgrade is not possible, implement Solr's "Rule-Based Authentication Plugin" to restrict configset upload API access to trusted administrators only
  • Audit existing access controls to ensure the configset upload API is not publicly accessible
  • Review recent configset upload logs for any suspicious activity that may indicate exploitation attempts

Patch Information

Apache has released version 9.8.0 which addresses this path traversal vulnerability. Users running affected versions (6.6 through 9.7.0) should upgrade as soon as possible. The official advisory is available on the Apache Mailing List Thread.

Workarounds

  • Configure Solr's Rule-Based Authentication Plugin to restrict the configset upload API to a trusted set of administrators
  • Implement network-level access controls (firewall rules, network segmentation) to limit access to Solr administrative endpoints
  • Consider deploying a Web Application Firewall (WAF) with rules to inspect and block ZIP uploads containing path traversal sequences
  • Run Solr on Linux where this specific vulnerability does not apply, if Windows deployment is not required
bash
# Example: Restricting access using Rule-Based Authentication Plugin
# Add to security.json to limit configset upload access

# Create or update security.json with authorization rules
curl -X POST -H 'Content-type:application/json' --data-binary '{
  "set-permission": {
    "name": "config-edit",
    "role": "admin",
    "path": "/admin/configs/*"
  }
}' http://localhost:8983/solr/admin/authorization

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechApache Solr

  • SeverityMEDIUM

  • CVSS Score5.4

  • EPSS Probability2.98%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-23
  • Technical References
  • OpenWall OSS Security Update
  • Vendor Resources
  • Apache Mailing List 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-2025-24814: Apache Solr Privilege Escalation Flaw
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