InfraGuard

CVE-2024-52012

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

5.4 CVSS 3.1EPSS 47.1%

What is wrong

Apache Solr instances running on Windows contain a relative path traversal vulnerability in the configset upload API due to insufficient input sanitation. An attacker can exploit this using maliciously constructed ZIP files to write data to arbitrary locations on the filesystem.

Who is affected

This issue affects Apache Solr instances running on Windows from version 6.6 through 9.7.0.

What to do

Upgrade to Apache Solr version 9.8.0 to fix the issue. Alternatively, restrict access to the configset upload API to trusted administrators using Solr's Rule-Based Authentication Plugin.

Original 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.

Affected software

Details

Published
2025-01-27
Last modified
2026-06-17
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
CWE
CWE-23
EPSS (30-day exploit probability)
47.12% (percentile 99)

References

Track these versions on your own servers

InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.

Weekly exploited-vulnerability digest

The KEV additions that matter for self-hosted servers, once a week. No other mail.

This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.