Skip to content

Some text is shown in its original language while the English translation is being prepared.

EventPast event

PraisonAI AICoder 组件任意文件写入与命令执行漏洞

1 reports1 reporting sourcesLatest report

Start here

AI overview

GitHub 安全公告披露,PraisonAI 的 AICoder UI 组件向 LLM 暴露 write_to_file 和 execute_command 两个工具。前者缺少路径校验,os.path.join 无法阻止绝对路径,可写入 /root/.ssh/authorized_keys、/etc/crontab 等任意位置;后者没有命令清洗、白名单或沙箱。攻击者可通过聊天界面的提示注入触发这两项工具,导致任意文件写入与命令执行。

Generated by AI from reports · Updated 3 days ago

Progress timeline

Oct 9
  1. GitHub 安全公告
    PraisonAI 的 AICoder 组件被披露任意文件写入与命令执行漏洞

    GitHub 安全公告披露 PraisonAI 的 AICoder UI 组件存在任意文件写入与命令执行漏洞。该组件向 LLM 暴露 write_to_file 和 execute_command 两个工具,前者缺少路径校验,os.path.join 无法阻止绝对路径,可写入 /root/.ssh/authorized_keys、/etc/crontab 等任意位置;后者没有命令清洗、白名单或沙箱。攻击者可通过聊天界面的提示注入触发这两个工具,Docker 容器以 root 运行且无 USER 指令,放大了影响。公告给出的 PoC 包括让模型写入 cron 文件以及直接执行远程脚本下载命令。

Related discussion

No discussion links have been collected for this event yet.

Attention trend

New sources per day

4 days total1 ·Maximum1(Oct 9)·Today0

  • Oct 9New1 sources (1 outlets,0 accounts)
  • Oct 10New0 sources (0 outlets,0 accounts)
  • Oct 11New0 sources (0 outlets,0 accounts)
  • Oct 12New0 sources (0 outlets,0 accounts)

Hourly attention

Current attention43·Peak in the comparable period48(Oct 9 07:00)·Change over the comparable past 24 hours 0%

0204060Oct9Oct10Oct11Oct12