Skip to main content
EPSS 45.0%top 1.2%

Apache Solr: Configset upload on Windows allows arbitrary path write-access (CVE-2024-52012)

0
Medium
Published: 01/29/2025 (01/29/2025, 07:20:30 UTC)
Source: GCVE Database
Product: solr

Description

Apache Solr versions from 6.6.0 up to but not including 9.8.0 running on Windows are vulnerable to a relative path traversal issue in the configset upload API. This vulnerability allows attackers to write files to arbitrary locations on the filesystem by leveraging maliciously crafted ZIP files containing relative file paths. The issue is fixed in version 9.8.0. Users unable to upgrade can mitigate the risk by restricting access to the configset upload API using Solr's Rule-Based Authentication Plugin to trusted administrators only.

Affected software

Bitnamimore threats →ghsa
solr
pkg:bitnami/solr
Affected versions
>=6.6.0 <9.8.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/08/2026, 13:17:47 UTC

Technical Analysis

A relative path traversal vulnerability (CVE-2024-52012) exists in Apache Solr's configset upload API on Windows platforms. Due to insufficient input sanitization, specially crafted ZIP files can exploit this 'zipslip' flaw to write files outside the intended directory, potentially leading to arbitrary file write on the host filesystem. This affects Solr versions >=6.6.0 and <9.8.0. The issue is resolved in version 9.8.0. As an alternative mitigation, access to the vulnerable API can be restricted to trusted users via Solr's Rule-Based Authentication Plugin.

Potential Impact

Successful exploitation allows an attacker with access to the configset upload API to write files to arbitrary locations on the filesystem of a Windows host running Apache Solr. This could lead to unauthorized file modification or code execution depending on the files written and the environment. However, no known exploits in the wild have been reported.

Mitigation Recommendations

Upgrade Apache Solr to version 9.8.0 or later, which contains the official fix for this vulnerability. If upgrading is not immediately possible, restrict access to the configset upload API using Solr's Rule-Based Authentication Plugin to allow only trusted administrators or users to perform uploads, effectively preventing unauthorized exploitation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
BIT-solr-2024-52012
Osv Schema Version
1.5.0
Aliases
["CVE-2024-52012"]
Ecosystems
["Bitnami"]
Database Specific Severity
Medium

Threat ID: 6aa005c3acd9273b49ab5bf0

Added to database: 09/08/2026, 12:55:31 UTC

Last enriched: 09/08/2026, 13:17:47 UTC

Last updated: 10/22/2026, 01:15:16 UTC

Views: 50

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses