Roo-Code 在版本 3.54.0 及之前版本中存在一个“自动批准绕过”漏洞。该漏洞允许攻击者通过利用审批门(approval gate)的 shell 解析器与 bash 在注释处理上的词边界(word-boundary)不一致,从而执行被拒绝的 shell 命令。攻击者可以构造一个命令字符串,将一个已加入允许列表(allowlist)的单词紧随其后紧跟一个哈希字符(#)、分隔符以及一个被拒绝的命令,从而通过审批门的检查,而 bash 则会以智能体(agent)的自动执行权限在开发者的机器上执行该被拒绝的命令
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| RooCodeInc | Roo-Code | ≤ 3.54.0 |
affected |
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| RooCodeInc | Roo-Code | 0 ~ 3.54.0 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet