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.
Metrics
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| gaizhenbiao | gaizhenbiao/chuanhuchatgpt | >= unspecified, < 20240310 |
| gaizhenbiao | chuanhuchatgpt | < 20240310 |
References
- https://github.com/gaizhenbiao/chuanhuchatgpt/commit/c5ae3b5ae6b47259e0ce8730e0a47e85121f4a7dPatch
- https://huntr.com/bounties/e4df74bf-b2ee-490f-a9c9-e5c8010b8b29Exploit, Third Party Advisory
- https://github.com/gaizhenbiao/chuanhuchatgpt/commit/c5ae3b5ae6b47259e0ce8730e0a47e85121f4a7dPatch
- https://huntr.com/bounties/e4df74bf-b2ee-490f-a9c9-e5c8010b8b29Exploit, Third Party Advisory
Timeline
- Published
- Apr 10, 2024
- Last modified
- Jun 17, 2026
- NVD status
- Analyzed