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

The `add_llm` function in `llm_app.py` in infiniflow/ragflow version 0.11.0 contains a remote code execution (RCE) vulnerability. The function uses user-supplied input `req['llm_factory']` and `req['llm_name']` to dynamically instantiate classes from various model dictionaries. This approach allows an attacker to potentially execute arbitrary code due to the lack of comprehensive input validation or sanitization. An attacker could provide a malicious value for 'llm_factory' that, when used as an index to these model dictionaries, results in the execution of arbitrary code.

Publication Date Oct. 19, 2024, 1:15 p.m.
Registration Date Oct. 19, 2024, 4 p.m.
Last Update Nov. 2, 2024, 2:12 a.m.
CVSS3.1 : HIGH
スコア 8.8
Vector CVSS:3.1/AV:N/AC:L/PR:L/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:infiniflow:ragflow:0.11.0:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
infiniflow の ragflow におけるコマンドインジェクションの脆弱性
Title infiniflow の ragflow におけるコマンドインジェクションの脆弱性
Summary

infiniflow の ragflow には、コマンドインジェクションの脆弱性が存在します。

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

参考情報を参照して適切な対策を実施してください。

Publication Date Oct. 19, 2024, midnight
Registration Date Nov. 5, 2024, 1:53 p.m.
Last Update Nov. 5, 2024, 1:53 p.m.
Affected System
infiniflow
ragflow 0.11.0
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
Change Log
No Changed Details Date of change
1 [2024年11月05日]
  掲載
Nov. 5, 2024, 1:53 p.m.