Vulnerability record · CVE-2024-52012 · published 27 January 2025
CVE-2024-52012: Apache Solr configset upload path traversal on Windows
Apache · Solr
Apache Solr on Windows fails to sanitize filepaths in the configset upload API, allowing a crafted ZIP to write files outside the intended directory (zip-slip). It affects Solr 6.6 through 9.7.0 and matters because arbitrary filesystem writes on a server can corrupt or replace files the process can reach.
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.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Automated analysis
medium priorityCVSS rates it medium (5.4) and exploitation requires authenticated API access, but the high EPSS and arbitrary file write potential raise concern for exposed Windows Solr deployments.
What it is
Apache Solr on Windows fails to sanitize filepaths in the configset upload API, allowing a crafted ZIP to write files outside the intended directory (zip-slip). It affects Solr 6.6 through 9.7.0 and matters because arbitrary filesystem writes on a server can corrupt or replace files the process can reach.
Impact
An attacker with access to the configset upload API can write arbitrary files to locations of their choosing on the Windows host, limited only by the Solr process permissions. This can lead to configuration tampering or code execution depending on what files are overwritten.
Attack surface
Reached over the network through the Solr configset upload API, which requires authentication (PR:L) and no user interaction. Only Windows-hosted Solr instances are affected per the advisory.
Exploitation
Not listed in CISA KEV and no public exploit references are tagged in the record, but EPSS is high at roughly 0.45 (98.7th percentile), indicating elevated likelihood of attempted exploitation.
What to do
- Upgrade Apache Solr to 9.8.0 or later, which fixes the issue.
- If upgrade is not possible, use Solr's Rule-Based Authentication Plugin to restrict the configset upload API to a trusted set of administrators.
- Restrict network access to the Solr API to trusted hosts only.
- Run Solr with least-privilege service account permissions to limit filesystem write impact.
- Audit and validate any uploaded configsets before they are applied.
Detection
- Monitor Solr logs for configset upload API calls, especially from unexpected or non-admin users.
- Alert on file creation or modification events outside Solr's expected configset directories on Windows hosts.
- Inspect uploaded ZIP archives for entries containing relative path sequences such as ../ or ..\.
- Track Solr version inventory to identify instances below 9.8.0 running on Windows.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://lists.apache.org/thread/yp39pgbv4vf1746pf5yblz84lv30vfxd | Mailing ListVendor Advisory |
| http://www.openwall.com/lists/oss-security/2025/01/26/2 | Mailing ListThird Party Advisory |
Track CVE-2024-52012 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2024-52012), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.