CVE-2024-3234 Path Traversal in gaizhenbiao/chuanhuchatgpt
Attackers can exploit path traversal in an outdated Gradio component to access sensitive files like API keys in the chuanhuchatgpt application.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-3234?
CVE-2024-3234 is a critical path traversal vulnerability in gaizhenbiao/chuanhuchatgpt, published on 6 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The gaizhenbiao/chuanhuchatgpt application is vulnerable to a path traversal attack due to its use of an outdated gradio component. The application is designed to restrict user access to resources within the `web_assets` folder. However, the outdated version of gradio it employs is susceptible to path traversal, as identified in CVE-2023-51449. This vulnerability allows unauthorized users to bypass the intended restrictions and access sensitive files, such as `config.json`, which contains API keys. The issue affects the latest version of chuanhuchatgpt prior to the fixed version released on 20240305.
Weakness: CWE-22
Which versions are affected by CVE-2024-3234?
It affects 1 product.
Products include Gaizhenbiao Chuanhuchatgpt.
How do I fix CVE-2024-3234?
No fix has been published for CVE-2024-3234 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2024-3234 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-3234 exists.
Public exploit code: 1 Nuclei template.
Other vulnerabilities in gaizhenbiao/chuanhuchatgpt
- CVE-2024-5982 Path Traversal in gaizhenbiao/chuanhuchatgpt
- CVE-2024-6255 Path Traversal in gaizhenbiao/chuanhuchatgpt
- CVE-2024-8613 Improper Access Control in gaizhenbiao/chuanhuchatgpt
- CVE-2024-9216 Authentication Bypass in gaizhenbiao/ChuanhuChatGPT
- CVE-2024-10650 Denial of Service (DoS) in gaizhenbiao/chuanhuchatgpt
Sources
Also known as GHSA-8q7w-vr6v-q7r2.