CVE-2024-4321

Source
https://cve.org/CVERecord?id=CVE-2024-4321
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-4321.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-4321
Aliases
Published
2024-05-16T09:03:46.604Z
Modified
2026-07-15T01:49:04.694657047Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Local File Inclusion (LFI) in gaizhenbiao/chuanhuchatgpt
Details

A Local File Inclusion (LFI) vulnerability exists in the gaizhenbiao/chuanhuchatgpt application, specifically within the functionality for uploading chat history. The vulnerability arises due to improper input validation when handling file paths during the chat history upload process. An attacker can exploit this vulnerability by intercepting requests and manipulating the 'name' parameter to specify arbitrary file paths. This allows the attacker to read sensitive files on the server, leading to information leakage, including API keys and private information. The issue affects version 20240310 of the application.

Database specific
{
    "cwe_ids": [
        "CWE-20"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/4xxx/CVE-2024-4321.json",
    "cna_assigner": "@huntr_ai"
}
References

Affected packages

Git / github.com/gaizhenbiao/chuanhuchatgpt

Affected ranges

Type
GIT
Repo
https://github.com/gaizhenbiao/chuanhuchatgpt
Events
Database specific
{
    "cpe": "cpe:2.3:a:gaizhenbiao:chuanhuchatgpt:20240310:*:*:*:*:*:*:*",
    "source": "CPE_STRING",
    "extracted_events": [
        {
            "introduced": "20240310"
        },
        {
            "last_affected": "20240310"
        }
    ]
}

Affected versions

Other
20240310

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-4321.json"