CVE-2024-4321

Local File Inclusion (LFI) in gaizhenbiao/chuanhuchatgpt

State
Published
Severity
7.5 High
Published
May 16, 2024
Updated
Aug 1, 2024
Reserved
Apr 29, 2024

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.07.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N@huntr_ai

Weaknesses

  • CWE-20 Improper Input Validation

Affected Products

ProductVersions
gaizhenbiao/chuanhuchatgptgaizhenbiao
  • latest and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.