Path Traversal in Gaizhenbiao Chuanhuchatgpt
CVE-2024-7962
An arbitrary file read vulnerability exists in gaizhenbiao/chuanhuchatgpt version 20240628 due to insufficient validation when loading prompt template files. An attacker can read any file that matches specific criteria using an absolute path. The file must not have a .json extension and, except for the first line, every other line must contain commas. This vulnerability allows reading parts of format-compliant files, including code and log files, which may contain highly sensitive information such as account credentials.
EPSS: 0.008 (52.3th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
Affected products
- Gaizhenbiao Chuanhuchatgpt — versions 20240628
- Gaizhenbiao Gaizhenbiao/chuanhuchatgpt — versions unspecified
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security@huntr.dev (Exploit, Third Party Advisory)
- security@huntr.dev (Patch)
Frequently asked questions
- What is CVE-2024-7962?
- CVE-2024-7962 is a high-severity vulnerability in Gaizhenbiao Chuanhuchatgpt, classified under CWE-29. CVSS score: 7.5/10. Published 2024-10-29.
- How severe is CVE-2024-7962?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2024-7962 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.