PT-2025-12271 · Gaizhenbiao · Chuanhuchatgpt

Published

2025-03-20

·

Updated

2025-03-20

·

CVE-2024-9216

CVSS v3.1

8.1

High

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions gaizhenbiao/ChuanhuChatGPT versions as of commit 3856d4f
Description The issue arises from an authentication bypass, allowing any user to read and delete other users' chat history. This occurs because the username is provided via an HTTP request from the client side, rather than being read from a secure source like a cookie. An attacker can pass another user's username to the get model function, gaining unauthorized access to that user's chat history.
Recommendations As a temporary workaround, consider restricting access to the get model function until a patch is available. Avoid using the username variable in the affected HTTP request until the issue is resolved. Update to a version that fixes the authentication bypass issue, ensuring that user credentials are handled securely.

Exploit

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2024-9216
PYSEC-2025-97

Affected Products

Chuanhuchatgpt