Skip to content
OpenAdvisories
Medium · 6.5 CVE-2024-8143 EUVD-2024-0023GHSA-2h96-7jv3-737mPYSEC-2024-113

Unauthorized Access to User Chat History in gaizhenbiao/chuanhuchatgpt

Published Oct 29, 2024 · Updated Oct 29, 2024 · Assigned by @huntr_ai

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.

Affected products

VendorProductAffectedFixed
gaizhenbiao gaizhenbiao/chuanhuchatgpt unspecified – < 20240919 20240919

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI chuanhuchatgpt all versions — PYSEC-2024-113

References