CVE-2024-10831

CRITICALCVSS 9.1/10EPSS 0.77%

Last modified

CVE-2024-10831 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. In eosphoros-ai/db-gpt version 0.6.0, the endpoint for uploading files is vulnerable to absolute path traversal. This vulnerability allows an attacker to upload arbitrary files to arbitrary locations on the target server. EPSS estimates a 0.77% chance of exploitation in the next 30 days.

Description

In eosphoros-ai/db-gpt version 0.6.0, the endpoint for uploading files is vulnerable to absolute path traversal. This vulnerability allows an attacker to upload arbitrary files to arbitrary locations on the target server. The issue arises because the `file_key` and `doc_file.filename` parameters are user-controllable, enabling the construction of paths outside the intended directory. This can lead to overwriting essential system files, such as SSH keys, for further exploitation.

Metrics

CVSS 3.0
9.1/10

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

EPSS Probability
0.77%

50.9th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
DbgptDb-Gpt0.6.0

References

Timeline

Published
Last Modified
Status
Analyzed

Frequently Asked Questions

What is CVE-2024-10831?
In eosphoros-ai/db-gpt version 0.6.0, the endpoint for uploading files is vulnerable to absolute path traversal. This vulnerability allows an attacker to upload arbitrary files to arbitrary locations on the target server. The issue arises because the `file_key` and `doc_file.filename` parameters are user-controllable, enabling the construction of paths outside the intended directory. This can lead to overwriting essential system files, such as SSH keys, for further exploitation.
How severe is CVE-2024-10831?
CVE-2024-10831 has a CVSS score of 9.1/10 (CRITICAL severity). The EPSS model estimates a 0.77% probability of exploitation in the next 30 days.
How do I fix CVE-2024-10831?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2024-10831?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST