CVE-2024-4321 Local File Inclusion (LFI) in gaizhenbiao/chuanhuchatgpt
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
4 packages: 2 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| chuanhuchatgpt project chuanhuchatgpt | All versions | No fix listed | No fix yet |
| gaizhenbiao/chuanhuchatgpt | <= latest | after latest | Fixed |
| pypi chuanhuchatgpt(PyPI) | <= 20240310; = 3.2.5 | after 20240310 | Fixed |
| GaiZhenbiao ChuanhuChatGPT | = 20240310 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi chuanhuchatgpt(PyPI) | <= 20240310 | No fix listed |
| pypi chuanhuchatgpt(PyPI) | = 3.2.5 | No fix listed |
| gaizhenbiao/chuanhuchatgpt | <= latest | No fix listed |
| chuanhuchatgpt project chuanhuchatgpt | All versions | No fix listed |
| GaiZhenbiao ChuanhuChatGPT | = 20240310 | No fix listed |
References
- huntr.com exploit third-party-advisory