InfraGuard

CVE-2024-52012

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

5.4 CVSS 3.1EPSS 47.1%

问题所在

由于输入清理不足,在 Windows 上运行的 Apache Solr 实例的 configset 上传 API 中存在相对路径穿越漏洞。攻击者可利用精心构造的 ZIP 文件利用此漏洞,将数据写入文件系统上的任意位置。

影响范围

此问题影响 6.6 至 9.7.0 版本的在 Windows 上运行的 Apache Solr 实例。

应对措施

升级至 Apache Solr 版本 9.8.0 以修复此问题。或者,使用 Solr 的基于规则的身份验证插件(Rule-Based Authentication Plugin)将对 configset 上传 API 的访问权限限制为受信任的管理员。

原始描述

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.

受影响的软件

详情

发布日期
2025-01-27
最后修改
2026-06-17
CVSS 向量
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
CWE
CWE-23
EPSS(30 天内被利用概率)
47.12% (百分位 99)

参考资料

在您自己的服务器上追踪这些版本

InfraGuard 从每台服务器收集已安装软件的版本,并标出存在已知漏洞的版本。自托管部署——数据不会离开您的网络。

每周已被利用漏洞摘要

每周一次,推送与自托管服务器相关的 KEV 新增条目。不发送其他邮件。

本产品使用 NVD API 的数据,但未获得 NVD 的认可或认证。CVE® 是 The MITRE Corporation 的注册商标;CVE 记录依据 CVE Program 使用条款使用。