What’s Vulnerable › Vulnerabilities
CVE-2024-2217: Improper Access Control in gaizhenbiao/chuanhuchatgpt
- Severity: high (CVSS 7.5 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-04-10 · updated 2026-06-17
- Weakness: CWE-284
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.
Affected products
- gaizhenbiao/chuanhuchatgpt: 20240121
References
- https://github.com/gaizhenbiao/chuanhuchatgpt/commit/c5ae3b5ae6b47259e0ce8730e0a47e85121f4a7d
- https://huntr.com/bounties/e4df74bf-b2ee-490f-a9c9-e5c8010b8b29
- https://github.com/gaizhenbiao/chuanhuchatgpt/commit/c5ae3b5ae6b47259e0ce8730e0a47e85121f4a7d
- https://huntr.com/bounties/e4df74bf-b2ee-490f-a9c9-e5c8010b8b29
Get alerted when CVE-2024-2217 or the next vulnerability affects your stack