CVE-2024-2221CWE-434

Path Traversal and Arbitrary File Upload Vulnerability in qdrant/qdrant

Critical · published April 10, 2024

CVSS v3.0
9.8
EPSS
2%
Percentile
78.9
In the wild
Unconfirmed
What it is

🚨 An arbitrary file upload vulnerability lurks in qdrant that could let attackers overwrite any file on your server with just a sneaky request! 🔥 Think of it like a delivery service that accepts any package without checking the label — if someone slips in a package marked 'urgent repair', they could replace your entire system with a faulty part! An attacker could exploit this vulnerability to upload malicious files, potentially leading to remote code execution. This means they could manipulate your server's operations or even take complete control, wreaking absolute havoc on your system's integrity and availability.

Put simply

Think of it like a delivery service that accepts any package without checking the label — if someone slips in a package marked 'urgent repair', they could replace your entire system with a faulty part! The flaw exists in the `/collections/{COLLECTION}/snapshots/upload` endpoint, where the `snapshot` parameter allows for path traversal and arbitrary file uploads, enabling unauthorized file manipulations.

What to do

An attacker could exploit this vulnerability to upload malicious files, potentially leading to remote code execution. This means they could manipulate your server's operations or even take complete control, wreaking absolute havoc on your system's integrity and availability. Patch your qdrant installation to the latest version to close this critical vulnerability. Additionally, implement strict validation on the `snapshot` parameter to prohibit unauthorized file paths and uploads. You've got this! Follow these steps and you'll shore up your defenses in no time. 🛡️

The record
Technical detail
CVSS v3.0
9.8 · CRITICAL
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01845 · 78.9th percentile
Weakness
CWE-434 · Unrestricted Upload of File with Dangerous Type
Published
2024-04-10T17:07Z
EPSS history
Timeline
  • 10 APR 17:07Z
    Path Traversal and Arbitrary File Upload Vulnerability in qdrant/qdrant
    cvelistv5