CVEvulnerability
CVE-2024-4321
7.5 HIGH
Official page ↗
- Status
- Analyzed
- Published
- 2024-05-16
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 7.5 HIGH — CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- 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 configurations
• gaizhenbiao chuanhuchatgpt 20240310
Related
Weakness · CWE (1)
- CWE-20 Improper Input Validation weakness
References
- https://huntr.com/bounties/19a16f8e-3d92-498f-abc9-8686005f067e Exploit, Third Party Advisory
- https://huntr.com/bounties/19a16f8e-3d92-498f-abc9-8686005f067e Exploit, Third Party Advisory