CVE-2024-4321

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
Configurations

Configuration 1 (hide)

cpe:2.3:a:gaizhenbiao:chuanhuchatgpt:20240310:*:*:*:*:*:*:*

History

10 Jul 2025, 16:21

Type Values Removed Values Added
References () https://huntr.com/bounties/19a16f8e-3d92-498f-abc9-8686005f067e - () https://huntr.com/bounties/19a16f8e-3d92-498f-abc9-8686005f067e - Exploit, Third Party Advisory
CWE NVD-CWE-noinfo
First Time Gaizhenbiao chuanhuchatgpt
Gaizhenbiao
CPE cpe:2.3:a:gaizhenbiao:chuanhuchatgpt:20240310:*:*:*:*:*:*:*

21 Nov 2024, 09:42

Type Values Removed Values Added
References () https://huntr.com/bounties/19a16f8e-3d92-498f-abc9-8686005f067e - () https://huntr.com/bounties/19a16f8e-3d92-498f-abc9-8686005f067e -

16 May 2024, 13:03

Type Values Removed Values Added
New CVE

Information

Published : 2024-05-16 09:15

Updated : 2025-07-10 16:21


NVD link : CVE-2024-4321

Mitre link : CVE-2024-4321

CVE.ORG link : CVE-2024-4321


JSON object : View

Products Affected

gaizhenbiao

  • chuanhuchatgpt
CWE
CWE-20

Improper Input Validation

NVD-CWE-noinfo