Skip to main content
← All vulnerabilities
CVE-2024-2217PYSEC-2024-316

Improper Access Control in gaizhenbiao/chuanhuchatgpt

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 20240310
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • gaizhenbiao gaizhenbiao/chuanhuchatgpt

    fixed in 20240310

  • chuanhuchatgptPyPI

    through 20240121

References 2

huntr.com

GitHub · gaizhenbiao/chuanhuchatgpt