CVE-2024-7962 Vulnerability Details

  /     /     /  

CVE-2024-7962 Metadata Quick Info

CVE Published: 29/10/2024 | CVE Updated: 29/10/2024 | CVE Year: 2024
Source: @huntr_ai | Vendor: gaizhenbiao | Product: gaizhenbiao/chuanhuchatgpt
Status : PUBLISHED

CVE-2024-7962 Description

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.

Metrics

CVSS Version: 3.1 | Base Score: n/a
Vector: n/a

l➤ Exploitability Metrics:
    Attack Vector (AV)*
    Attack Complexity (AC)*
    Privileges Required (PR)*
    User Interaction (UI)*
    Scope (S)*

l➤ Impact Metrics:
    Confidentiality Impact (C)*
    Integrity Impact (I)*
    Availability Impact (A)*

Weakness Enumeration (CWE)

CWE-ID: CWE-29
CWE Name: CWE-29 Path Traversal: ..filename
Source: gaizhenbiao

Common Attack Pattern Enumeration and Classification (CAPEC)

CAPEC-ID:
CAPEC Description:


Source: NVD (National Vulnerability Database).