CVE-2024-6037 Arbitrary Folder Creation in gaizhenbiao/chuanhuchatgpt
Attackers can create arbitrary folders anywhere on the server, causing resource exhaustion, denial of service, and potential data loss.
- 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-6037?
CVE-2024-6037 is a high-severity path traversal vulnerability in gaizhenbiao/chuanhuchatgpt, published on 10 Jul 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A vulnerability in gaizhenbiao/chuanhuchatgpt version 20240410 allows an attacker to create arbitrary folders at any location on the server, including the root directory (C: dir). This can lead to uncontrolled resource consumption, resulting in resource exhaustion, denial of service (DoS), server unavailability, and potential data loss or corruption.
Weakness: CWE-770
Which versions are affected by CVE-2024-6037?
1 open source package ship an affected version, including chuanhuchatgpt. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
chuanhuchatgpt PyPI | All versions to 20240410 | None |
Products include Gaizhenbiao Chuanhuchatgpt.
How do I fix CVE-2024-6037?
No fix has been published for CVE-2024-6037 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-6037 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-6037 exists.
Other vulnerabilities in gaizhenbiao/chuanhuchatgpt
- CVE-2024-3234 Path Traversal 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
Sources
Also known as GHSA-w39g-g6pq-5jq6, PYSEC-2024-317.