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
First Time Gaizhenbiao
Gaizhenbiao chuanhuchatgpt
CPE cpe:2.3:a:gaizhenbiao:chuanhuchatgpt:20240310:*:*:*:*:*:*:*
CWE NVD-CWE-noinfo

21 Nov 2024, 09:42

Type Values Removed Values Added
Summary
  • (es) Existe una vulnerabilidad de inclusión de archivos locales (LFI) en la aplicación gaizhenbiao/chuanhuchatgpt, específicamente dentro de la funcionalidad para cargar el historial de chat. La vulnerabilidad surge debido a una validación de entrada incorrecta al manejar rutas de archivos durante el proceso de carga del historial de chat. Un atacante puede aprovechar esta vulnerabilidad interceptando solicitudes y manipulando el parámetro 'nombre' para especificar rutas de archivo arbitrarias. Esto permite al atacante leer archivos confidenciales en el servidor, lo que provoca una fuga de información, incluidas claves API e información privada. El problema afecta a la versión 20240310 de la aplicación.
References () https://huntr.com/bounties/19a16f8e-3d92-498f-abc9-8686005f067e - () https://huntr.com/bounties/19a16f8e-3d92-498f-abc9-8686005f067e -

16 May 2024, 09:15

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