Apache Solr: Configset upload on Windows allows arbitrary path write-access
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Solr | 6.6 – 9.7.0 | — | No fix listed | CNA |
| — | org.apache.solr:solr-core (Maven) | 6.6 to before 9.8.0 | 9.8.0 | Patch available | GHSA-4p5m-gvpf-f3x5 |
- Apache Solr VendorApache Affected 6.6 – 9.7.0 Fixed in — No fix listed CNA
- org.apache.solr:solr-core (Maven) Vendor— Affected 6.6 to before 9.8.0 Fixed in 9.8.0 Patch available GHSA-4p5m-gvpf-f3x5
Remediation
- Fix · GHSA-4p5m-gvpf-f3x5 org.apache.solr:solr-core (Maven) Fixed in 9.8.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-52012
- 2026-10-03 Alias added: GHSA-4p5m-gvpf-f3x5
References
Advisory 3
More Apache Solr vulnerabilities
- TI-2024-30303 Apache Solr: Authentication bypass possible using a fake URL Path ending CVSS 3.1CRITICAL 9.8
- TI-2019-13101 Injection in Apache Solr KEVCVSS 3.1HIGH 7.5
- TI-2019-00170 Code injection in Apache Solr KEVCVSS 3.1HIGH 7.2
- TI-2023-23979 The HTTP/2 protocol allows a denial of service (server resource consumption) because… KEVCVSS 3.1HIGH 7.5
- TI-2021-09240 SSRF vulnerability with the Replication handler CVSS 3.1CRITICAL 9.8
- TI-2017-09354 XML external entity injection in Apache Solr before 7.1 with Apache Lucene before 7.1 CVSS 3.1CRITICAL 9.8
Sources
- CVE-2024-52012 · CVE Program
- CVE-2024-52012 · NVD
- FIRST EPSS
- GHSA-4p5m-gvpf-f3x5 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences