CVE-2024-9216

Authentication Bypass in gaizhenbiao/ChuanhuChatGPT

State
Published
Severity
8.1 High
Published
Mar 20, 2025
Updated
Mar 20, 2025
Reserved
Sep 26, 2024

Read the record on cve.org

Description

An authentication bypass vulnerability exists in gaizhenbiao/ChuanhuChatGPT, as of commit 3856d4f, allowing any user to read and delete other users' chat history. The vulnerability arises because the username is provided via an HTTP request from the client side, rather than being read from a secure source like a cookie. This allows an attacker to pass another user's username to the get_model function, thereby gaining unauthorized access to that user's chat history.

Scores

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

Weaknesses

  • CWE-304 Missing Critical Step in Authentication

Affected Products

ProductVersions
gaizhenbiao/chuanhuchatgptgaizhenbiao
  • latest and earlierAffected

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.