What’s Vulnerable › Vulnerabilities
CVE-2024-4321: Local File Inclusion (LFI) in gaizhenbiao/chuanhuchatgpt
- Severity: high (CVSS 7.5 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-05-16 · updated 2026-06-17
- Weakness: CWE-20
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
- gaizhenbiao/chuanhuchatgpt: 20240310
References
- https://huntr.com/bounties/19a16f8e-3d92-498f-abc9-8686005f067e
- https://huntr.com/bounties/19a16f8e-3d92-498f-abc9-8686005f067e
Get alerted when CVE-2024-4321 or the next vulnerability affects your stack