CVE-2024-10833CWE-36

Arbitrary File Write in eosphoros-ai/db-gpt

Critical · published March 20, 2025

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

🔥 An absolute path traversal vulnerability lurks in eosphoros-ai/db-gpt version 0.6.0 — allowing attackers to write files anywhere they want on the server! Think of it like a delivery service following an incorrect address — if the driver trusts the wrong instructions, they might end up dropping packages in the wrong location, like a prized statue in a stranger's living room! The consequences could be absolutely devastating! An attacker could overwrite critical system files, leading to system corruption, data theft, or even full control over the server. Picture a hacker leaving a ‘welcome mat’ for themselves, where your important data lies unprotected!

Put simply

Think of it like a delivery service following an incorrect address — if the driver trusts the wrong instructions, they might end up dropping packages in the wrong location, like a prized statue in a stranger's living room! This vulnerability allows attackers to exploit the 'doc_file.filename' parameter in the knowledge API, enabling them to construct arbitrary file paths and write files to any location on the server.

What to do

The consequences could be absolutely devastating! An attacker could overwrite critical system files, leading to system corruption, data theft, or even full control over the server. Picture a hacker leaving a ‘welcome mat’ for themselves, where your important data lies unprotected! Patch your systems immediately to version 0.6.1 or later. Additionally, implement input validation to sanitize the 'doc_file.filename' parameter, preventing users from steering file paths. Don't forget to conduct a thorough review of all file upload mechanisms! You've got this! Follow the steps and lock it down before any unwelcome packages arrive. 🛡️

The record
Technical detail
CVSS v3.0
9.1 · CRITICAL
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00839 · 57.4th percentile
Weakness
CWE-36 · Absolute Path Traversal
Published
2025-03-20T10:10Z
EPSS history
Timeline
  • 20 MAR 10:10Z
    Arbitrary File Write in eosphoros-ai/db-gpt
    cvelistv5