Unauthenticated file deletion via collector path traversal
Published Oct 30, 2023 · Updated Sep 6, 2024
Path traversal in AnythingLLM before 0.1.0 allows remote attackers to delete files outside the collector hot directory. The collector /process route passes the JSON filename to process_single without normalizing or constraining parent-directory segments. A crafted relative path can therefore target files reachable by the collector process, causing data loss or service interruption without authentication or user interaction.
Summary
What happened
Path traversal in AnythingLLM before 0.1.0 allows remote attackers to delete files outside the collector hot directory. The collector /process route passes the JSON filename to process_single without normalizing or constraining parent-directory segments. A crafted relative path can therefore target files reachable by the collector process, causing data loss or service interruption without authentication or user interaction.
The record
- CVE
- CVE-2023-5832
- Published
- Oct 30, 2023
- Updated
- Sep 6, 2024
- Vendor
- Mintplex Labs
- Product
- AnythingLLM
- Classifications
- CWE-20, T1485
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Oct 30, 2023CVE publishedPublication date reported by the CVE source.
- Sep 6, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <0.1.0
- Affected versionversion=unspecified <0.1.0
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- Huntr AnythingLLM collector path-traversal reportproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo