CVE-2024-7962
HIGHgaizhenbiao/chuanhuchatgpt 20240628 - Arbitrary File Read via Insufficient Prompt Template Validation
Title source: llmDescription
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.
References (2)
Core 2
Core References
Exploit, Third Party Advisory
https://huntr.com/bounties/83f0a8e1-490c-49e7-b334-02125ee0f1b1
Scores
CVSS v3
7.5
EPSS
0.0078
EPSS Percentile
51.0%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-29
CWE-22
Status
published
Products (1)
gaizhenbiao/chuanhuchatgpt
20240628
Published
Oct 29, 2024
Tracked Since
Feb 18, 2026