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:15:16.327Z
Modified
2026-05-20T08:11:46.978128181Z
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
[none]
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.

References

Affected packages

Git / github.com/gaizhenbiao/chuanhuchatgpt

Affected ranges

Type
GIT
Repo
https://github.com/gaizhenbiao/chuanhuchatgpt
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "20240310"
        }
    ]
}

Affected versions

Other
20230303
20230305
20230317
20230320
20230323
20230327
20230330
20230409
20230413
20230417
20230422
20230427
20230502
20230507
20230513
20230526
20230601
20230614
20230619
20230628
20230709
20230719
20230728
20230809
20230820
20230830
20230911
20230916
20230926
20231006
20231020
20231110
20231215
20231223
20240121
20240305
20240310

Database specific

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