{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-3404","id":"CVE-2024-3404","title":"Improper Access Control in gaizhenbiao/chuanhuchatgpt","description":"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 handli","descriptionLong":"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.","published":"2024-06-06T18:45:12.500Z","updated":"2026-10-28T02:30:44.694709648Z","reserved":"2024-04-05T18:12:08.080Z","status":"Modified","rejected":false,"assigner":"@huntr_ai","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"NVD"},{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"@huntr_ai"},{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"huntr.dev"},{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"OSV"}],"rating":"medium","products":["gaizhenbiao/chuanhuchatgpt"],"affectedProducts":[{"vendor":"gaizhenbiao","product":"gaizhenbiao/chuanhuchatgpt","defaultStatus":null,"versions":[{"version":"unspecified","lessThan":"20240919","status":"affected","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-863"],"aliases":[],"references":[{"url":"https://huntr.com/bounties/ed32fc32-cb8f-4fbd-8209-cc835d279699","tags":["x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","web"]},{"url":"https://github.com/gaizhenbiao/chuanhuchatgpt/commit/ccc7479ace5c9e1a1d9f4daf2e794ffd3865fc2b","tags":["fix"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/3xxx/CVE-2024-3404.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-3404","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00503,"epssPercentile":0.43739,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-3404","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-3404","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-3404","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-3404","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}