CVE-2024-52012

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

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.

Category

5.4
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.16%
Vendor Advisory apache.org
Affected: Apache Software Foundation Apache Solr
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-52012?
CVE-2024-52012 has been scored as a medium severity vulnerability.
How to fix CVE-2024-52012?
To fix CVE-2024-52012, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2024-52012 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2024-52012 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-52012?
CVE-2024-52012 affects Apache Software Foundation Apache Solr.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.