Skip to content
OpenAdvisories
High · 7.5 CVE-2024-4321 EUVD-2024-43964GHSA-55c5-qvfc-69mhPYSEC-2024-267

Local File Inclusion (LFI) in gaizhenbiao/chuanhuchatgpt

Published May 16, 2024 · Updated Aug 1, 2024 · Assigned by @huntr_ai

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.

Affected products

VendorProductAffectedFixed
gaizhenbiao gaizhenbiao/chuanhuchatgpt unspecified – ≤ latest —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI chuanhuchatgpt <= 20240310 — PYSEC-2024-267

References