Vulnerability Information
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.
Vulnerability Title
Shell command injection in Logseq
Vulnerability Description
Logseq exposes an IPC handler that allows the renderer process to execute shell commands. While an allowlist restricts the command name (e.g. `git`, `pandoc`, `grep`), the argument string is concatenated with the command and passed to `child_process.spawn` with the `shell: true` option, allowing shell metacharacters in the arguments to bypass the allowlist. An attacker with JavaScript execution in the renderer (e.g. via XSS or a malicious plugin) can execute arbitrary shell commands with the privileges of the Logseq process, leading to remote code execution on the host.
While only version v0.10.15 was tested and confirmed as vulnerable, status of other versions is unknown since this issue was not addressed by a patch.
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Vulnerability Title
Logseq 操作系统命令注入漏洞
Vulnerability Description
Logseq是Logseq开源的一个知识管理和协作平台。 Logseq v0.10.15版本存在操作系统命令注入漏洞,该漏洞源于IPC处理程序允许渲染器进程执行shell命令,且参数拼接时未充分过滤shell元字符,可能导致攻击者通过JavaScript执行绕过白名单并执行任意shell命令,导致远程代码执行。
CVSS Information
N/A
Vulnerability Type
N/A