CVE-2024-8143 json
Unauthorized Access to User Chat History in gaizhenbiao/chuanhuchatgpt
published 2024-10-29 2 y ago modified 2026-06-17 4 mo ago also PYSEC-2024-113 , EUVD-2024-0023
- cvss
- 6.5
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 42%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- gaizhenbiao gaizhenbiao/chuanhuchatgpt 20240919
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.49% chance of exploitation in the next 30 days, higher than 42% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- huntr.com https://huntr.com/bounties/71c5ea4b-524a-4173-8fd4-2fbabd69502e referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 6.5 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| OSV | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | chuanhuchatgpt | all versions |
no fix listed |
Affected products
- gaizhenbiao gaizhenbiao/chuanhuchatgpt
- gaizhenbiao chuanhuchatgpt
Classification
- Weakness
-
- CWE-1057 Data Access Operations Outside of Expected Data Manager Component
References
-
github.com
/gaizhenbiao/chuanhuchatgpt/commit/ccc7479ace5c9e1a1d9f4daf2e794ffd3865fc2b
patch
-
huntr.com
/bounties/71c5ea4b-524a-4173-8fd4-2fbabd69502e
exploit, third-party-advisory, web
Sources
- CVE List CVE-2024-8143
- NVD CVE-2024-8143
- OSV PYSEC-2024-113
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.