通过 vanna-ai/vanna 中的提示注入进行远程代码执行 (CVE-2024-5826)

admin 2024-06-30 22:39:09 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
通过 vanna-ai/vanna 中的提示注入进行远程代码执行 (CVE-2024-5826)

CVE编号

CVE-2024-5826

利用情况

暂无

补丁情况

N/A

披露时间

2024-06-28
漏洞描述
In the latest version of vanna-ai/vanna, the `vanna.ask` function is vulnerable to remote code execution due to prompt injection. The root cause is the lack of a sandbox when executing LLM-generated code, allowing an attacker to manipulate the code executed by the `exec` function in `src/vanna/base/base.py`. This vulnerability can be exploited by an attacker to achieve remote code execution on the app backend server, potentially gaining full control of the server.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://huntr.com/bounties/90620087-44ac-4e43-b659-3c5d30889369
CVSS3评分 9.8
  • 攻击路径 网络
  • 攻击复杂度 低
  • 权限要求 无
  • 影响范围 未更改
  • 用户交互 无
  • 可用性 高
  • 保密性 高
  • 完整性 高
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE-ID 漏洞类型
CWE-94 对生成代码的控制不恰当(代码注入)
- avd.aliyun.com
weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论:0   参与:  0