CVE-2024-5982
概要

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.

公表日 2024年10月29日22:15
登録日 2024年10月30日5:00
最終更新日 2024年11月15日3:52
CVSS3.1 : CRITICAL
スコア 9.8
ベクター 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)
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
cpe:2.3:a:gaizhenbiao:chuanhuchatgpt:*:*:*:*:*:*:*:* 20240918
関連情報、対策とツール
共通脆弱性一覧

JVN脆弱性情報
gaizhenbiao の chuanhuchatgpt におけるパストラバーサルの脆弱性
タイトル gaizhenbiao の chuanhuchatgpt におけるパストラバーサルの脆弱性
概要

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

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

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

公表日 2024年10月29日0:00
登録日 2024年11月15日11:39
最終更新日 2024年11月15日11:39
影響を受けるシステム
gaizhenbiao
chuanhuchatgpt 20240918 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
変更履歴
No 変更内容 変更日
1 [2024年11月15日]
  掲載
2024年11月15日11:39