git-diff 版本在 2.0.7 之前存在一个操作系统命令注入漏洞,攻击者可以通过向 gitDiff API 提供精心构造的字符串来执行 shell 命令。如果攻击者能够控制被差异比较的文档字符串,他们可以在其中嵌入类似 或反引号的命令替换结构,这些结构会被 shelljs.exec 评估并执行,从而导致以 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.
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet