SiYuan has Arbitrary File Write via /api/file/copyFile leading to RCE
概要
SiYuan has Arbitrary File Write via /api/file/copyFile leading to RCE
原文の説明
取得元が公開している説明をそのまま載せています (多くは英語)。
SiYuan is a personal knowledge management system. Prior to version 3.5.5, the /api/file/copyFile endpoint does not validate the dest parameter, allowing authenticated users to write files to arbitrary locations on the filesystem. This can lead to Remote Code Execution (RCE) by writing to sensitive locations such as cron jobs, SSH authorized_keys, or shell configuration files. This issue has been patched in version 3.5.5.
出典: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
参照URL
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com