漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
MindsDB Minds Platform v26.1.0 Unauthenticated RCE via scratchpad exec()
Vulnerability Description
MindsDB Minds Platform version 26.1.0 and earlier contains an unauthenticated remote code execution vulnerability that allows unauthenticated attackers to execute arbitrary OS commands by submitting crafted prompts to the unprotected POST /api/v1/responses/ endpoint, which reaches the Anton agent's scratchpad tool that calls exec() on attacker-influenced Python source without sandboxing. Attackers can first configure their own LLM API key through the unauthenticated PUT /api/v1/settings/ endpoint, then POST a prompt directing the agent to invoke the scratchpad tool with arbitrary Python code, achieving full OS command execution as the user running the desktop application and enabling access to SSH keys, stored credentials, and environment secrets.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Vulnerability Title
MindsDB 代码注入漏洞
Vulnerability Description
MindsDB是MindsDB公司开源的一个专为AI代理和大语言模型设计的联合查询引擎,可以回答pb级企业数据的问题。 MindsDB 26.1.0及之前版本存在代码注入漏洞,该漏洞源于向未受保护的/api/v1/responses/端点提交特制提示,该端点可调用Anton代理的scratchpad工具在无沙箱环境下执行exec()函数,可能导致任意OS命令执行,攻击者还可通过未认证的PUT /api/v1/settings/端点配置LLM API密钥,进而访问SSH密钥、存储凭据和环境机密。
CVSS Information
N/A
Vulnerability Type
N/A