We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-7962

Arbitrary File Read via Insufficient Validation in gaizhenbiao/chuanhuchatgpt



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.

Reserved 2024-08-19 | Published 2024-10-29 | Updated 2024-10-29 | Assigner @huntr_ai


HIGH: 7.5CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Problem types

CWE-29 Path Traversal: '\..\filename'

Product status

Any version before 20240918
affected

References

huntr.com/bounties/83f0a8e1-490c-49e7-b334-02125ee0f1b1

github.com/...ommit/2836fd1db3efcd5ede63c0e7fbbdf677730dbb51

cve.org (CVE-2024-7962)

nvd.nist.gov (CVE-2024-7962)

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2024-7962

Support options

Helpdesk Chat, Email, Knowledgebase
Telegram Chat
Subscribe to our newsletter to learn more about our work.