CVE-2024-52012
Apache Solr Relative Path Traversal vulnerability
Overview
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.
Source: OX vulnerability database
Severity
5.4 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Weakness: CWE-23
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | solr | >=6.6.0, <9.8.0 | 9.8.0 |
| Maven | org.apache.solr:solr-core | >=6.6, <9.8.0 | 9.8.0 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- www.openwall.com http://www.openwall.com/lists/oss-security/2025/01/26/2
- github.com https://github.com/apache/solr
- github.com https://github.com/apache/solr/commit/5795edd143b8fcb2ffaf7f278a099b8678adf396
- issues.apache.org https://issues.apache.org/jira/browse/SOLR-17543
- lists.apache.org https://lists.apache.org/thread/yp39pgbv4vf1746pf5yblz84lv30vfxd
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2024-52012
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.