SiYuanに脆弱性、管理者が任意の場所にファイルを書き込める
Summary
SiYuanの3.8.10より前のバージョンには、パス・トラバーサルの脆弱性があります。認証済みの管理者が、ワークスペースの外にあるシェルの初期化ファイルなどへ書き込め、次回のシェル起動やログイン時にそのユーザーとして実行される可能性があります。修正版の3.8.10が公開されているので、速やかにアップデートしてください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
SiYuanの3.8.10より前のバージョンには、パス・トラバーサルの脆弱性があります。認証済みの管理者が、ワークスペースの外にあるシェルの初期化ファイルなどへ書き込め、次回のシェル起動やログイン時にそのユーザーとして実行される可能性があります。修正版の3.8.10が公開されているので、速やかにアップデートしてください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| siyuan-notesiyuan |
< 3.8.10→ 3.8.10 |
3.8.10 |
Original description The description as published by the source.
SiYuan before 3.8.10 uses an incomplete deny-list in IsSensitivePath that omits shell-initialization files such as .zshenv and .bash_profile, as well as ~/.local. Authenticated administrators can call /api/file/copyFile with an absolute destination outside the workspace to write payloads there, which execute as the user on the next shell or login.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- web disclosure@vulncheck.com