Skip to content
Path traversal Disclosed report Intermediate CVE-2024-3829

qdrant input validation failure

Qdrant's snapshot recovery process did not validate symlinks inside snapshot archives, so a crafted snapshot could read or write arbitrary files on the server. This could lead to full system takeover.

qdrant/qdrant

Originally disclosed on huntr

Critical View original

qdrant/qdrant version 1.9.0-dev is vulnerable to arbitrary file read and write during the snapshot recovery process. Attackers can exploit this vulnerability by manipulating snapshot files to include symlinks, leading to arbitrary file read by adding a symlink that points to a desired file on the filesystem and arbitrary file write by including a symlink and a payload file in the snapshot's directory structure. This vulnerability allows for the reading and writing of arbitrary files on the server, which could potentially lead to a full takeover of the system. The issue is fixed in version v1.9.0.

From the GitHub Advisory Database (GHSA-7m75-x27w-r52r, CC BY 4.0).

The original report as published on the GitHub Advisory Database. Images and videos are our own copies; raw HTML is shown as text. View it on GitHub Advisory Database.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the snapshot extraction and recovery logic did not reject symlinks or validate their targets before reading or writing files.

Impact

An attacker could read and write arbitrary files on the server, which could potentially lead to a full takeover of the system.

What the attacker needed

Ability to supply a crafted snapshot

The fix

The issue was fixed in version v1.9.0.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A snapshot is a backup file that a server restores. The server trusted everything inside that backup, including special links that point to other files on the machine. An attacker could make a backup containing such a link and a payload, causing the server to read or overwrite files it should not touch.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

More from qdrant/qdrant

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.