CVE-2024-7962CWE-29

Arbitrary File Read via Insufficient Validation in gaizhenbiao/chuanhuchatgpt

High · published October 29, 2024

CVSS v3.0
7.5
EPSS
1%
Percentile
55.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.0
7.5 · HIGH
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00792 · 55.9th percentile
Weakness
CWE-29 · Path Traversal: '\..\filename'
Published
2024-10-29T12:47Z
EPSS history
Timeline
  • 29 OCT 12:47Z
    Arbitrary File Read via Insufficient Validation in gaizhenbiao/chuanhuchatgpt
    cvelistv5