SiYuanの設定ファイルが読めて管理者権限を奪われる脆弱性
Summary
SiYuan 3.8.8から3.8.10未満では、設定ファイルconf.jsonが他のユーザーにも読める権限で作られ、管理者の認証コードが平文で露出します。ローカルのユーザーがこのコードを使って管理者として認証され、APIトークンを変更されるおそれがあります。修正版の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.8から3.8.10未満では、設定ファイルconf.jsonが他のユーザーにも読める権限で作られ、管理者の認証コードが平文で露出します。ローカルのユーザーがこのコードを使って管理者として認証され、APIトークンを変更されるおそれがあります。修正版の3.8.10に更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| siyuan-notesiyuan |
≥ 3.8.8, < 3.8.10→ 3.8.10 |
3.8.10 |
Original description The description as published by the source.
SiYuan 3.8.8 before 3.8.10 contains an incorrect permission assignment vulnerability that creates workspace directories with mode 0755 and conf.json with mode 0644, exposing the cleartext AccessAuthCode administrator credential. Local users able to traverse the SiYuan user's home path can read it and authenticate as administrator via Basic authentication, for example calling /api/system/setAPIToken to change the API token.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- web github.com