Skip to content

CVE-2024-9216 Authentication Bypass in gaizhenbiao/ChuanhuChatGPT

HighCVSS 8.1 EPSS 0.63%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
gaizhenbiao/chuanhuchatgpt <= latest after latest Fixed
pypi chuanhuchatgpt(PyPI) <= 2024-12-04 after 2024-12-04 Fixed
GaiZhenbiao ChuanhuChatGPT = 2024-12-04 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi chuanhuchatgpt(PyPI) <= 2024-12-04 No fix listed
gaizhenbiao/chuanhuchatgpt <= latest No fix listed
GaiZhenbiao ChuanhuChatGPT = 2024-12-04 No fix listed

References