CVE-2024-52012

Apache Solr: Configset upload on Windows allows arbitrary path write-access

Published Jan 27, 2025 CVSS 3.1 · 5.4 Medium EPSS 47.1% KEV · Not listed
Description
Relative Path Traversal vulnerability in Apache Solr.

Solr instances running on Windows are vulnerable to arbitrary filepath write-access, due to a lack of input-sanitation in the "configset upload" API.  Commonly known as a "zipslip", maliciously constructed ZIP files can use relative filepaths to write data to unanticipated parts of the filesystem.  
This issue affects Apache Solr: from 6.6 through 9.7.0.

Users are recommended to upgrade to version 9.8.0, which fixes the issue.  Users unable to upgrade may also safely prevent the issue by using Solr's "Rule-Based Authentication Plugin" to restrict access to the configset upload API, so that it can only be accessed by a trusted set of administrators/users.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-4p5m-gvpf-f3x5 Apache Solr Relative Path Traversal vulnerability
History
Type Values Removed Values Added
Metrics epss

{'score': 0.01116}

epss

{'score': 0.00849}

Type Values Removed Values Added
First Time appeared Apache
Apache solr
CPEs cpe:2.3:a:apache:solr:*:*:*:*:*:*:*:*
Vendors & Products Apache
Apache solr
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Relative Path Traversal vulnerability in Apache Solr. Solr instances running on Windows are vulnerable to arbitrary filepath write-access, due to a lack of input-sanitation in the "configset upload" API.  Commonly known as a "zipslip", maliciously constructed ZIP files can use relative filepaths to write data to unanticipated parts of the filesystem.   This issue affects Apache Solr: from 6.6 through 9.7.0. Users are recommended to upgrade to version 9.8.0, which fixes the issue.  Users unable to upgrade may also safely prevent the issue by using Solr's "Rule-Based Authentication Plugin" to restrict access to the configset upload API, so that it can only be accessed by a trusted set of administrators/users.
Title Apache Solr: Configset upload on Windows allows arbitrary path write-access
Weaknesses CWE-23
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Feb 6, 2025, 4:11 PM
Reserved
Nov 4, 2024, 7:07 PM
Status
Analyzed
Published
Jan 27, 2025, 9:15 AM
Modified
Jun 17, 2026, 8:06 AM