CVE-2024-10831CWE-36

Arbitrary File Write through Absolute Path Traversal 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 flaw lurks in eosphoros-ai/db-gpt version 0.6.0, allowing attackers to upload arbitrary files anywhere on the server! 🔥 Think of this like a restaurant employee who can not only enter the kitchen but also grab ingredients from any locked pantry in the building, completely bypassing the chef's control. One wrong move could mean tossing out the entire menu! An attacker could overwrite critical system files, including SSH keys, potentially leading to total server takeovers and catastrophic data breaches. Imagine someone not only stealing the recipe but also locking the chef out of the kitchen — chaos would ensue!

Put simply

Think of this like a restaurant employee who can not only enter the kitchen but also grab ingredients from any locked pantry in the building, completely bypassing the chef's control. One wrong move could mean tossing out the entire menu! This vulnerability arises from user-controllable parameters that allow attackers to construct file paths that escape the intended directory, enabling file uploads to arbitrary locations on the server.

What to do

An attacker could overwrite critical system files, including SSH keys, potentially leading to total server takeovers and catastrophic data breaches. Imagine someone not only stealing the recipe but also locking the chef out of the kitchen — chaos would ensue! Update to db-gpt version 0.6.1 immediately to mitigate this risk. Additionally, implement strict server-side validations on file paths and restrict the allowable file upload locations to prevent future exploits. You've got this! By following these steps, you can secure your server and become a security hero! 🛡️

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:09Z
EPSS history
Timeline
  • 20 MAR 10:09Z
    Arbitrary File Write through Absolute Path Traversal in eosphoros-ai/db-gpt
    cvelistv5