{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-8143","assignerOrgId":"c09c270a-b464-47c1-9133-acb35b22c19a","state":"PUBLISHED","assignerShortName":"@huntr_ai","dateReserved":"2024-08-24T00:08:38.146Z","datePublished":"2024-10-29T12:49:09.525Z","dateUpdated":"2024-10-29T13:23:01.857Z"},"containers":{"cna":{"title":"Unauthorized Access to User Chat History in gaizhenbiao/chuanhuchatgpt","providerMetadata":{"orgId":"c09c270a-b464-47c1-9133-acb35b22c19a","shortName":"@huntr_ai","dateUpdated":"2024-10-29T12:49:09.525Z"},"descriptions":[{"lang":"en","value":"In the latest version (20240628) of gaizhenbiao/chuanhuchatgpt, an issue exists in the /file endpoint that allows authenticated users to access the chat history of other users. When a user logs in, a directory is created in the history folder with the user's name. By manipulating the /file endpoint, an authenticated user can enumerate and access files in other users' directories, leading to unauthorized access to private chat histories. This vulnerability can be exploited to read any user's private chat history."}],"affected":[{"vendor":"gaizhenbiao","product":"gaizhenbiao/chuanhuchatgpt","versions":[{"version":"unspecified","lessThan":"20240919","status":"affected","versionType":"custom"}]}],"references":[{"url":"https://huntr.com/bounties/71c5ea4b-524a-4173-8fd4-2fbabd69502e"},{"url":"https://github.com/gaizhenbiao/chuanhuchatgpt/commit/ccc7479ace5c9e1a1d9f4daf2e794ffd3865fc2b"}],"metrics":[{"cvssV3_0":{"version":"3.0","attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","baseScore":6.5,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"type":"CWE","lang":"en","description":"CWE-1057 Data Access Operations Outside of Expected Data Manager Component","cweId":"CWE-1057"}]}],"source":{"advisory":"71c5ea4b-524a-4173-8fd4-2fbabd69502e","discovery":"EXTERNAL"}},"adp":[{"affected":[{"vendor":"gaizhenbiao","product":"chuanhuchatgpt","cpes":["cpe:2.3:a:gaizhenbiao:chuanhuchatgpt:20240628:*:*:*:*:*:*:*"],"defaultStatus":"unknown","versions":[{"version":"20240628","status":"affected"}]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-10-29T13:17:13.125619Z","id":"CVE-2024-8143","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-10-29T13:23:01.857Z"}}]}}