CVE-2024-52787

An issue in the upload_documents method of libre-chat v0.0.6 allows attackers to execute a path traversal via supplying a crafted filename in an uploaded file

Critical · published November 25, 2024

CVSS v3.1
9.1
EPSS
1%
Percentile
55.2
In the wild
Unconfirmed
What it is

🚨 A crafty filename can turn an innocent file upload into a devastating path traversal exploit! Think of it like a delivery person following a faulty address and accidentally dropping a package into the wrong house — an attacker could easily access files they shouldn’t touch! 📦 With this vulnerability, an attacker could manipulate the upload process to gain access to sensitive files on the server, potentially exposing private data or even executing malicious scripts. Imagine the chaos of unauthorized access leading to data breaches or system compromises! 🔥

Put simply

Think of it like a delivery person following a faulty address and accidentally dropping a package into the wrong house — an attacker could easily access files they shouldn’t touch! 📦 This path traversal vulnerability in the upload_documents method of libre-chat v0.0.6 allows attackers to bypass directory restrictions by providing crafted filenames, enabling unauthorized file access.

What to do

With this vulnerability, an attacker could manipulate the upload process to gain access to sensitive files on the server, potentially exposing private data or even executing malicious scripts. Imagine the chaos of unauthorized access leading to data breaches or system compromises! 🔥 To protect yourself, update libre-chat to at least version 0.0.7 and implement strict validation for uploaded filenames to prevent traversal attacks. Regularly audit your file upload processes to ensure no vulnerabilities remain! 🛡️ You've got this! With these fixes, you'll be securing your environment in no time! 🚀

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00773 · 55.2th percentile
Published
2024-11-25T00:00Z
EPSS history
Timeline
  • 25 NOV 00:00Z
    An issue in the upload_documents method of libre-chat v0.0.6 allows attackers to execute a path traversal via supplying a crafted filename in an uploaded file
    cvelistv5