{"id":"CVE-2024-2217","published":"2024-04-10T17:08:02Z","modified":"2024-08-22T18:08:10Z","title":"Improper Access Control in gaizhenbiao/chuanhuchatgpt","vendor":"gaizhenbiao","product":"gaizhenbiao/chuanhuchatgpt","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00785,"percentile":0.57004,"provenance":"source"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"}],"references":[{"url":"https://huntr.com/bounties/e4df74bf-b2ee-490f-a9c9-e5c8010b8b29","tags":[]},{"url":"https://github.com/gaizhenbiao/chuanhuchatgpt/commit/c5ae3b5ae6b47259e0ce8730e0a47e85121f4a7d","tags":[]}],"priority":{"score":16.7,"factors":[{"name":"EPSS percentile","points":11.4},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"gaizhenbiao","affectedVersions":[{"vendor":"gaizhenbiao","product":"gaizhenbiao/chuanhuchatgpt","versions":[">= unspecified, < 20240310"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2024-04-15T17:50:49.987416Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"chuanhuchatgpt","vulnerableRanges":["<=20240121"],"patched":[],"from":["PYSEC-2024-316"],"provenance":"source"}],"euvd":{"id":"EUVD-2024-27173","exploited":false,"provenance":"source"}}