漏洞标题
run-llama/llama_index中的命令注入
漏洞描述信息
run-llama/llama_index存储库中存在一个命令注入漏洞,具体位于safe_eval函数中。攻击者可以绕过旨在检查由LLM生成的代码中是否存在下划线的安全机制,从而执行任意代码。这是通过构造既不包含下划线但仍会导致执行操作系统命令的输入来实现的。这个漏洞允许对承载应用程序的服务器进行远程代码执行(RCE)。
CVSS信息
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
漏洞类别
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
漏洞标题
Command Injection in run-llama/llama_index
漏洞描述信息
A command injection vulnerability exists in the run-llama/llama_index repository, specifically within the safe_eval function. Attackers can bypass the intended security mechanism, which checks for the presence of underscores in code generated by LLM, to execute arbitrary code. This is achieved by crafting input that does not contain an underscore but still results in the execution of OS commands. The vulnerability allows for remote code execution (RCE) on the server hosting the application.
CVSS信息
N/A
漏洞类别
在命令中使用的特殊元素转义处理不恰当(命令注入)
漏洞标题
LlamaIndex 命令注入漏洞
漏洞描述信息
LlamaIndex是Jerry Liu个人开发者的一个 LLM 应用程序的数据框架。 LlamaIndex存在命令注入漏洞,该漏洞源于攻击者可以绕过预期的安全机制,在托管应用程序的服务器上进行远程代码执行。
CVSS信息
N/A
漏洞类别
命令注入