CVE-2024-8143

Unauthorized Access to User Chat History in gaizhenbiao/chuanhuchatgpt

State
Published
Severity
6.5 Medium
Published
Oct 29, 2024
Updated
Oct 29, 2024
Reserved
Aug 24, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.06.5 MediumCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N@huntr_ai

Weaknesses

  • CWE-1057 Data Access Operations Outside of Expected Data Manager Component

Affected Products

ProductVersions
gaizhenbiao/chuanhuchatgptgaizhenbiao
  • before 20240919Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.