NVD Vulnerability Detail
Search Exploit, PoC
CVE-2024-5982
Summary

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.

Publication Date Oct. 29, 2024, 10:15 p.m.
Registration Date Oct. 30, 2024, 5 a.m.
Last Update Nov. 15, 2024, 3:52 a.m.
CVSS3.1 : CRITICAL
スコア 9.8
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:gaizhenbiao:chuanhuchatgpt:*:*:*:*:*:*:*:* 20240918
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
gaizhenbiao の chuanhuchatgpt におけるパストラバーサルの脆弱性
Title gaizhenbiao の chuanhuchatgpt におけるパストラバーサルの脆弱性
Summary

gaizhenbiao の chuanhuchatgpt には、パストラバーサルの脆弱性が存在します。

Possible impacts 情報を取得される、情報を改ざんされる、およびサービス運用妨害 (DoS) 状態にされる可能性があります。
Solution

ベンダアドバイザリまたはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。

Publication Date Oct. 29, 2024, midnight
Registration Date Nov. 15, 2024, 11:39 a.m.
Last Update Nov. 15, 2024, 11:39 a.m.
Affected System
gaizhenbiao
chuanhuchatgpt 20240918 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
Change Log
No Changed Details Date of change
1 [2024年11月15日]
  掲載
Nov. 15, 2024, 11:39 a.m.