augment-vir 是一个辅助函数集合。在版本 31.73.5 之前,@augment-vir/node 导出的 grep() 函数会将调用者可控的搜索模式直接插入到双引号包裹的 shell 命令字符串中,且未进行任何清理处理(grep.ts:310)。当构造出的命令通过 spawn() 函数并设置 shell: 'bash' 执行时(shell.ts:98-99),bash 会解析并执行模式中嵌入的 $() 命令替换表达式,从而导致以 Node.js 进程用户身份执行任意操作系统命令。任何将未经信任的输入传递
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 |
|---|---|---|---|---|
| electrovir | augment-vir | < 31.73.5 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POC