Vulnerability · Published Jul 31, 2024 · Assigned by @huntr_ai

CVE-2024-6255Path Traversal in gaizhenbiao/chuanhuchatgpt

High 8.2

In plain English

A high-severity path traversal in gaizhenbiao/chuanhuchatgpt from gaizhenbiao. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 13.7% (higher than 97% of all known vulnerabilities).

Severity (CVSS 3.1)8.2High
Exploit odds (30 days)13.7%top 3.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

A vulnerability in the JSON file handling of gaizhenbiao/chuanhuchatgpt version 20240410 allows any user to delete any JSON file on the server, including critical configuration files such as `config.json` and `ds_config_chatbot.json`. This issue arises due to improper validation of file paths, enabling directory traversal attacks. An attacker can exploit this vulnerability to disrupt the functioning of the system, manipulate settings, or potentially cause data loss or corruption.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIchuanhuchatgptno fix listedPYSEC-2024-73

Affected products (as reported)

VendorProductVersions
gaizhenbiao gaizhenbiao/chuanhuchatgpt unspecified – through latest

Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

References