Improper Access Control in gaizhenbiao/chuanhuchatgpt
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-3404
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 18:12 UTC · Revision 1
Source evidence
Improper Access Control in gaizhenbiao/chuanhuchatgpt
core-osv · Original sourcePublished 6 Jun 2024, 18:45 UTC
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.
osv:CVE-2024-3404
Complete source record
{
"id": "b268645c5bd91521472b1b6af24a464014811ed8b571c5be1fd1cc9be2dd4a24",
"url": "https://osv.dev/vulnerability/CVE-2024-3404",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Improper Access Control in gaizhenbiao/chuanhuchatgpt",
"summary": "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.",
"evidence": "osv:CVE-2024-3404",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2024-3404",
"aliases": [
"CVE-2024-3404"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/gaizhenbiao/chuanhuchatgpt",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "20b2e02824b6e6d1a32c43f7419f321d81db955e"
},
{
"fixed": "ccc7479ace5c9e1a1d9f4daf2e794ffd3865fc2b"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:gaizhenbiao:chuanhuchatgpt:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "20240919-4"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "ccc7479ace5c9e1a1d9f4daf2e794ffd3865fc2b"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"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"
}
}
],
"modified": "2026-10-28T02:30:44.694709648Z",
"provider": "osv",
"references": [
"https://huntr.com/bounties/ed32fc32-cb8f-4fbd-8209-cc835d279699",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/3xxx/CVE-2024-3404.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-3404",
"https://github.com/gaizhenbiao/chuanhuchatgpt/commit/ccc7479ace5c9e1a1d9f4daf2e794ffd3865fc2b"
],
"provider_metadata": {
"cwe_ids": [
"CWE-863"
],
"cna_assigner": "@huntr_ai",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/3xxx/CVE-2024-3404.json"
}
},
"related_cves": [
{
"value": "CVE-2024-3404",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 512637,
"published_at": "2024-06-06T18:45:12.5+00:00"
}