CVE-2024-8143 Unauthorized Access to User Chat History in gaizhenbiao/chuanhuchatgpt
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
Description
In the latest version (20240628) of gaizhenbiao/chuanhuchatgpt, an issue exists in the /file endpoint that allows authenticated users to access the chat history of other users. When a user logs in, a directory is created in the history folder with the user's name. By manipulating the /file endpoint, an authenticated user can enumerate and access files in other users' directories, leading to unauthorized access to private chat histories. This vulnerability can be exploited to read any user's private chat history.
Upgrade path
3 packages: 1 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi chuanhuchatgpt(PyPI) | = 3.2.5; All versions | No fix listed | No fix yet |
| gaizhenbiao/chuanhuchatgpt | < 20240919 | 20240919 | Fixed |
| GaiZhenbiao ChuanhuChatGPT | = 2024-06-28; = 20240628 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi chuanhuchatgpt(PyPI) | All versions | No fix listed |
| pypi chuanhuchatgpt(PyPI) | = 3.2.5 | No fix listed |
| gaizhenbiao/chuanhuchatgpt | < 20240919 | 20240919 |
| GaiZhenbiao ChuanhuChatGPT | = 20240628 | No fix listed |
| GaiZhenbiao ChuanhuChatGPT | = 2024-06-28 | No fix listed |
References
- huntr.com exploit third-party-advisory
- github.com patch