Skip to content

CVE-2024-2217 Improper Access Control in gaizhenbiao/chuanhuchatgpt

HighCVSS 7.5 EPSS 0.78%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

Description

gaizhenbiao/chuanhuchatgpt is vulnerable to improper access control, allowing unauthorized access to the config.json file. This vulnerability is present in both authenticated and unauthenticated versions of the application, enabling attackers to obtain sensitive information such as API keys (openai_api_key, google_palm_api_key, xmchat_api_key, etc.), configuration details, and user credentials. The issue stems from the application's handling of HTTP requests for the config.json file, which does not properly restrict access based on user authentication.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
GaiZhenbiao ChuanhuChatGPT < 20240310; = 20240121 20240310 Fixed
gaizhenbiao/chuanhuchatgpt < 20240310 20240310 Fixed
pypi chuanhuchatgpt(PyPI) <= 20240121; = 3.2.5 after 20240121 Fixed

Affected products

ProductAffected versionsFixed in
pypi chuanhuchatgpt(PyPI) <= 20240121 No fix listed
pypi chuanhuchatgpt(PyPI) = 3.2.5 No fix listed
gaizhenbiao/chuanhuchatgpt < 20240310 20240310
GaiZhenbiao ChuanhuChatGPT < 20240310 20240310
GaiZhenbiao ChuanhuChatGPT = 20240121 No fix listed

References