Arbitrary File Read via Insufficient Validation in gaizhenbiao/chuanhuchatgpt
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-22 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| gaizhenbiao | gaizhenbiao/chuanhuchatgpt | before 20240918 | 20240918 | Patch available | CNA |
- gaizhenbiao/chuanhuchatgpt Vendorgaizhenbiao Affected before 20240918 Fixed in 20240918 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:gaizhenbiao:chuanhuchatgpt:20240628:*:*:*:*:*:*:* | 20240628 | Vulnerable | gaizhenbiao |
- cpe:2.3:a:gaizhenbiao:chuanhuchatgpt:20240628:*:*:*:*:*:*:* Versions 20240628 Vulnerable ·gaizhenbiao
Remediation
- Fix · CNA gaizhenbiao/chuanhuchatgpt (gaizhenbiao) Fixed in 20240918
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
gaizhenbiao/chuanhuchatgpt 20240918
3 records Highest priority Priority HIGH 3 HIGH
Other records, highest priority first
- TI-2024-05543 Path Traversal in gaizhenbiao/chuanhuchatgptPriority HIGH 81
- TI-2024-07234 Denial of Service (DOS) in gaizhenbiao/chuanhuchatgptPriority HIGH 72
Timeline
- 2026-10-02 Threatist record created from CVE-2024-7962
- 2026-10-03 Alias added: GHSA-q97q-7j3c-mx9j
References
More gaizhenbiao Chuanhuchatgpt vulnerabilities
- TI-2024-03032 Path Traversal in gaizhenbiao/chuanhuchatgpt CVSS 3.1CRITICAL 9.8
- TI-2024-05543 Path Traversal in gaizhenbiao/chuanhuchatgpt CVSS 3.1CRITICAL 9.8
- TI-2024-05399 Server-Side Request Forgery (SSRF) in gaizhenbiao/ChuanhuChatGPT CVSS 3.1CRITICAL 9.8
- TI-2024-05802 Path Traversal in gaizhenbiao/chuanhuchatgpt CVSS 3.1CRITICAL 9.1
- TI-2024-05594 Arbitrary Folder Creation in gaizhenbiao/chuanhuchatgpt CVSS 3.1CRITICAL 9.1
- TI-2024-05593 Denial of Service in gaizhenbiao/chuanhuchatgpt CVSS 3.1CRITICAL 9.1
Sources
- CVE-2024-7962 · CVE Program
- CVE-2024-7962 · NVD
- FIRST EPSS
- GHSA-q97q-7j3c-mx9j · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences