{"id":"CVE-2024-3404","summary":"Improper Access Control in gaizhenbiao/chuanhuchatgpt","details":"In gaizhenbiao/chuanhuchatgpt, specifically the version tagged as 20240121, there exists a vulnerability due to improper access control mechanisms. This flaw allows an authenticated attacker to bypass intended access restrictions and read the `history` files of other users, potentially leading to unauthorized access to sensitive information. The vulnerability is present in the application's handling of access control for the `history` path, where no adequate mechanism is in place to prevent an authenticated user from accessing another user's chat history files. This issue poses a significant risk as it could allow attackers to obtain sensitive information from the chat history of other users.","modified":"2026-08-12T03:51:48.049874454Z","published":"2024-06-06T18:45:12.500Z","database_specific":{"cna_assigner":"@huntr_ai","cwe_ids":["CWE-863"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/3xxx/CVE-2024-3404.json"},"references":[{"type":"WEB","url":"https://huntr.com/bounties/ed32fc32-cb8f-4fbd-8209-cc835d279699"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/3xxx/CVE-2024-3404.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-3404"},{"type":"FIX","url":"https://github.com/gaizhenbiao/chuanhuchatgpt/commit/ccc7479ace5c9e1a1d9f4daf2e794ffd3865fc2b"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gaizhenbiao/chuanhuchatgpt","events":[{"introduced":"0"},{"fixed":"20b2e02824b6e6d1a32c43f7419f321d81db955e"},{"fixed":"ccc7479ace5c9e1a1d9f4daf2e794ffd3865fc2b"}],"database_specific":{"cpe":"cpe:2.3:a:gaizhenbiao:chuanhuchatgpt:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"20240919-4"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["20240919-3","20240919-2","20240919","20240918","20240914","20240802","20240628","20240410","20240310","20240305","20240121","20231223","20231215","20231110","20231020","20231006","20230926","20230916","20230911","20230830","20230820","20230809","20230728","20230719","20230709","20230628","20230619","20230614","20230601","20230526","20230513","20230507","20230502","20230427","20230422","20230417","20230413","20230409","20230330","20230327","20230323","20230320","20230317","20230305","20230303"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-3404.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}