CVE-2024-52012
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedRelative 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceRelative path traversal (zipslip) vulnerability in Apache Solr's configset upload API on Windows allows attackers to write arbitrary files to the filesystem by crafting ZIP archives with relative path entries (e.g., ../../../etc/passwd). The API lacks input sanitization to validate extracted file paths.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 6.6.0, < 9.8.0CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- 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
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check Apache Solr versionRun 'bin/solr version' or inspect the solr-[version].jar file in the Solr installation directory, or query the Solr API at /solr/admin/info/systemAffected if The installed version is >= 6.6.0 and < 9.8.0
-
Verify operating systemRun 'uname -a' on Linux or check System Properties on Windows to confirm the OSAffected if The Solr instance is running on Windows (this vulnerability only affects Windows installations)
-
Confirm configset upload API accessibilityCheck if the /solr/admin/configs endpoint is exposed without authentication or accessible to untrusted users by reviewing security.json or solr.in.sh configuration, or attempt a locally authorized curl request to POST to /solr/admin/configs/uploadAffected if The configset upload API is accessible without proper authentication or to untrusted users
You are affected if running Apache Solr 6.6.0 to 9.7.x on Windows with the configset upload API accessible to untrusted or unauthenticated users.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped9.8.0
Upgrade to Apache Solr 9.8.0 which includes the fix, or alternatively implement the Rule-Based Authentication Plugin to restrict configset upload API access to trusted administrators only.
9.8.0
- 1. Back up your existing Solr data, configuration, and ZooKeeper state (if using SolrCloud mode)
- 2. Download Apache Solr 9.8.0 from the official Apache repository (https://solr.apache.org/downloads.html)
- 3. Stop the currently running Solr service or process
- 4. If using SolrCloud, back up the ZooKeeper configset znodes using zkCli.sh or equivalent
- 5. Install Solr 9.8.0 following the standard installation process for your deployment mode (standalone or SolrCloud)
- 6. Restore your configuration and data from the backup
- 7. Start the Solr service
- 8. Verify that the configset upload API functions correctly with legitimate configurations
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing6.0 h
- Review / QA3.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,888.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2024-52012 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2024-52012 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data