Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2024-5982— Path Traversal in gaizhenbiao/chuanhuchatgpt

Quick assessment

Affected
gaizhenbiao gaizhenbiao/chuanhuchatgpt
Exploitation
High exploitation probability; assess promptly
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

ChuanhuChatGPT是Chuan Hu个人开发者的一款应用程序。为 ChatGPT 等多种 LLM 提供了一个轻快好用的 Web 图形界面和众多附加功能 ChuanhuChatGPT存在路径遍历漏洞,该漏洞源于存在路径遍历漏洞,允许任意文件上传,可能导致远程代码执行(RCE)。

AI Predicted 9.8 Difficulty: Easy EPSS 30.96% · P98
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-5982

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Path Traversal in gaizhenbiao/chuanhuchatgpt
Source: CVE Program / CVE List V5
Vulnerability Description
A path traversal vulnerability exists in the latest version of gaizhenbiao/chuanhuchatgpt. The vulnerability arises from unsanitized input handling in multiple features, including user upload, directory creation, and template loading. Specifically, the load_chat_history function in modules/models/base_model.py allows arbitrary file uploads, potentially leading to remote code execution (RCE). The get_history_names function in utils.py permits arbitrary directory creation. Additionally, the load_template function in utils.py can be exploited to leak the first column of CSV files. These issues stem from improper sanitization of user inputs concatenated with directory paths using os.path.join.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
ChuanhuChatGPT 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
ChuanhuChatGPT是Chuan Hu个人开发者的一款应用程序。为 ChatGPT 等多种 LLM 提供了一个轻快好用的 Web 图形界面和众多附加功能 ChuanhuChatGPT存在路径遍历漏洞,该漏洞源于存在路径遍历漏洞,允许任意文件上传,可能导致远程代码执行(RCE)。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
gaizhenbiao gaizhenbiao/chuanhuchatgpt unspecified ~ 20240918 -

II. Public POCs for CVE-2024-5982

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-5982

登录查看更多情报信息。

Vendor Advisories for CVE-2024-5982 (1)

Same Patch Batch · gaizhenbiao · 2024-10-29 · 5 CVEs total

CVE-2024-7962 Arbitrary File Read via Insufficient Validation in gaizhenbiao/chuanhuchatgpt
CVE-2024-7807 Denial of Service (DOS) in gaizhenbiao/chuanhuchatgpt
CVE-2024-5823 File Overwrite Vulnerability in gaizhenbiao/chuanhuchatgpt
CVE-2024-8143 Unauthorized Access to User Chat History in gaizhenbiao/chuanhuchatgpt

IV. Related Vulnerabilities

V. Comments for CVE-2024-5982

No comments yet


Leave a comment